Skip to content

Connecting to Safes via WalletConnect #127

@cag

Description

@cag

Right now, connecting directly to a Safe via WalletConnect doesn't really work: https://github.com/gnosis/contract-proxy-kit#support-for-connection-to-a-gnosis-safe

This means that Safes will actually have their own proxy Safe, and attempt to execTransaction an execTransaction. The outer execTransaction will use the Safe's own gas estimation routines to supply the safeTxGas parameter. This causes large transactions to fail because the inner execTransaction will swallow reversions and return a success/fail flag if enough gas gets sent such that the 1/64 gas remaining from a call is enough to finish running execTransaction, meaning Omen market's cannot be created via the Safe for example: https://etherscan.io/tx/0xbf5722dd28d8c53357eca924eb6a2dfc7d230595c99e2f9985d90a7553f06fc2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationtsThis issues is related to ts lib changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions