-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: refactor append_tx_effects_for_blob
#11805
Conversation
Changes to circuit sizes
🧾 Summary (100% most significant diffs)
Full diff report 👇
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this harms readability more than it helps tbh. I would prefer to just remove get_all_update_requests_for_tx_effects
and avoid the other changes the but I'm gonna defer to circuits team on this as it's not my codebase.
Ah ok, I probably misunderstood the linked issue. I assumed 'repeated code' was also referring to the main fn and helper having essentially the same logic, but with either a check or assign. I can remove this, no worries! Will also get a review from the team |
This comment was marked as outdated.
This comment was marked as outdated.
Just FYI have reverted the other changes, lmk on the issue if anything else should be done to this function! |
Refactors the
append_tx_effects_for_blob
function for #11058:get_effects
functions into one to avoid doubling codeShould probably be merged after #11686, since that would be easier to merge into this PR rather than vice versa.