Skip to content

Commit

Permalink
reload registry -> DONE
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdv2429 committed Oct 10, 2023
1 parent 0ee994b commit e345cf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/CustomSigner.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import * as multisigjs from 'multisigjs'
import * as stridejs from 'stridejs'
import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx";
import Long from "long";
import { ibc } from 'osmojs';

function omitDefault(input) {
if (typeof input === "string") {
Expand Down Expand Up @@ -134,8 +135,8 @@ export const getCustomClient = async (types, signer) => {
}),
}

// TODO: need to load the registry for custom type
// eg: osmosis.gamm.v1beta1.load(registry);
// reload the registry
ibc.applications.transfer.v1.load(registry);

const client = await SigningStargateClient.offline(
signer,
Expand Down

0 comments on commit e345cf9

Please sign in to comment.