starknet_patricia: collapse leaf handling to a single match#14583
Conversation
PR SummaryLow Risk Overview
For Reviewed by Cursor Bugbot for commit 3efa5f7. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 997083a. Configure here.
nimrod-starkware
left a comment
There was a problem hiding this comment.
@nimrod-starkware reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on yoavGrs).
yoavGrs
left a comment
There was a problem hiding this comment.
@yoavGrs made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on nimrod-starkware).
nimrod-starkware
left a comment
There was a problem hiding this comment.
@nimrod-starkware made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on yoavGrs).
nimrod-starkware
left a comment
There was a problem hiding this comment.
@nimrod-starkware resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on yoavGrs).
nimrod-starkware
left a comment
There was a problem hiding this comment.
@nimrod-starkware made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on yoavGrs).
Match on LeafSource exactly once in compute_filled_tree_rec: the ExistingLeaves read is inlined and the helper (renamed compute_leaf) now only handles the ComputeLeaves case, returning the leaf and its output directly instead of an Option. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
997083a to
3efa5f7
Compare


Match on LeafSource exactly once in compute_filled_tree_rec: the ExistingLeaves read is
inlined and the helper (renamed compute_leaf) now only handles the ComputeLeaves case,
returning the leaf and its output directly instead of an Option.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com