Skip to content
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

Combined EIP-7623 and spec test Spike #8117

Closed
wants to merge 11 commits into from

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Jan 14, 2025

PR Contents

Spike of 7623 fixes + pectra-devnet-5 execution spec test fixes

Based on #8093 (EIP-7623 impl)
Squashed and cherry-picked the following in-flight PRs:
#8106 (Refund Calculator)
#8116 (Spec test authorizationList parsing fix)
#8099 (Spec test world state logging)

Switched in the the devnet5 reference tests 1f04c58 (so can be run with ./gradlew ethereum:referenceTests:referenceTests - it is expected some are still failing)

Remaining 7623 fixes updates are all in this commit: 9bbd356 (#8117)


Testing

Net result is only 282 execution-spec-test state_tests are failing including some for 7623, however they are probably 7702 related. I am confident enough with the EIP-7623 implementation that we can get it on main, and tweak from there if necessary.


Next Steps

So order of events to get 7623 in I believe is:

  1. Merge Move gas refund calculation from MainnetTransactionProcessor to GasCalculator #8106 (Refund Calculator)
  2. Pull main into EIP-7623 #8093 (EIP-7623 impl)
  3. git cherry-pick 9bbd356a03d31efb29470fc9c992458cad9361ee
  4. Add unit tests for PragueRefundCalculator and any other missing tests
  5. Merge EIP-7623 #8093 to main :)

daniellehrner and others added 7 commits January 9, 2025 23:09
Signed-off-by: Daniel Lehrner <[email protected]>
Signed-off-by: Daniel Lehrner <[email protected]>
Signed-off-by: Daniel Lehrner <[email protected]>
…dCalculator

Signed-off-by: Daniel Lehrner <[email protected]>

fix MainnetTransactionProcessorTest

Signed-off-by: Daniel Lehrner <[email protected]>

add test for FrontierRefundCalculator

Signed-off-by: Daniel Lehrner <[email protected]>

add test for FrontierRefundCalculator

Signed-off-by: Daniel Lehrner <[email protected]>

add PragueRefundCalculator dummy

Signed-off-by: Daniel Lehrner <[email protected]>
…ec-tests

Signed-off-by: Simon Dudley <[email protected]>

comment

Signed-off-by: Simon Dudley <[email protected]>

Allow zero chainId

Signed-off-by: Simon Dudley <[email protected]>
Signed-off-by: Simon Dudley <[email protected]>

Use BonsaiReferenceTestWorldState correctly

Collect trielog rolling exceptions and display upon state root mismatch
Tidy up assertions and world state logging

Signed-off-by: Simon Dudley <[email protected]>
@siladu siladu mentioned this pull request Jan 14, 2025
8 tasks
@siladu
Copy link
Contributor Author

siladu commented Jan 15, 2025

In-flight PRs got merged to main and am in the process of adding this code to #8093 so don't need this PR anymore

@siladu siladu closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants