Skip to content

Task: Godmode reverts on View/Pure functions #8

@martinetlee

Description

@martinetlee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions