Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't sign transactions for IRIS, NUCLEUSTEST when using Ledger HW via Keplr #2147

Closed
gcharang opened this issue Jun 24, 2024 · 1 comment
Closed
Labels
enhancement New feature or request P1

Comments

@gcharang
Copy link

Describe the bug
Can't sign transactions for IRIS, NUCLEUSTEST when using Ledger HW via Keplr. Error on Keplr extension is:

Incompatible Signing Requested
Error: SIGN_MODE_DIRECT can’t be signed on Ledger. Contact the web app provider to fix this issue.

Data when swapping:
Screenshot from 2024-06-23 17-22-33

{
  "accountNumber": "29",
  "authInfo": {
    "fee": {
      "amount": [
        {
          "amount": "37500",
          "denom": "unucl"
        }
      ],
      "gasLimit": "125000",
      "granter": "",
      "payer": ""
    },
    "signerInfos": [
      {
        "modeInfo": {
          "single": {
            "mode": "SIGN_MODE_DIRECT"
          }
        },
        "publicKey": {
          "typeUrl": "/cosmos.crypto.secp256k1.PubKey",
          "value": "CiEDv442gDF6RuB2tB/lA/yQZTKdgHmJ/vtwthe9LMRBxEM="
        },
        "sequence": "0"
      }
    ]
  },
  "chainId": "nucleus-3",
  "txBody": {
    "extensionOptions": [],
    "memo": "",
    "messages": [
      {
        "typeUrl": "/nucleus.htlc.MsgClaimHTLC",
        "value": "CipudWMxcXpsZjNzNDUzN2hxdHo0NnNrdzB5eTJ2c2Nsa2txZzkzbXQ0cXISQDA3MTEwQjdEOUQ1QjYyQTkxNjJDREU5QThBNzE4RDUxMTNCMzRCNjZDRDk0NjI0N0I1QzQzOTI0NEYzOEQ3NEEaQDFkZWE1YTg4NmQ0Y2E2YjRkYzM0ZjAwY2QyN2UxNDJlODJmYjk0N2U0ODJkOGUxNjdiYTJlMmYyOWEzMzY3ODI="
      }
    ],
    "nonCriticalExtensionOptions": [],
    "timeoutHeight": "6166962"
  }
}

Data when withdrawing:

Screenshot from 2024-06-24 14-54-09

{
  "accountNumber": "29",
  "authInfo": {
    "fee": {
      "amount": [
        {
          "amount": "45000",
          "denom": "unucl"
        }
      ],
      "gasLimit": "150000",
      "granter": "",
      "payer": ""
    },
    "signerInfos": [
      {
        "modeInfo": {
          "single": {
            "mode": "SIGN_MODE_DIRECT"
          }
        },
        "publicKey": {
          "typeUrl": "/cosmos.crypto.secp256k1.PubKey",
          "value": "CiEDv442gDF6RuB2tB/lA/yQZTKdgHmJ/vtwthe9LMRBxEM="
        },
        "sequence": "0"
      }
    ]
  },
  "chainId": "nucleus-3",
  "txBody": {
    "extensionOptions": [],
    "memo": "",
    "messages": [
      {
        "typeUrl": "/cosmos.bank.v1beta1.MsgSend",
        "value": {
          "amount": [
            {
              "amount": "1000000",
              "denom": "unucl"
            }
          ],
          "fromAddress": "nuc1qzlf3s4537hqtz46skw0yy2vsclkkqg93mt4qr",
          "toAddress": "nuc1qzlf3s4537hqtz46skw0yy2vsclkkqg93mt4qr"
        }
      }
    ],
    "nonCriticalExtensionOptions": [],
    "timeoutHeight": "6181457"
  }
}
@onur-ozkan onur-ozkan added enhancement New feature or request P1 labels Jun 24, 2024
@shamardy
Copy link
Collaborator

@gcharang this should have been fixed here #2148 , please close the issue if there is nothing else left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

3 participants