Skip to content

wallet_getCapabilities accepts chainIds as number[], returns chainIds as Hex #2

Description

@DonGambas

Describe the bug

how to test/reproduce:

  • cast rpc --rpc-url http://localhost:9200 wallet_getCapabilities "[0x7a69]" -> server returned an error response: error code -32602: Invalid params, data: "invalid type: string \"[0x7a69]\
  • cast rpc --rpc-url http://localhost:9200 wallet_getCapabilities "[31337]" -> {"0x7a69":{"contracts"....}}

RPC Server version

14.1.2-dev (48bd394)

Chain ID

0x7a69 / 31337

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions