Skip to content

The protocol-kit instance should refresh after a deployment has been made through the 4337pack #1024

Description

@louis-md

Description

When using the safe4337Pack, deploying a Safe does not update the protocol kit accessible at safe4337Pack.protocolKit (even if safe4337Pack.protocolKit.isSafeDeployed will correctly return true). Subsequent actions using the protocol-kit will return the error:

/node_modules/@safe-global/protocol-kit/dist/src/managers/ownerManager.js:115 throw new Error('Safe is not deployed');).

Steps to reproduce

Steps can be found in this Stack Exchange question.

Expected result

safe4337Pack.protocolKit should be refreshed after deployment, so further actions can be made without having to use safe4337Pack.protocolKit.connect(...).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions