From 7693a08ac503dad58941c818eecba0a1cad308ae Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Sat, 30 Nov 2024 08:40:16 +0000 Subject: [PATCH] fix(relayer): Respect chainId input argument in ethers listener --- src/libexec/RelayerSpokePoolIndexer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexec/RelayerSpokePoolIndexer.ts b/src/libexec/RelayerSpokePoolIndexer.ts index cca604523..618413037 100644 --- a/src/libexec/RelayerSpokePoolIndexer.ts +++ b/src/libexec/RelayerSpokePoolIndexer.ts @@ -122,7 +122,7 @@ async function run(argv: string[]): Promise { }; const args = minimist(argv, minimistOpts); - const { chainId: chainId, lookback, relayer = null, blockrange: maxBlockRange = 10_000 } = args; + const { chainid: chainId, lookback, relayer = null, blockrange: maxBlockRange = 10_000 } = args; assert(Number.isInteger(chainId), "chainId must be numeric "); assert(Number.isInteger(maxBlockRange), "maxBlockRange must be numeric"); assert(!isDefined(relayer) || ethersUtils.isAddress(relayer), `relayer address is invalid (${relayer})`);