-
Notifications
You must be signed in to change notification settings - Fork 74
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
new(tests): EOF - EIP-6206: JUMPF Tests #540
Conversation
Tests the assertsions in EIP-6206. Both container validation and runtime execution are validated. Signed-off-by: Danno Ferrin <[email protected]>
- move to parameterized calls - combine eof and state tests in one go - change file groupings Signed-off-by: Danno Ferrin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now it looks much better. just add a little more text comments describing what is happening. and ask @marioevz about state_test invoke paralel to eof test.
Add comments to stack calculation variables. Signed-off-by: Danno Ferrin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one open question is whether we want the kind of logic from execute_tests
to be embedded directly into the eof_test
logic. This would enable generating state or blockchain tests for all EOF tests automatically, but my main concern is that it would be a lot of them.
Signed-off-by: Danno Ferrin <[email protected]>
ids=lambda x: "to-%s" % ("N" if x == NON_RETURNING_SECTION else x), | ||
) | ||
@pytest.mark.parametrize( | ||
"current_outputs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking that changing the word "current" to "source" (so we would have source section and target section) might make it easier to understand. Wdyt @shemnon ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good. It also matches the EIP better.
Signed-off-by: Danno Ferrin <[email protected]>
Signed-off-by: Danno Ferrin <[email protected]>
🗒️ Description
Tests the assertsions in EIP-6206. Both container validation and
runtime execution are validated.
🔗 Related Issues
✅ Checklist
mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.