starknet_patricia: extract finalize_binary_child helper from node_from_binary_data#14613
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR SummaryLow Risk Overview The helper uses a single Reviewed by Cursor Bugbot for commit 2e27bf5. Bugbot is set up for automated code reviews on this repo. 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:complete! all files reviewed, all discussions resolved (waiting on yoavGrs).
…m_binary_data Replace the two-iteration for loop with two calls to a new finalize_binary_child helper, and collapse the let-else + re-match into a single direct match on the child. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0022d3b to
0427a83
Compare
346ba06 to
2e27bf5
Compare

Replace the two-iteration for loop with two calls to a new finalize_binary_child
helper, and collapse the let-else + re-match into a single direct match on the child.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com