Skip to content

Commit

Permalink
update cosmjs v0.31.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangNDM6 committed Sep 26, 2023
1 parent e18448b commit 9038cf1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
17 changes: 5 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,11 @@
]
},
"productName": "Safe",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"dependencies": {
"@aura/safe-react-components": "https://github.com/aura-nw/safe-react-components.git",
"@codemirror/lang-javascript": "^6.1.6",
Expand Down
8 changes: 5 additions & 3 deletions src/utils/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
createAuthzAminoConverters,
createBankAminoConverters,
createDistributionAminoConverters,
createFreegrantAminoConverters,
createFeegrantAminoConverters,
createGovAminoConverters,
createIbcAminoConverters,
createStakingAminoConverters,
Expand Down Expand Up @@ -402,12 +402,12 @@ const signMessage = async (
const registry = new Registry(TxTypes)
const aminoTypes = new AminoTypes({
...createBankAminoConverters(),
...createStakingAminoConverters(getChainInfo().shortName),
...createStakingAminoConverters(),
...createDistributionAminoConverters(),
...createGovAminoConverters(),
...createWasmAminoConverters(),
...createAuthzAminoConverters(),
...createFreegrantAminoConverters(),
...createFeegrantAminoConverters(),
...createIbcAminoConverters(),
})

Expand All @@ -433,6 +433,8 @@ const signMessage = async (
[{ pubkey, sequence: signedSequence }],
signed.fee.amount,
signedGasLimit,
undefined,
undefined,
signMode,
)
const respone = TxRaw.fromPartial({
Expand Down

0 comments on commit 9038cf1

Please sign in to comment.