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

MTCannon: Fix AssertEVMReverts to correctly construct data #12200

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Commits on Oct 4, 2024

  1. 1. Added WithRegisters for initializing state's Registers.

    2. Added `ThreadProofEncoder` helper function to generate `ThreadProof`.
    3. Updated `AssertEVMReverts` to include `statePCs` for multiple memory requirements, added `ProofData` parameter for passing `ThreadProof`, and introduced `expectedReason` parameter for more precise testing.
    4. Revised `TestEVMFault` and `TestEVM_UnsupportedSyscall` test functions to be compatible with `AssertEVMReverts`.
    joohhnnn committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3db5f96 View commit details
    Browse the repository at this point in the history
  2. lint fix and comment fix

    joohhnnn committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7343318 View commit details
    Browse the repository at this point in the history