diff --git a/packages/axelar-local-dev-cosmos/src/clients/cosmos/CosmosClient.ts b/packages/axelar-local-dev-cosmos/src/clients/cosmos/CosmosClient.ts index 5b73428e..eba8118d 100644 --- a/packages/axelar-local-dev-cosmos/src/clients/cosmos/CosmosClient.ts +++ b/packages/axelar-local-dev-cosmos/src/clients/cosmos/CosmosClient.ts @@ -41,7 +41,7 @@ export class CosmosClient { chain: CosmosChain = "wasm", mnemonic?: string, config: Omit = { prefix: chain }, - gasPrice: GasPrice = GasPrice.fromString(`1${config.denom}`) + gasPrice?: GasPrice ) { const defaultDenom = chain === "wasm" ? "uwasm" : "uaxl"; const chainInfo = { @@ -50,6 +50,7 @@ export class CosmosClient { rpcUrl: config.rpcUrl || `http://localhost/${chain}-rpc`, wsUrl: config.wsUrl || `ws://localhost/${chain}-rpc/websocket`, }; + gasPrice = gasPrice || GasPrice.fromString(`1${chainInfo.denom}`); let _mnemonic = mnemonic; if (!_mnemonic) {