xGodMode / godmode

Use GodMode to get full control of any Ethereum contract or account
http://godmode.work
MIT License
41 stars 15 forks source link

Task: Godmode reverts on View/Pure functions #8

Open martinetlee opened 4 years ago

martinetlee commented 4 years ago

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.)

v-stickykeys commented 3 years ago

Not sure if this is still a problem.. let's check at some point