Skip to content

Conversation

@anvacaru
Copy link
Contributor

@anvacaru anvacaru commented Dec 4, 2025

Refactoring the logic that handles the exceptions in conformance tests and moving it from driver.md to the kevm-pyk test harness.

changes in driver.md:

changes in kevm-pyk/src/tests/utils.py:

  • updating the _test function to fetch the expectException and hasBigInt fields from the JSON fixture
  • optimizing the _test function:
    • removing some redundant if-statements
    • computing the list of tests in a GST file ahead of the execution loop.
  • adding new functions to fetch the cell value.
  • updating the _assert_exit_code_zero function to check if the test should throw an exception when the interpreter returns a non-zero exit code.

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

Successfully merging this pull request may close these issues.

2 participants