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

feat: vm.dumpState #6827

Merged
merged 4 commits into from
Jan 17, 2024
Merged

feat: vm.dumpState #6827

merged 4 commits into from
Jan 17, 2024

Commits on Jan 17, 2024

  1. feat: vm.dumpState

    Implements a cheatcode `vm.dumpState(string)` that dumps the current
    revm state to disk in the same format as the "allocs" field in a geth
    style `genesis.json`. This can dump state that can be read in by
    `vm.loadAllocs(string)`.
    
    The implementation of the cheatcode skips dumping system contracts.
    It includes various test coverage.
    tynes committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    29f5380 View commit details
    Browse the repository at this point in the history
  2. solidity: forge fmt

    tynes committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    dedf11f View commit details
    Browse the repository at this point in the history
  3. spec: update

    Run `cargo test` from within the specs crate
    tynes committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    eb21361 View commit details
    Browse the repository at this point in the history
  4. dumpstate: cleanup

    Better implementation based on review
    tynes committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    70ccfd4 View commit details
    Browse the repository at this point in the history