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

vm: add dumpState cheatcode #499

Merged
merged 3 commits into from
Jan 17, 2024
Merged

vm: add dumpState cheatcode #499

merged 3 commits into from
Jan 17, 2024

Conversation

tynes
Copy link
Contributor

@tynes tynes commented Jan 17, 2024

Adds a new cheatcode dumpState(string) that was implemented in foundry in foundry-rs/foundry#6827. This cheatcode will write a JSON file to disk that contains the current state of the EVM.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

tynes and others added 2 commits January 17, 2024 08:42
Adds a new cheatcode `dumpState(string)` that was implemented
in foundry in foundry-rs/foundry#6827.
This cheatcode will write a JSON file to disk that contains the
current state of the EVM.
@tynes
Copy link
Contributor Author

tynes commented Jan 17, 2024

Need to update my python for scripts/vm.py to work, downloading it in the background right now

Copy link
Collaborator

@mds1 mds1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mds1 mds1 merged commit 1fd874f into foundry-rs:master Jan 17, 2024
3 checks passed
tynes added a commit to ethereum-optimism/optimism that referenced this pull request Jan 17, 2024
…dc809

Bumps `forge-std` to the latest commit that includes the `vm.dumpState`
cheatcode.

- foundry-rs/forge-std#499
- foundry-rs/foundry#6827
github-merge-queue bot pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 17, 2024
…dc809 (#9043)

* contracts-bedrock: bump forge-std 1fd874f0efdb711cb6807c4f4a000ed2805dc809

Bumps `forge-std` to the latest commit that includes the `vm.dumpState`
cheatcode.

- foundry-rs/forge-std#499
- foundry-rs/foundry#6827

* contracts-bedrock: fix build
github-merge-queue bot pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 17, 2024
…dc809 (#9043)

* contracts-bedrock: bump forge-std 1fd874f0efdb711cb6807c4f4a000ed2805dc809

Bumps `forge-std` to the latest commit that includes the `vm.dumpState`
cheatcode.

- foundry-rs/forge-std#499
- foundry-rs/foundry#6827

* contracts-bedrock: fix build
github-merge-queue bot pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 17, 2024
…dc809 (#9043)

* contracts-bedrock: bump forge-std 1fd874f0efdb711cb6807c4f4a000ed2805dc809

Bumps `forge-std` to the latest commit that includes the `vm.dumpState`
cheatcode.

- foundry-rs/forge-std#499
- foundry-rs/foundry#6827

* contracts-bedrock: fix build
dshiell pushed a commit to polymerdao/optimism-dev that referenced this pull request Jan 22, 2024
…dc809 (ethereum-optimism#9043)

* contracts-bedrock: bump forge-std 1fd874f0efdb711cb6807c4f4a000ed2805dc809

Bumps `forge-std` to the latest commit that includes the `vm.dumpState`
cheatcode.

- foundry-rs/forge-std#499
- foundry-rs/foundry#6827

* contracts-bedrock: fix build
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.

3 participants