Skip to content

Combined EIP-7623 and spec test Spike#8117

Closed
siladu wants to merge 11 commits intobesu-eth:mainfrom
siladu:eip-7623-update
Closed

Combined EIP-7623 and spec test Spike#8117
siladu wants to merge 11 commits intobesu-eth:mainfrom
siladu:eip-7623-update

Conversation

@siladu
Copy link
Copy Markdown
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 <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
…dCalculator

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

fix MainnetTransactionProcessorTest

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

add test for FrontierRefundCalculator

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

add test for FrontierRefundCalculator

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>

add PragueRefundCalculator dummy

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
…erenceTests

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
…ec-tests

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

comment

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

Allow zero chainId

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

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 <simon.dudley@consensys.net>
@siladu siladu mentioned this pull request Jan 14, 2025
8 tasks
@siladu
Copy link
Copy Markdown
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