Skip to content

Bug: ERC-7677 support in coinbase smart wallet is outdated #1600

@Sednaoui

Description

@Sednaoui

Describe the bug

Support for paymaster capabilities is out of date as the erc-7677 standard evolved

Steps

The coinbase smart wallet follows the old implementation of the standard to send the paymaster URL, which is outdated:

capabilities: {
  paymasterService: {
    url: paymasterServiceUrl,
}

Expected behavior

The new updated implementation requires a chainId and the optional field, like the following:

capabilities: {
  paymasterService: {
    ["0x01"]: {
      url: paymasterServiceUrl,
     optional: true,
    }
  }
}

Version

4.3.2

Additional info

https://eips.ethereum.org/EIPS/eip-7677

Desktop

No response

Smartphone

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions