Skip to content

Commit

Permalink
fix(tests): refactor stack tests in code_validation.py
Browse files Browse the repository at this point in the history
fix(tests): refactor non-terminating opcode tests in code_validation.py

fix(tests): refactor terminating opcode tests in code_validation.py

Update tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_all_opcodes_in_container.py

Co-authored-by: Paweł Bylica <chfast@gmail.com>

Update tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_all_opcodes_in_container.py

Co-authored-by: Paweł Bylica <chfast@gmail.com>

Update tests/prague/eip7692_eof_v1/eip3540_eof_v1/test_all_opcodes_in_container.py

Co-authored-by: Paweł Bylica <chfast@gmail.com>

ORIGIN -> PUSH0

fix: review comments

fix(tests): EIP-3540: Unnecessary fixtures

fix(tests): remove `Op.RETF` from `halting_opcodes`

fix(tests): remove test duplicate

fix(tests): correctly use sets, fix min_stack_height usages

Co-authored-by: Dimitry Kh <dimitry@ethereum.org>

fix(tests): remove unnecessary generalization
  • Loading branch information
marioevz committed Jul 9, 2024
1 parent 4377623 commit a301708
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 390 deletions.
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Test fixtures for use by clients are available for each release on the [Github r
- ✨ Add tests for [EIP-4200: EOF - Static relative jumps](https://eips.ethereum.org/EIPS/eip-4200) ([#581](https://github.com/ethereum/execution-spec-tests/pull/581), [#666](https://github.com/ethereum/execution-spec-tests/pull/666)).
- ✨ Add tests for [EIP-7069: EOF - Revamped CALL instructions](https://eips.ethereum.org/EIPS/eip-7069) ([#595](https://github.com/ethereum/execution-spec-tests/pull/595)).
- 🐞 Fix typos in self-destruct collision test from erroneous pytest parametrization ([#608](https://github.com/ethereum/execution-spec-tests/pull/608)).
- ✨ Add tests for [EIP-3540: EOF - EVM Object Format v1](https://eips.ethereum.org/EIPS/eip-3540) ([#634](https://github.com/ethereum/execution-spec-tests/pull/634)).
- ✨ Add tests for [EIP-3540: EOF - EVM Object Format v1](https://eips.ethereum.org/EIPS/eip-3540) ([#634](https://github.com/ethereum/execution-spec-tests/pull/634), [#668](https://github.com/ethereum/execution-spec-tests/pull/668)).
- 🔀 Update EIP-7002 tests to match spec changes in [ethereum/execution-apis#549](https://github.com/ethereum/execution-apis/pull/549) ([#600](https://github.com/ethereum/execution-spec-tests/pull/600))
- ✨ Convert a few eip1153 tests from ethereum/tests repo into .py ([#440](https://github.com/ethereum/execution-spec-tests/pull/440)).
- ✨ Add tests for [EIP-7480: EOF - Data section access instructions](https://eips.ethereum.org/EIPS/eip-7480) ([#518](https://github.com/ethereum/execution-spec-tests/pull/518), [#664](https://github.com/ethereum/execution-spec-tests/pull/664)).
Expand Down
333 changes: 0 additions & 333 deletions tests/prague/eip7692_eof_v1/eip3540_eof_v1/code_validation.py

This file was deleted.

Loading

0 comments on commit a301708

Please sign in to comment.