You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to use SafeFactory with contractNetworks property for the custom chainId, safeFactory.deploySafe fails with an error: SafeProxy was not deployed correctly. If you check on-chain, Safe does get deployed correctly via SafeFactory.
This error is because, after the safe is created, protocol-kit listens to an event ProxyCreation. For osome reason, on custom networks, SDK cannot catch this event. But of you attach an independent event listener via ethers, then you can see the event being emmited correctly.
Environment
Safe Core SDK version: 2.0.0
Safe contract version: default
Environment: Non Browser
Steps to reproduce
Here is the code I am using:
Here is the error:
Expected result
Expected result is Safe creation should work normally as it works on other public networks.
The text was updated successfully, but these errors were encountered:
Description
When you try to use SafeFactory with contractNetworks property for the custom chainId,
safeFactory.deploySafe
fails with an error: SafeProxy was not deployed correctly. If you check on-chain, Safe does get deployed correctly via SafeFactory.This error is because, after the safe is created, protocol-kit listens to an event
ProxyCreation
. For osome reason, on custom networks, SDK cannot catch this event. But of you attach an independent event listener via ethers, then you can see the event being emmited correctly.Environment
2.0.0
default
Steps to reproduce
Here is the code I am using:
Here is the error:
Expected result
Expected result is Safe creation should work normally as it works on other public networks.
The text was updated successfully, but these errors were encountered: