You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently anvil has the capability to load and dump state to a file, enabling persistence. First introduced here: #3730.
At Aztec we have an in-house dev net running on an anvil mainnet fork. When adding the --state flag, it currently fails as state dumping is not yet implemented for the anvil fork_db back-end. I've naively hacked the functionality together here (see: https://github.com/cheethas/foundry/pull/1/files) and it appears to behave as I would expect.
If the above is satisfactory I can open a pull request iterating on my naive solution, however I thought I'd first ask in an issue, as I think there's big gotchas I've overlooked which led to it not being implemented in the pr above.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Component
Anvil
Describe the feature you would like
Currently anvil has the capability to load and dump state to a file, enabling persistence. First introduced here: #3730.
At Aztec we have an in-house dev net running on an anvil mainnet fork. When adding the
--state
flag, it currently fails as state dumping is not yet implemented for the anvilfork_db
back-end. I've naively hacked the functionality together here (see: https://github.com/cheethas/foundry/pull/1/files) and it appears to behave as I would expect.If the above is satisfactory I can open a pull request iterating on my naive solution, however I thought I'd first ask in an issue, as I think there's big gotchas I've overlooked which led to it not being implemented in the pr above.
Additional context
N/A
The text was updated successfully, but these errors were encountered: