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

Simple REVM test runner #788

Merged
merged 9 commits into from
Feb 22, 2022
Merged

Simple REVM test runner #788

merged 9 commits into from
Feb 22, 2022

Commits on Feb 22, 2022

  1. refactor: nuke evm-adapters

    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    ee47195 View commit details
    Browse the repository at this point in the history
  2. refactor: simple revm test runner

    Current features:
    
    - Can run unit tests
    - Works with both revert-type tests and DSTest-type tests
    - Collects logs, albeit not for reverting tests
    - Integrated with config and CLI flags
    
    Disabled features:
    
    - Gas reports
    - Tracing
    - Cheatcodes
    - Fuzzing
    - Log decoding
    - Forking mode
    - Hardhat-style `console.log`, since those require
      us to decode calls to a specific address (HH does
      not emit logs)
    - The debugger
    
    In addition to this, I've disabled some tests that
    could never pass under the current circumstances,
    but that should be adjusted and re-enabled when their
    respective features are implemented (such as fuzz tests)
    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    dcc93d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    981af9e View commit details
    Browse the repository at this point in the history
  4. feat: log collector inspector

    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    cd39db8 View commit details
    Browse the repository at this point in the history
  5. feat: hardhat logs

    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    1313e2f View commit details
    Browse the repository at this point in the history
  6. chore: lint

    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    1bbac1b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    94c202b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ec7258d View commit details
    Browse the repository at this point in the history
  9. build: use upstream revm

    onbjerg committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    e9eff2d View commit details
    Browse the repository at this point in the history