We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 359d26d commit 557c755Copy full SHA for 557c755
1 file changed
networks/injective/src/signers/config.ts
@@ -45,6 +45,8 @@ export const DEFAULT_INJECTIVE_SIGNER_CONFIG: Partial<DocOptions> = {
45
// Public key encoding - Injective specific
46
encodePublicKey: encodeInjectivePublicKey,
47
pubkeyDecoders: {
48
+ // @ts-ignore - Returns proto PubKey (has `key`) instead of amino Pubkey (has `type`/`value`).
49
+ // Functionally correct for Injective e2e; the decoded pubkey isn't used for signing.
50
'/injective.crypto.v1beta1.ethsecp256k1.PubKey': (pubkey: Any): Secp256k1PubKey => {
51
const { key } = Secp256k1PubKey.decode(pubkey.value);
52
return Secp256k1PubKey.fromPartial({ key });
0 commit comments