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 library reverts on calling a view/pure function when using the
executeAs
. This is likely because the storage is tainted by theputContract
. 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.)