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

Use forked Forge with a custom vm.suaveGeth() function instead of using ffi #81

Open
pistomat opened this issue May 3, 2024 · 0 comments

Comments

@pistomat
Copy link
Contributor

pistomat commented May 3, 2024

The vm.ffi enables running arbitrary commands on your machine, which is dangerous and it is generally advised to use only as a last resort.

What you think about writing a custom vm.suaveGeth() cheatcode directly in forge, which would allow only the suave-geth to be run with any arguments? It could be implemented in the suavex-foundry repository, both users and this repository would then have to make the switch to use this library. Then the Connector.sol would have to be updated, but the changes would not have to be great.

@dmarzzz dmarzzz closed this as completed Jul 24, 2024
@dmarzzz dmarzzz reopened this Jul 24, 2024
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

No branches or pull requests

2 participants