diff --git a/tools/kysor/src/commands/start.ts b/tools/kysor/src/commands/start.ts index 3b3873f7..4dc93a89 100644 --- a/tools/kysor/src/commands/start.ts +++ b/tools/kysor/src/commands/start.ts @@ -24,6 +24,10 @@ start "Specify the number of bundles that should be tested before the node properly exits. If zero the node will run indefinitely [default = 0]", "0" ) + .option( + "--gas-price ", + "The gas price the node should use to calculate transaction fees, this value will be loaded by default based on the chain id" + ) .action(async (options) => { await run(options); }); diff --git a/tools/kysor/src/kysor.ts b/tools/kysor/src/kysor.ts index 0cea2699..73b181e7 100644 --- a/tools/kysor/src/kysor.ts +++ b/tools/kysor/src/kysor.ts @@ -438,6 +438,11 @@ export const run = async (options: any) => { args.push(`${valaccount.debugMaxSize}`); } + if (options.gasPrice) { + args.push("--gas-price"); + args.push(`${options.gasPrice}`); + } + logger.info("Starting process ..."); console.log("\n");