Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Error when signing a message to a f410f.. address #248

Description

@navFooh

When signing a transaction to a delegated address (f410f..), the snap api returns the following error:
MetaMask - RPC Error: Received non-JSON-serializable value.

Since this only happens with the new delegated addresses, my guess is that serialization for these is not supported yet.

To reproduce:

const response = await api.signMessage({
  to: "t410f5jy7rxaem4l3rmkmdaafdbwqgsk2bzess6wu5qq",
  nonce: 2,
  value: "1000000000000000000",
  gaslimit: 2291443,
  gasfeecap: "100719",
  gaspremium: "99665",
  method: 3844450837,
  params: "",
})

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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions