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

Signature verification failed for EIP712 signed with metamask #174

@olegshilov

Description

@olegshilov

I have some issues with signing with metamask.

I am currently facing some challenges while attempting to sign a transaction created with evmosjs using Metamask. Specifically, I am encountering an issue when trying to create and sign a delegate message with Metamask. Unfortunately, upon broadcasting the transaction, I received the following response:

{
  "height": "0",
  "txhash": "B1AB968A3616F5FA8E8F7BC831EFE61206291EAFA1AD7881F5F51854FE71AA81",
  "codespace": "sdk",
  "code": 4,
  "data": "",
  "raw_log": "signature verification failed; please verify account number (8) and chain-id (haqq_121799-1): unauthorized",
  "logs": [],
  "info": "",
  "gas_wanted": "0",
  "gas_used": "0",
  "tx": null,
  "timestamp": "",
  "events": []
}

I would greatly appreciate any assistance or guidance you can provide to help resolve this issue.
To further illustrate this compatibility issue, I have created a reproduction repository that demonstrates the problem. You can find it at the following link: https://github.com/olegshilov/evmosjs-metamask-sign-error

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