From 936f94f1d09b29a9dd854cc1e156020da1fd255b Mon Sep 17 00:00:00 2001 From: Paul Lange Date: Tue, 18 Feb 2025 14:35:44 +0100 Subject: [PATCH] defaults: increase `TransactionHistory` for Celo --- eth/ethconfig/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index 1511d0fae6..e2ef873d57 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -50,9 +50,9 @@ var FullNodeGPO = gasprice.Config{ // Defaults contains default settings for use on the Ethereum main net. var Defaults = Config{ SyncMode: SnapSync, - NetworkId: 0, // enable auto configuration of networkID == chainID - TxLookupLimit: 2350000, - TransactionHistory: 2350000, + NetworkId: 0, // enable auto configuration of networkID == chainID + TxLookupLimit: 2350000 * 12, // Increase by factor 12 to adapt to Celo 1s block time + TransactionHistory: 2350000 * 12, // Increase by factor 12 to adapt to Celo 1s block time StateHistory: params.FullImmutabilityThreshold, DatabaseCache: 512, TrieCleanCache: 154,