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
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.)
The text was updated successfully, but these errors were encountered:
martinetlee
changed the title
Task: Godmode doesn't handle View/Pure function properly
Task: Godmode reverts on View/Pure functions
Sep 27, 2020
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.)
The text was updated successfully, but these errors were encountered: