From b2c5179738fea7b7450896a7f1bec03e4c66876c Mon Sep 17 00:00:00 2001 From: Filip Date: Fri, 13 Mar 2026 16:11:24 +0100 Subject: [PATCH 1/5] disable (almost) all chains --- config/default.json | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/config/default.json b/config/default.json index b4f436ec..99fde63b 100644 --- a/config/default.json +++ b/config/default.json @@ -9,17 +9,9 @@ "validate": true }, "supportedNetworks": [ - 1, 137, 97, 56, 1101, 42161, 42170, 10, 43113, 43114, 8453, 59144, 5000, - 204, 5611, 88888, 592, 88882, 81, 1115, 1116, 169, 1715, 9980, 421614, - 11155111, 84532, 168587773, 81457, 534351, 534352, 56400, 7000, 11155420, - 80002, 27827, 4653, 8101902, 666666666, 2442, 7001, 5003, 100, 10200, 195, - 196, 2810, 997, 3799, 167009, 80084, 5845, 167000, 1328, 1329, 995, 28882, - 288, 920637907288165, 1740, 1750, 4202, 1135, 2818, 146, 57054, 10143 - ], - "supportedNetworksV07": [ - 1, 11155420, 84532, 8453, 10, 56, 42161, 137, 100, 80084, 168587773, 81457, - 11155111, 146, 57054, 10143, 80002, 421614, 97, 10200 + 43113, 43114, 27827, 56400, 88888, 88882 ], + "supportedNetworksV07": [], "EIP1559SupportedNetworks": [ 1, 137, 42161, 10, 43114, 43113, 8453, 59144, 204, 5611, 421614, 11155111, 84532, 168587773, 81457, 42170, 169, 56400, 11155420, 80002, 27827, 4653, From 2cdb0ac1a33037c27c5abb57bdfb50ebabeda9c8 Mon Sep 17 00:00:00 2001 From: Filip Date: Thu, 19 Mar 2026 11:23:38 +0100 Subject: [PATCH 2/5] re-enable some chains temporarily --- config/default.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/default.json b/config/default.json index 99fde63b..fbb2a879 100644 --- a/config/default.json +++ b/config/default.json @@ -9,7 +9,8 @@ "validate": true }, "supportedNetworks": [ - 43113, 43114, 27827, 56400, 88888, 88882 + 43113, 43114, 27827, 56400, 88888, 88882, + 1, 42161, 8453, 43114, 10, 56 ], "supportedNetworksV07": [], "EIP1559SupportedNetworks": [ From 0afd3d4fbc0e5a7566587371a899af9815c6306e Mon Sep 17 00:00:00 2001 From: Filip Date: Thu, 19 Mar 2026 14:35:46 +0100 Subject: [PATCH 3/5] enable polygon --- config/default.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.json b/config/default.json index fbb2a879..3e5b9935 100644 --- a/config/default.json +++ b/config/default.json @@ -10,7 +10,7 @@ }, "supportedNetworks": [ 43113, 43114, 27827, 56400, 88888, 88882, - 1, 42161, 8453, 43114, 10, 56 + 1, 42161, 8453, 43114, 10, 56, 137 ], "supportedNetworksV07": [], "EIP1559SupportedNetworks": [ From 047dc1739437cf4925c09420e7b66020466e3bee Mon Sep 17 00:00:00 2001 From: Filip Date: Fri, 20 Mar 2026 01:39:53 +0100 Subject: [PATCH 4/5] remove chains --- config/default.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/default.json b/config/default.json index 3e5b9935..99fde63b 100644 --- a/config/default.json +++ b/config/default.json @@ -9,8 +9,7 @@ "validate": true }, "supportedNetworks": [ - 43113, 43114, 27827, 56400, 88888, 88882, - 1, 42161, 8453, 43114, 10, 56, 137 + 43113, 43114, 27827, 56400, 88888, 88882 ], "supportedNetworksV07": [], "EIP1559SupportedNetworks": [ From 2bb64b13b92154b0f41ec6a854ef970d57f55b84 Mon Sep 17 00:00:00 2001 From: Filip Date: Tue, 19 May 2026 11:22:47 +0200 Subject: [PATCH 5/5] disable fund-relayers --- config/default.json | 2 +- src/common/service-manager/index.ts | 7 +++++-- src/relayer/relayer-manager/EVMRelayerManager.ts | 7 +++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/config/default.json b/config/default.json index 99fde63b..c438a831 100644 --- a/config/default.json +++ b/config/default.json @@ -1,6 +1,6 @@ { "boot": { - "fundRelayers": true + "fundRelayers": false }, "health": { "checkRelayers": false diff --git a/src/common/service-manager/index.ts b/src/common/service-manager/index.ts index 27ef5f14..095521ea 100644 --- a/src/common/service-manager/index.ts +++ b/src/common/service-manager/index.ts @@ -474,8 +474,11 @@ async function setupRelayerManagers( ); /* - UNSAFE: Disable funding relayers for testing purposes or local devenv. - This is enabled by default but you can set it to false if you want to run smoke tests for example + UNSAFE: Disable funding relayers for testing, local devenv, or service shutdown drains. + When false, this skips the initial boot funding here AND disables runtime auto-funding + (the flag is also checked inside EVMRelayerManager.fundRelayers, which is the chokepoint + for postTransactionMined low-balance top-ups, on-demand scaling, and the FUND_BUNDLER + retry path from BundlerConsumer). */ if (nodeconfig.get("boot.fundRelayers")) { await relayerMangerInstance.fundRelayers(addressList); diff --git a/src/relayer/relayer-manager/EVMRelayerManager.ts b/src/relayer/relayer-manager/EVMRelayerManager.ts index f8f6ece1..f7b023bb 100644 --- a/src/relayer/relayer-manager/EVMRelayerManager.ts +++ b/src/relayer/relayer-manager/EVMRelayerManager.ts @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Mutex } from "async-mutex"; +import nodeconfig from "config"; import { privateToPublic, publicToAddress, @@ -449,6 +450,12 @@ export class EVMRelayerManager * @param addressList List of relayers to fund */ async fundRelayers(addressList: `0x${string}`[]): Promise { + if (!nodeconfig.get("boot.fundRelayers")) { + log.warn( + `Skipping fundRelayers on chainId: ${this.chainId} for addresses ${addressList}: boot.fundRelayers is disabled`, + ); + return; + } log.info( `Starting to fund relayers on chainId: ${this.chainId} with addresses: ${addressList}`, );