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(...).
Description
When using the
safe4337Pack, deploying a Safe does not update the protocol kit accessible atsafe4337Pack.protocolKit(even ifsafe4337Pack.protocolKit.isSafeDeployedwill correctly returntrue). 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.protocolKitshould be refreshed after deployment, so further actions can be made without having to usesafe4337Pack.protocolKit.connect(...).