Skip to content

Commit

Permalink
1273 Cosmos Transactions (#1275)
Browse files Browse the repository at this point in the history
* Cosmjs dependencies updated to 0.32.4

* Default gas limit to 150000
  • Loading branch information
0xp3gasus authored Sep 16, 2024
1 parent f90c0d8 commit b9c2491
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 154 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-clouds-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@xchainjs/xchain-cosmos': patch
---

Default transfer gas limit updated from 90_000 to 150_000
9 changes: 9 additions & 0 deletions .changeset/tough-geese-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@xchainjs/xchain-cosmos-sdk': patch
'@xchainjs/xchain-mayachain': patch
'@xchainjs/xchain-thorchain': patch
'@xchainjs/xchain-cosmos': patch
'@xchainjs/xchain-kujira': patch
---

Cosmosjs dependencies updated to 0.32.4
8 changes: 4 additions & 4 deletions packages/xchain-cosmos-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"directory": "release/package"
},
"dependencies": {
"@cosmjs/crypto": "0.31.1",
"@cosmjs/encoding": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"@cosmjs/stargate": "0.31.1",
"@cosmjs/crypto": "0.32.4",
"@cosmjs/encoding": "0.32.4",
"@cosmjs/proto-signing": "0.32.4",
"@cosmjs/stargate": "0.32.4",
"@scure/base": "1.1.5",
"@xchainjs/xchain-client": "workspace:*",
"@xchainjs/xchain-crypto": "workspace:*",
Expand Down
10 changes: 5 additions & 5 deletions packages/xchain-cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0"
},
"dependencies": {
"@cosmjs/amino": "0.31.1",
"@cosmjs/encoding": "0.31.1",
"@cosmjs/ledger-amino": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"@cosmjs/amino": "0.32.4",
"@cosmjs/encoding": "0.32.4",
"@cosmjs/ledger-amino": "0.32.4",
"@cosmjs/proto-signing": "0.32.4",
"@ledgerhq/hw-app-cosmos": "6.29.6",
"@ledgerhq/hw-transport": "6.30.6",
"@xchainjs/xchain-client": "workspace:*",
Expand All @@ -46,7 +46,7 @@
"bech32": "^1.1.3",
"bignumber.js": "9.0.0",
"bip32": "^2.0.6",
"cosmjs-types": "0.8.0",
"cosmjs-types": "0.9.0",
"protobufjs": "6.11.4",
"secp256k1": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/xchain-cosmos/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export abstract class Client extends CosmosSDKClient {
protected getStandardFee(asset: Asset): StdFee {
const denom = this.getDenom(asset)
const defaultGasPrice = GasPrice.fromString(`0.006${denom}`)
return calculateFee(90_000, defaultGasPrice)
return calculateFee(150_000, defaultGasPrice)
}

/**
Expand Down
10 changes: 5 additions & 5 deletions packages/xchain-kujira/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"lint": "eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0"
},
"dependencies": {
"@cosmjs/amino": "0.31.1",
"@cosmjs/encoding": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"@cosmjs/stargate": "0.31.1",
"@cosmjs/amino": "0.32.4",
"@cosmjs/encoding": "0.32.4",
"@cosmjs/proto-signing": "0.32.4",
"@cosmjs/stargate": "0.32.4",
"@xchainjs/xchain-client": "workspace:*",
"@xchainjs/xchain-cosmos-sdk": "workspace:*",
"@xchainjs/xchain-util": "workspace:*",
"cosmjs-types": "0.8.0"
"cosmjs-types": "0.9.0"
},
"publishConfig": {
"access": "public",
Expand Down
10 changes: 5 additions & 5 deletions packages/xchain-mayachain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@
"generate:MayachainMsgs": "./genMsgs.sh"
},
"dependencies": {
"@cosmjs/amino": "0.31.1",
"@cosmjs/crypto": "0.31.1",
"@cosmjs/encoding": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"@cosmjs/amino": "0.32.4",
"@cosmjs/crypto": "0.32.4",
"@cosmjs/encoding": "0.32.4",
"@cosmjs/proto-signing": "0.32.4",
"@xchainjs/xchain-client": "workspace:*",
"@xchainjs/xchain-cosmos-sdk": "workspace:*",
"@xchainjs/xchain-util": "workspace:*",
"axios": "1.7.4",
"bech32": "^1.1.3",
"bignumber.js": "9.0.0",
"bip32": "^2.0.6",
"cosmjs-types": "0.8.0",
"cosmjs-types": "0.9.0",
"protobufjs": "6.11.4",
"secp256k1": "^5.0.0"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/xchain-thorchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"generate:ThorchainMsgs": "./genMsgs.sh"
},
"dependencies": {
"@cosmjs/amino": "0.31.1",
"@cosmjs/crypto": "0.31.1",
"@cosmjs/encoding": "0.31.1",
"@cosmjs/proto-signing": "0.31.1",
"@cosmjs/amino": "0.32.4",
"@cosmjs/crypto": "0.32.4",
"@cosmjs/encoding": "0.32.4",
"@cosmjs/proto-signing": "0.32.4",
"@ledgerhq/hw-transport": "6.30.6",
"@xchainjs/ledger-thorchain": "0.2.0",
"@xchainjs/xchain-client": "workspace:*",
Expand All @@ -47,7 +47,7 @@
"bech32": "^1.1.3",
"bignumber.js": "9.0.0",
"bip32": "^2.0.6",
"cosmjs-types": "0.8.0",
"cosmjs-types": "0.9.0",
"protobufjs": "6.11.4",
"secp256k1": "^5.0.0"
},
Expand Down
Loading

0 comments on commit b9c2491

Please sign in to comment.