We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, I'm facing an issue trying to use metamask snaps with the Akash chain through cosmoskit.
When calling estimateFee I get the following error: Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03
estimateFee
Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03
It looks like the issue is caused by pubkey being an Object which causes pubkey.length to be undefined.
pubkey
pubkey.length
undefined
If I try the same transaction with a Keplr wallet instead, the pubkey is a Uint8Array and no error is thrown.
Here are the versions I'm using:
"@cosmjs/encoding": "^0.32.3", "@cosmjs/proto-signing": "^0.32.3", "@cosmjs/stargate": "^0.32.3", "@cosmos-kit/cosmos-extension-metamask": "^0.8.0", "@cosmos-kit/cosmostation-extension": "^2.11.0", "@cosmos-kit/keplr": "^2.10.1", "@cosmos-kit/leap-extension": "^2.11.0", "@cosmos-kit/react": "^2.15.0",
The text was updated successfully, but these errors were encountered:
We fixed this with recent update #481
Sorry, something went wrong.
No branches or pull requests
Hey, I'm facing an issue trying to use metamask snaps with the Akash chain through cosmoskit.
When calling
estimateFee
I get the following error:Public key must be compressed secp256k1, i.e. 33 bytes starting with 0x02 or 0x03
It looks like the issue is caused by
pubkey
being an Object which causespubkey.length
to beundefined
.If I try the same transaction with a Keplr wallet instead, the pubkey is a Uint8Array and no error is thrown.
Here are the versions I'm using:
The text was updated successfully, but these errors were encountered: