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

Add TOML cheatcode support #518

Merged
merged 8 commits into from
Mar 11, 2024

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Mar 6, 2024

Pending the merge of foundry-rs/foundry#7317 merged!

Pulls in the latest changes from Foundry, including TOML cheatcode support. Implements the stdToml abstraction mirroring stdJson.

@mds1
Copy link
Collaborator

mds1 commented Mar 6, 2024

Make sure to also run the scripts/vm.py file in this repo to automatically update Vm.sol with the new cheats

@zerosnacks zerosnacks changed the title WIP: Add TOML cheatcode support Add TOML cheatcode support Mar 8, 2024
@zerosnacks
Copy link
Member Author

Make sure to also run the scripts/vm.py file in this repo to automatically update Vm.sol with the new cheats

Thanks @mds1! I've ran the script. It also includes the missing cheatcodes requested in #519 and more.

This PR is now ready for review :)

src/StdToml.sol Show resolved Hide resolved
src/StdToml.sol Outdated Show resolved Hide resolved
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.

Thanks!

@mds1 mds1 merged commit b6a506d into foundry-rs:master Mar 11, 2024
3 checks passed
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.

None yet

2 participants