-
Notifications
You must be signed in to change notification settings - Fork 631
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
Ethereum tests failures when upgrading from revm 9 to 10 #1803
Comments
could be a feature thing, blst, c-kzg |
Same issue with: revm = { version = "14.0", default-features = true, features = [
"serde",
"arbitrary",
"asm-keccak",
"dev",
"kzg-rs",
] } |
There is EIP (https://eips.ethereum.org/EIPS/eip-7610) that changed how an Account is considered empty, in essence, it requires storage to be empty. In Revm we don't have that check as it is close to impossible to trigger on mainnet as there are only few empty accounts with storage and you would need to get a hash collision to trigger it. Statetest are handmade with some storage, there is list in Revm here: revm/bins/revme/src/cmd/statetest/runner.rs Lines 115 to 125 in e477c7f
|
@rakita Even by ignoring the
Any idea? |
@rakita Our tests are broken by this commit: 9955d9f After that commit the
but after that commit the changes are:
Should we ignore everything marked as |
This is the solution. It is more performant if I don't remove the item from the hashmap, and it is helpful (a nice feature) to see all loaded accounts. For info, I am doing a lot of refactoring in the current main branch (PR #1865). I am not sure about your timeline, but first version of this change should be made in a next few weeks. This is part of making the Revm an Evm Framework. |
Great! Should we also ignore storage slots with |
When upgrading our project from revm 9 to 14, the following tests from the Ethereum suite fail with invalid state root:
This is the function that executes the transactions:
revm dependency is declared as:
Would you happen to have any clue? Is there anything we should look into? It seems that all failing tests are somehow related to a tx revert
The text was updated successfully, but these errors were encountered: