Skip to content

Commit 979c209

Browse files
bangjelkoskiali-behjati
authored andcommitted
chore: update default gas price
1 parent 117886e commit 979c209

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

apps/price_pusher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pnpm run start injective --grpc-endpoint https://grpc-endpoint.com \
105105
--price-config-file "path/to/price-config.beta.sample.yaml" \
106106
--mnemonic-file "path/to/mnemonic.txt" \
107107
--network testnet \
108-
[--gas-price 500000000] \
108+
[--gas-price 160000000] \
109109
[--gas-multiplier 1.1] \
110110
[--pushing-frequency 10] \
111111
[--polling-frequency 5]

apps/price_pusher/src/injective/injective.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
import { Logger } from "pino";
2323
import { Account } from "@injectivelabs/sdk-ts/dist/cjs/client/chain/types/auth";
2424

25-
const DEFAULT_GAS_PRICE = 500000000;
25+
const DEFAULT_GAS_PRICE = 160000000;
2626
const DEFAULT_GAS_MULTIPLIER = 1.05
2727
const INJECTIVE_TESTNET_CHAIN_ID = "injective-888"
2828

target_chains/cosmwasm/tools/src/chains-manager/injective.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
} from "@injectivelabs/networks";
3535
import * as net from "net";
3636

37-
const DEFAULT_GAS_PRICE = 500000000;
37+
const DEFAULT_GAS_PRICE = 160000000;
3838

3939
export class InjectiveExecutor implements ChainExecutor {
4040
private readonly gasMultiplier = 2;

target_chains/cosmwasm/tools/src/ci/deployer/injective.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ export class InjectiveDeployer implements Deployer {
8787
const txResponse = await this.signAndBroadcastMsg(store_code, {
8888
amount: [
8989
{
90-
// gas = 5000000 & gasPrice = 500000000
91-
amount: String(500000000 * 5000000),
90+
// gas = 5000000 & gasPrice = 160000000
91+
amount: String(160000000 * 5000000),
9292
denom: "inj",
9393
},
9494
],
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
9696
// But this transaction was taking gas around 3000000. Which is a lot more
9797
// Keeping the gasPrice same as in default std fee as seen above in amount.
9898
// Changing the gasLimit to 5000000

0 commit comments

Comments
 (0)