-
Notifications
You must be signed in to change notification settings - Fork 117
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
EIP-7748 tests #1312
base: verkle/main
Are you sure you want to change the base?
EIP-7748 tests #1312
Conversation
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Address(0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE): { | ||
"nonce": 1, | ||
"code": ( | ||
"0x60203611603157600143035f35116029575f35612000014311602957612000" | ||
"5f3506545f5260205ff35b5f5f5260205ff35b5f5ffd00" | ||
), | ||
} | ||
# Address(0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE): { | ||
# "nonce": 1, | ||
# "code": ( | ||
# "0x60203611603157600143035f35116029575f35612000014311602957612000" | ||
# "5f3506545f5260205ff35b5f5f5260205ff35b5f5ffd00" | ||
# ), | ||
# } |
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.
@spencer-tb, this is a quick hack to disable the automatic inclusion of the EIP-2935 system contract. Ideally, I want this feature to avoid having this extra address in the genesis state since we want full predictability on which accounts exist for the tree conversion tests.
I think once we talked about an extra flag to do this more cleanly.
@@ -57,7 +57,7 @@ def test_balance(blockchain_test: BlockchainTestFiller, fork: Fork, target, warm | |||
], |
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.
From this point forward, the changes are mostly the new tests so nothing framework related.
tests/verkle/eip7748/accounts.py
Outdated
REFERENCE_SPEC_GIT_PATH = "EIPS/eip-7748.md" | ||
REFERENCE_SPEC_VERSION = "TODO" | ||
|
||
stride = 7 |
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.
Until the testing framework supports the stride
as a filling option, I'm hardcoding it. This value allows me to create most of the test cases I want anyway.
See corresponding comment in go-ethereum
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
…artial conversion Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
This PR is a work in progress for EIP-7748 (Tree conversion) tests.
uv run fill --from Shanghai --until EIP6800Transition -v -m blockchain_test -n 8 --evm-bin=<evm path> --evm-dump-dir=out ./tests/verkle/eip7748
Use this branch for filling.