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

EIP-7610: Revert creation in case of non-empty storage #2686

Merged
merged 6 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md
Original file line number Diff line number Diff line change
Expand Up @@ -809,16 +809,17 @@ These are just used by the other operators for shuffling local execution state a
<acctID> ACCT </acctID>
<code> CODE </code>
<nonce> NONCE </nonce>
<storage> STORAGE </storage>
...
</account>
requires CODE =/=K .Bytes orBool NONCE =/=Int 0
requires CODE =/=K .Bytes orBool NONCE =/=Int 0 orBool STORAGE =/=K .Map

rule <k> #newExistingAccount ACCT => .K ... </k>
Robertorosmaninho marked this conversation as resolved.
Show resolved Hide resolved
<account>
<acctID> ACCT </acctID>
<code> CODE </code>
<nonce> 0 </nonce>
<storage> _ => .Map </storage>
<storage> .Map </storage>
<origStorage> _ => .Map </origStorage>
...
</account>
Expand Down
5 changes: 0 additions & 5 deletions tests/failing.llvm
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,11 @@ BlockchainTests/GeneralStateTests/Pyspecs/shanghai/eip4895_withdrawals/zero_amou
BlockchainTests/GeneralStateTests/stBadOpcode/opc49DiffPlaces.json,*
BlockchainTests/GeneralStateTests/stBadOpcode/opc4ADiffPlaces.json,*
BlockchainTests/GeneralStateTests/stBadOpcode/undefinedOpcodeFirstByte.json,*
BlockchainTests/GeneralStateTests/stCreate2/create2collisionStorageParis.json,*
BlockchainTests/GeneralStateTests/stCreate2/RevertInCreateInInitCreate2Paris.json,*
BlockchainTests/GeneralStateTests/stEIP1559/lowFeeCap.json,*
BlockchainTests/GeneralStateTests/stEIP1559/lowGasLimit.json,lowGasLimit_d0g0v0_Cancun
BlockchainTests/GeneralStateTests/stEIP1559/lowGasPriceOldTypes.json,*
BlockchainTests/GeneralStateTests/stEIP1559/tipTooHigh.json,*
BlockchainTests/GeneralStateTests/stEIP1559/transactionIntinsicBug_Paris.json,*
BlockchainTests/GeneralStateTests/stExtCodeHash/dynamicAccountOverwriteEmpty_Paris.json,*
BlockchainTests/GeneralStateTests/stPreCompiledContracts/idPrecomps.json,idPrecomps_d9g0v0_Cancun
BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.json,precompsEIP2929Cancun_d117g0v0_Cancun
BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.json,precompsEIP2929Cancun_d12g0v0_Cancun
Expand All @@ -177,6 +174,4 @@ BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.j
BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.json,precompsEIP2929Cancun_d63g0v0_Cancun
BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.json,precompsEIP2929Cancun_d81g0v0_Cancun
BlockchainTests/GeneralStateTests/stPreCompiledContracts/precompsEIP2929Cancun.json,precompsEIP2929Cancun_d99g0v0_Cancun
BlockchainTests/GeneralStateTests/stRevertTest/RevertInCreateInInit_Paris.json,*
BlockchainTests/GeneralStateTests/stSpecialTest/failed_tx_xcf416c53_Paris.json,*
BlockchainTests/GeneralStateTests/stSStoreTest/InitCollisionParis.json,*
Loading