Skip to content

Commit

Permalink
add nexus types to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
João Sousa authored and João Sousa committed Jan 23, 2025
1 parent 00bc24f commit 6c03724
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/AxelarSigningClient/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { registerAxelarnetTxTypes } from "./types/AxelarnetTxTypes";
import { Tendermint34Client } from "@cosmjs/tendermint-rpc";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { registerEvmTxTypes } from "./types/EvmTxTypes";
import { registerNexusTxTypes } from "./types/NexusTxTypes";

Check failure on line 21 in src/libs/AxelarSigningClient/index.ts

View workflow job for this annotation

GitHub Actions / Build Package

Cannot find module './types/NexusTxTypes' or its corresponding type declarations.

interface IAxelarSigningClient extends SigningStargateClient {
signThenBroadcast(
Expand Down Expand Up @@ -67,6 +68,7 @@ export class AxelarSigningClient extends SigningStargateClient implements IAxela
const registry = options.registry || new Registry();
registerAxelarnetTxTypes(registry);
registerEvmTxTypes(registry);
registerNexusTxTypes(registry);
const newOpts = { ...options, registry };

return new AxelarSigningClient(tmClient, wallet, account.address, newOpts);
Expand Down

0 comments on commit 6c03724

Please sign in to comment.