-
Notifications
You must be signed in to change notification settings - Fork 1
Scroll review #10
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
Comments
From my initial observation it looked like the gas calculation was different as seen below: upstream: if SPEC::enabled(BERLIN) {
gas!(interpreter, warm_cold_cost_with_delegation(load));
} else if SPEC::enabled(TANGERINE) {
gas!(interpreter, 700);
} else {
gas!(interpreter, 20);
} scroll:
This materialises into a difference of this additional conditional related to delegated account:
I'm not sure how this has been implemented in l2geth but my concern was that this would cause a divergence, so I just followed the implementation used in scroll's revm fork.
I took this data structure directly from scroll's
Good catch. Lets create an issue to evaluate error handling here. I had just lifted the code from scroll's
Yes, the
How are they disabled in l2geth?
I would say that this should be configured via the client as opposed to hardcoding a beneficiary in the
I had not looked into these handlers it's possible they may be needed. |
Feedback from scroll colleague:
overall it looks great, very clean. here's some initial feedback:
The text was updated successfully, but these errors were encountered: