File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
target_chains/cosmwasm/tools/src Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ pnpm run start injective --grpc-endpoint https://grpc-endpoint.com \
105
105
--price-config-file "path/to/price-config.beta.sample.yaml" \
106
106
--mnemonic-file "path/to/mnemonic.txt" \
107
107
--network testnet \
108
- [--gas-price 500000000 ] \
108
+ [--gas-price 160000000 ] \
109
109
[--gas-multiplier 1.1] \
110
110
[--pushing-frequency 10] \
111
111
[--polling-frequency 5]
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
import { Logger } from "pino" ;
23
23
import { Account } from "@injectivelabs/sdk-ts/dist/cjs/client/chain/types/auth" ;
24
24
25
- const DEFAULT_GAS_PRICE = 500000000 ;
25
+ const DEFAULT_GAS_PRICE = 160000000 ;
26
26
const DEFAULT_GAS_MULTIPLIER = 1.05
27
27
const INJECTIVE_TESTNET_CHAIN_ID = "injective-888"
28
28
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import {
34
34
} from "@injectivelabs/networks" ;
35
35
import * as net from "net" ;
36
36
37
- const DEFAULT_GAS_PRICE = 500000000 ;
37
+ const DEFAULT_GAS_PRICE = 160000000 ;
38
38
39
39
export class InjectiveExecutor implements ChainExecutor {
40
40
private readonly gasMultiplier = 2 ;
Original file line number Diff line number Diff line change @@ -87,12 +87,12 @@ export class InjectiveDeployer implements Deployer {
87
87
const txResponse = await this . signAndBroadcastMsg ( store_code , {
88
88
amount : [
89
89
{
90
- // gas = 5000000 & gasPrice = 500000000
91
- amount : String ( 500000000 * 5000000 ) ,
90
+ // gas = 5000000 & gasPrice = 160000000
91
+ amount : String ( 160000000 * 5000000 ) ,
92
92
denom : "inj" ,
93
93
} ,
94
94
] ,
95
- // DEFAULT STD FEE that we use has gas = 400000 and gasPrice = 500000000
95
+ // DEFAULT STD FEE that we use has gas = 400000 and gasPrice = 160000000
96
96
// But this transaction was taking gas around 3000000. Which is a lot more
97
97
// Keeping the gasPrice same as in default std fee as seen above in amount.
98
98
// Changing the gasLimit to 5000000
You can’t perform that action at this time.
0 commit comments