From beef0aaa739043a98de19a76dbf9ba0e3e101fc8 Mon Sep 17 00:00:00 2001 From: Shane Fontaine <9441295+shanefontaine@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:29:58 -0800 Subject: [PATCH] hop-node: reduce bondWithdrawalBatchSize to reduce rate limit issues --- packages/hop-node/src/config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hop-node/src/config/config.ts b/packages/hop-node/src/config/config.ts index 5fcf41b903..4540e99128 100644 --- a/packages/hop-node/src/config/config.ts +++ b/packages/hop-node/src/config/config.ts @@ -53,7 +53,7 @@ export const setLatestNonceOnStart = process.env.SET_LATEST_NONCE_ON_START // This value must be longer than the longest chain's finality export const TxRetryDelayMs = process.env.TX_RETRY_DELAY_MS ? Number(process.env.TX_RETRY_DELAY_MS) : OneHourMs -export const bondWithdrawalBatchSize = normalizeEnvVarNumber(process.env.BOND_WITHDRAWAL_BATCH_SIZE) ?? 100 +export const bondWithdrawalBatchSize = normalizeEnvVarNumber(process.env.BOND_WITHDRAWAL_BATCH_SIZE) ?? 5 export const relayTransactionBatchSize = bondWithdrawalBatchSize export const ShouldIgnoreProxy = normalizeEnvVarBool(process.env.SHOULD_IGNORE_PROXY) ?? false export const ShouldIgnoreBlockHashValidation = normalizeEnvVarBool(process.env.SHOULD_IGNORE_BLOCK_HASH_VALIDATION) ?? false