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

EOF Tracker #500

Open
1 of 9 tasks
marioevz opened this issue Apr 11, 2024 · 2 comments
Open
1 of 9 tasks

EOF Tracker #500

marioevz opened this issue Apr 11, 2024 · 2 comments
Assignees

Comments

@marioevz
Copy link
Member

Tasks

@marioevz
Copy link
Member Author

Basic example of the test filler:

This is not how all tests should be rewritten as this example barely takes any advantage of parameterization, but it's simply an example of usage of the EOFTest spec class.

@gumb0
Copy link
Member

gumb0 commented Apr 16, 2024

To summarize the current status of our existing tests:

  1. https://github.com/ethereum/tests/tree/develop/src/EIPTestsFiller/StateTests/stEOF/stEIP3540
    https://github.com/ethereum/tests/tree/develop/src/EIPTestsFiller/StateTests/stEOF/stEIP4200
    https://github.com/ethereum/tests/tree/develop/src/EIPTestsFiller/StateTests/stEOF/stEIP4750
    https://github.com/ethereum/tests/tree/develop/src/EIPTestsFiller/StateTests/stEOF/stEIP5450
  • These tests were written a while ago for Shanghai version of the spec, after that they were mostly only updated to keep them compatible with the later changes. We removed all tests testing EOF validation aspect and made validation tests from them (see below). I wouldn't expect these tests to cover all complexities of current version of EIPs-3540, 4200, 4750, 5450 (but they do pass with current spec)
  1. EOF validation tests https://github.com/ethereum/tests/tree/develop/src/EOFTestsFiller
  • These are partially hand-written (EIP* folders, also efExample and ori), and partially generated from evmone unit tests, which @winsvega merged recently as Copier tests (rest of ef* folders). I expect these tests to cover almost all aspects of validation reasonably well.
  1. EOF state tests generated by evmone tests#1324
  • State tests generated from evmone tests, these mostly test various aspects of contract creation (EOFCREATE, TXCREATE, InitcodeTransactions), new EXTCALL* instructions and some related execution aspects.

See also the list at https://github.com/ipsilon/eof/blob/main/spec/implementation_matrix.md#column-descriptions we try to keep it up to date.

@winsvega winsvega mentioned this issue Apr 17, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants