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: add snapshot cheatcodes #215

Merged
merged 4 commits into from
Dec 29, 2023
Merged

feat: add snapshot cheatcodes #215

merged 4 commits into from
Dec 29, 2023

Conversation

aon
Copy link

@aon aon commented Dec 28, 2023

What πŸ’»

  • Adds vm.snapshot and vm.revertTo cheatcodes

Why βœ‹

  • To further support foundry cheatcodes on zksync.

Evidence πŸ“·

image

@aon aon requested a review from nbaztec December 28, 2023 13:34
@aon aon self-assigned this Dec 28, 2023
crates/era-cheatcodes/tests/src/cheatcodes/Snapshot.t.sol Outdated Show resolved Hide resolved
crates/era-cheatcodes/tests/src/cheatcodes/Snapshot.t.sol Outdated Show resolved Hide resolved
crates/era-cheatcodes/tests/src/cheatcodes/Snapshot.t.sol Outdated Show resolved Hide resolved
crates/era-cheatcodes/src/utils.rs Outdated Show resolved Hide resolved
@aon aon merged commit f63c56a into main Dec 29, 2023
10 checks passed
@aon aon deleted the aon-add-snapshot-cheatcode branch December 29, 2023 16:31
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