godmode
godmode copied to clipboard
Task: Godmode reverts on View/Pure functions
The library reverts on calling a view/pure function when using the executeAs.
This is likely because the storage is tainted by the putContract.
There might be two ways to resolve this:
(1) Send additional tx between the putContract and the execute, so that ganache thinks the state change is a separate tx from the view/pure function call.
(2) Modify the Godmode Ganache to make sure it will not flag the storage as being modified. (needs research time.)
Not sure if this is still a problem.. let's check at some point