Skip to content

Commit

Permalink
add ibc handle (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnoln authored May 20, 2024
1 parent 7ca1047 commit 826f01b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/handlers/cosmos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
ChainType,
CCTP_TYPE,
RouteRequest,
IBC_TRANSFER_TYPE,
} from "../../types";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { MsgDepositForBurn } from "./cctpProto";
Expand Down Expand Up @@ -79,6 +80,11 @@ export class CosmosHandler {
break;
}

case IBC_TRANSFER_TYPE:
msgs.push(cosmosMsg);

break;

default:
throw new Error(`Cosmos message ${cosmosMsg.typeUrl} not supported`);
}
Expand Down

0 comments on commit 826f01b

Please sign in to comment.