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 6780 Tests #122

Merged
merged 38 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cb98281
wip: test-case for eip-6780
jwasinger Apr 29, 2023
bed7f4e
more
jwasinger Apr 29, 2023
2403501
wip
jwasinger May 1, 2023
52895f2
add second test
jwasinger May 1, 2023
40fa1c2
move 6780 to cancun
jwasinger May 1, 2023
10c5c4f
try thing
jwasinger May 2, 2023
bb4b85b
move eip6780 tests into separate folder
jwasinger May 3, 2023
b6ce536
fix test fork to cancun. correct name on test
jwasinger May 9, 2023
57c85a2
chore: move 6780 tests to a home in the new dir structure
danceratopz Jul 6, 2023
08eb712
refactor: port 6780 tests to pytest format and lint/typecheck
danceratopz Jul 6, 2023
b0726c4
refactor: rewrite code using Opcodes library
danceratopz Jul 6, 2023
20098d0
tests/6780: eip enabled/disabled versions
marioevz Jul 6, 2023
c589170
tests/6780: major refactor
marioevz Jul 7, 2023
d473288
tests/6780: cleaner eip enabled flag
marioevz Jul 7, 2023
bd5e10e
tests/6780: add storage check after sendall
marioevz Jul 7, 2023
5f104af
nit: remove comment
marioevz Jul 7, 2023
4add31d
tests/6780: more checks
marioevz Jul 7, 2023
9bd4d6f
tests/6780: extcode checks after selfdestruct
marioevz Jul 7, 2023
bc5ce61
tests/6780: more refactoring and more tests
marioevz Jul 8, 2023
39c1042
tests/6780: better usage of storage
marioevz Jul 9, 2023
ba286c5
tests/6780: check sendall recipient execution
marioevz Jul 10, 2023
564bbd0
tests/6780: add self-destructing create tx initcode
marioevz Jul 10, 2023
2b23bff
tests/6780: add delegate call tests
marioevz Jul 10, 2023
deb6a96
tests/6780: refactor recreate test
marioevz Jul 10, 2023
526914f
tests/6780: nit
marioevz Jul 10, 2023
4464258
tests/6780: add post-selfdestruct code check
marioevz Jul 11, 2023
ba84d67
tests/6780: selfdestruct code can sendall to calldata address
marioevz Jul 11, 2023
aab61eb
tests/6780: sendall to multiple addresses in same tx
marioevz Jul 11, 2023
f116b9d
tests/6780: Add sendall to self tests
marioevz Jul 11, 2023
3fc1cc1
tests/6780: All tests accept sendall address list
marioevz Jul 11, 2023
25a5073
tests/6780: Add sendall-to-self to more tests
marioevz Jul 12, 2023
59e4ed7
fix: tox
marioevz Jul 12, 2023
b02c439
tests/6780: improve readability using pytest.param
marioevz Jul 18, 2023
5f8ce1b
tests/6780: two more test cases to same tx test
marioevz Jul 19, 2023
04c60c3
tests/6780: use yul to conditionally destroy the contract
marioevz Jul 19, 2023
ec0a40c
tests/6780: Fix test cases + always enable in Cancun
marioevz Jul 25, 2023
d3c9b84
tests/6780: Remove TODO, added issue #227
marioevz Jul 25, 2023
4791d8d
tests/6780: Removed TODO comments now clarified
marioevz Jul 25, 2023
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
1 change: 1 addition & 0 deletions .wordlist_opcodes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ calldatacopy
codesize
codecopy
gasprice
extcode
extcodesize
extcodecopy
returndatasize
Expand Down
3 changes: 3 additions & 0 deletions tests/cancun/eip6780_selfdestruct/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Tests for EIP-6780: SELFDESTRUCT only in same transaction.
"""
Loading