Skip to content

fix(wallet): detect counterfactual wallet gas simulation failure in send-native #80

@sin-strokes

Description

@sin-strokes

fix(wallet): detect counterfactual wallet gas simulation failure in send-native

When a smart wallet hasn't been deployed on-chain yet, the Sequence relayer
fails gas simulation with 'Request aborted'. Previously this gave a cryptic
error. Now both fee paths detect simulation failures and surface a clear
actionable message telling the user to fund the wallet with USDC first.

Originally posted by @AkshatGada in 0xPolygon/polygon-agent-cli#56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions