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

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

Open
navFooh opened this issue Mar 8, 2023 · 0 comments
Open

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

navFooh opened this issue Mar 8, 2023 · 0 comments

Comments

@navFooh
Copy link

navFooh commented Mar 8, 2023

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: "",
})
@navFooh navFooh changed the title Error when signing a transaction with an f410f.. address Error when signing a message to a f410f.. address Mar 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@navFooh and others