Upgrade v4 clients and @cosmjs packages (#243)

* Upgrade v4-client and @cosmjs packages

* add comments
This commit is contained in:
Bill
2024-01-24 15:29:43 -08:00
committed by GitHub
parent da1ac0d087
commit 48e67f5681
4 changed files with 192 additions and 63 deletions
+7 -1
View File
@@ -198,7 +198,13 @@ export const useSubaccountContext = ({ localDydxWallet }: { localDydxWallet?: Lo
);
const ibcMsg: EncodeObject = {
typeUrl: transaction.msgTypeUrl,
value: transaction.msg,
value: {
...transaction.msg,
timeoutTimestamp: transaction.msg.timeoutTimestamp
// Squid returns timeoutTimestamp as Long, but the signer expects BigInt
? BigInt(Long.fromValue(transaction.msg.timeoutTimestamp).toString())
: undefined,
},
};
return await compositeClient.send(