suave-std
suave-std copied to clipboard
Use forked Forge with a custom vm.suaveGeth() function instead of using ffi
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.