Skip to content

Commit

Permalink
fix(signer): add missing ConfirmGatewayTxsRequest type to registry (#…
Browse files Browse the repository at this point in the history
…344)

Co-authored-by: João Sousa <[email protected]>
  • Loading branch information
jcs47 and João Sousa authored Jan 27, 2025
1 parent 12be14f commit 7961607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/AxelarSigningClient/types/EvmTxTypes.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
SetGatewayRequest,
ConfirmGatewayTxsRequest,
ConfirmGatewayTxRequest,
ConfirmDepositRequest,
ConfirmTokenRequest,
Expand All @@ -20,6 +21,7 @@ import { Registry } from "@cosmjs/proto-signing";
const TxTypeUrlMap = {
EvmLinkRequest: `/${protobufPackage}.LinkRequest`,
EvmSetGatewayRequest: `/${protobufPackage}.SetGatewayRequest`,
EvmConfirmGatewayTxsRequest: `/${protobufPackage}.ConfirmGatewayTxsRequest`,
EvmConfirmGatewayTxRequest: `/${protobufPackage}.ConfirmGatewayTxRequest`,
EvmConfirmDepositRequest: `/${protobufPackage}.ConfirmDepositRequest`,
EvmConfirmTokenRequest: `/${protobufPackage}.ConfirmTokenRequest`,
Expand All @@ -37,6 +39,7 @@ const TxTypeUrlMap = {
export const registerEvmTxTypes = (registry: Registry) => {
registry.register(TxTypeUrlMap.EvmLinkRequest, LinkRequest);
registry.register(TxTypeUrlMap.EvmSetGatewayRequest, SetGatewayRequest);
registry.register(TxTypeUrlMap.EvmConfirmGatewayTxsRequest, ConfirmGatewayTxsRequest);
registry.register(TxTypeUrlMap.EvmConfirmGatewayTxRequest, ConfirmGatewayTxRequest);
registry.register(TxTypeUrlMap.EvmConfirmDepositRequest, ConfirmDepositRequest);
registry.register(TxTypeUrlMap.EvmConfirmTokenRequest, ConfirmTokenRequest);
Expand Down

0 comments on commit 7961607

Please sign in to comment.