Replies: 2 comments 3 replies
-
Hey. Thanks. We actually talked about this a few days ago. I've started working on a You could also build that initialization and snapshotting logic into a custom proxy method (see here: https://github.com/wagmi-dev/anvil.js/blob/main/packages/anvil.js/src/proxy/createProxy.ts#L53-L56). TL;DR: The proxy has some very minimalistic routing going on for some basic methods (e.g. |
Beta Was this translation helpful? Give feedback.
-
Hey, any updates on forge.js? Would be great to know, so i don't write it manually just to remove it in a few days. |
Beta Was this translation helpful? Give feedback.
-
Hey, great job with this.
I would like to use this somehow with my foundry setup and deploy scripts (forge script written in solidity)
Ideally I would like to be able to execute the said scripts once, save the snapshot and revert to it before every test
Or any other mechanism to keep it fast and efficient. Any example on how to do something like that ?
Beta Was this translation helpful? Give feedback.
All reactions