From 17423f64d9a9c6090c5fda04653fd64988d34336 Mon Sep 17 00:00:00 2001 From: goldsquid Date: Thu, 4 Sep 2025 12:41:11 +0700 Subject: [PATCH] add cache --- berachain/reth/berachain-bartio-reth-archive-trace.yml | 1 + berachain/reth/berachain-bartio-reth-pruned-trace.yml | 1 + berachain/reth/berachain-bepolia-reth-archive-trace.yml | 1 + berachain/reth/berachain-bepolia-reth-pruned-trace.yml | 1 + berachain/reth/berachain-mainnet-reth-archive-trace.yml | 1 + berachain/reth/berachain-mainnet-reth-pruned-trace.yml | 1 + ethereum/reth/ethereum-holesky-reth-archive-trace.yml | 1 + ethereum/reth/ethereum-holesky-reth-pruned-trace.yml | 1 + ...ereum-mainnet-reth-archive-trace--lighthouse-pruned-blobs.yml | 1 + ethereum/reth/ethereum-mainnet-reth-archive-trace--nimbus.yml | 1 + ethereum/reth/ethereum-mainnet-reth-archive-trace.yml | 1 + ethereum/reth/ethereum-mainnet-reth-minimal-trace--blsync.yml | 1 + ethereum/reth/ethereum-mainnet-reth-minimal-trace--nimbus.yml | 1 + ethereum/reth/ethereum-mainnet-reth-pruned-trace--lighthouse.yml | 1 + ethereum/reth/ethereum-mainnet-reth-pruned-trace--nimbus.yml | 1 + ethereum/reth/ethereum-mainnet-reth-pruned-trace.yml | 1 + ethereum/reth/ethereum-sepolia-reth-archive-trace.yml | 1 + ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml | 1 + 18 files changed, 18 insertions(+) diff --git a/berachain/reth/berachain-bartio-reth-archive-trace.yml b/berachain/reth/berachain-bartio-reth-archive-trace.yml index f1a5abe9..7d118ade 100644 --- a/berachain/reth/berachain-bartio-reth-archive-trace.yml +++ b/berachain/reth/berachain-bartio-reth-archive-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=10527 + - --engine.cross-block-cache-size=${BERACHAIN_BARTIO_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/berachain/reth/berachain-bartio-reth-pruned-trace.yml b/berachain/reth/berachain-bartio-reth-pruned-trace.yml index c31aac9a..4dbcabbe 100644 --- a/berachain/reth/berachain-bartio-reth-pruned-trace.yml +++ b/berachain/reth/berachain-bartio-reth-pruned-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=14467 + - --engine.cross-block-cache-size=${BERACHAIN_BARTIO_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/berachain/reth/berachain-bepolia-reth-archive-trace.yml b/berachain/reth/berachain-bepolia-reth-archive-trace.yml index 4cd3d38a..6b6f991f 100644 --- a/berachain/reth/berachain-bepolia-reth-archive-trace.yml +++ b/berachain/reth/berachain-bepolia-reth-archive-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=11347 + - --engine.cross-block-cache-size=${BERACHAIN_BEPOLIA_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/berachain/reth/berachain-bepolia-reth-pruned-trace.yml b/berachain/reth/berachain-bepolia-reth-pruned-trace.yml index 8a586de5..a224cad8 100644 --- a/berachain/reth/berachain-bepolia-reth-pruned-trace.yml +++ b/berachain/reth/berachain-bepolia-reth-pruned-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=12274 + - --engine.cross-block-cache-size=${BERACHAIN_BEPOLIA_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/berachain/reth/berachain-mainnet-reth-archive-trace.yml b/berachain/reth/berachain-mainnet-reth-archive-trace.yml index 81c795ad..3a1f3c3c 100644 --- a/berachain/reth/berachain-mainnet-reth-archive-trace.yml +++ b/berachain/reth/berachain-mainnet-reth-archive-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=12881 + - --engine.cross-block-cache-size=${BERACHAIN_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/berachain/reth/berachain-mainnet-reth-pruned-trace.yml b/berachain/reth/berachain-mainnet-reth-pruned-trace.yml index 9755f193..f7ab763a 100644 --- a/berachain/reth/berachain-mainnet-reth-pruned-trace.yml +++ b/berachain/reth/berachain-mainnet-reth-pruned-trace.yml @@ -85,6 +85,7 @@ services: - --chain=/config/eth-genesis.json - --datadir=/root/.local/share/reth - --discovery.port=10900 + - --engine.cross-block-cache-size=${BERACHAIN_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-holesky-reth-archive-trace.yml b/ethereum/reth/ethereum-holesky-reth-archive-trace.yml index 04da7f87..3e094a38 100644 --- a/ethereum/reth/ethereum-holesky-reth-archive-trace.yml +++ b/ethereum/reth/ethereum-holesky-reth-archive-trace.yml @@ -58,6 +58,7 @@ services: - --chain=holesky - --datadir=/root/.local/share/reth - --discovery.port=13752 + - --engine.cross-block-cache-size=${ETHEREUM_HOLESKY_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/ethereum/reth/ethereum-holesky-reth-pruned-trace.yml b/ethereum/reth/ethereum-holesky-reth-pruned-trace.yml index 5645cdaf..3107fc6a 100644 --- a/ethereum/reth/ethereum-holesky-reth-pruned-trace.yml +++ b/ethereum/reth/ethereum-holesky-reth-pruned-trace.yml @@ -58,6 +58,7 @@ services: - --chain=holesky - --datadir=/root/.local/share/reth - --discovery.port=11849 + - --engine.cross-block-cache-size=${ETHEREUM_HOLESKY_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-mainnet-reth-archive-trace--lighthouse-pruned-blobs.yml b/ethereum/reth/ethereum-mainnet-reth-archive-trace--lighthouse-pruned-blobs.yml index 6d1e7bcb..3ad0cdc0 100644 --- a/ethereum/reth/ethereum-mainnet-reth-archive-trace--lighthouse-pruned-blobs.yml +++ b/ethereum/reth/ethereum-mainnet-reth-archive-trace--lighthouse-pruned-blobs.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=14563 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/ethereum/reth/ethereum-mainnet-reth-archive-trace--nimbus.yml b/ethereum/reth/ethereum-mainnet-reth-archive-trace--nimbus.yml index 98b00a75..19c35926 100644 --- a/ethereum/reth/ethereum-mainnet-reth-archive-trace--nimbus.yml +++ b/ethereum/reth/ethereum-mainnet-reth-archive-trace--nimbus.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=14563 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/ethereum/reth/ethereum-mainnet-reth-archive-trace.yml b/ethereum/reth/ethereum-mainnet-reth-archive-trace.yml index b41b3619..96e777b0 100644 --- a/ethereum/reth/ethereum-mainnet-reth-archive-trace.yml +++ b/ethereum/reth/ethereum-mainnet-reth-archive-trace.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=14563 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/ethereum/reth/ethereum-mainnet-reth-minimal-trace--blsync.yml b/ethereum/reth/ethereum-mainnet-reth-minimal-trace--blsync.yml index 7b5bb037..025e04ae 100644 --- a/ethereum/reth/ethereum-mainnet-reth-minimal-trace--blsync.yml +++ b/ethereum/reth/ethereum-mainnet-reth-minimal-trace--blsync.yml @@ -61,6 +61,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=14286 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-mainnet-reth-minimal-trace--nimbus.yml b/ethereum/reth/ethereum-mainnet-reth-minimal-trace--nimbus.yml index e7120995..533c5ccc 100644 --- a/ethereum/reth/ethereum-mainnet-reth-minimal-trace--nimbus.yml +++ b/ethereum/reth/ethereum-mainnet-reth-minimal-trace--nimbus.yml @@ -84,6 +84,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=14286 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-mainnet-reth-pruned-trace--lighthouse.yml b/ethereum/reth/ethereum-mainnet-reth-pruned-trace--lighthouse.yml index e3393ba7..7775831e 100644 --- a/ethereum/reth/ethereum-mainnet-reth-pruned-trace--lighthouse.yml +++ b/ethereum/reth/ethereum-mainnet-reth-pruned-trace--lighthouse.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=10150 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-mainnet-reth-pruned-trace--nimbus.yml b/ethereum/reth/ethereum-mainnet-reth-pruned-trace--nimbus.yml index 7fa9c9e8..78f5e244 100644 --- a/ethereum/reth/ethereum-mainnet-reth-pruned-trace--nimbus.yml +++ b/ethereum/reth/ethereum-mainnet-reth-pruned-trace--nimbus.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=10150 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-mainnet-reth-pruned-trace.yml b/ethereum/reth/ethereum-mainnet-reth-pruned-trace.yml index 1701bc9f..d7a6c9bc 100644 --- a/ethereum/reth/ethereum-mainnet-reth-pruned-trace.yml +++ b/ethereum/reth/ethereum-mainnet-reth-pruned-trace.yml @@ -58,6 +58,7 @@ services: - --chain=mainnet - --datadir=/root/.local/share/reth - --discovery.port=10150 + - --engine.cross-block-cache-size=${ETHEREUM_MAINNET_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full diff --git a/ethereum/reth/ethereum-sepolia-reth-archive-trace.yml b/ethereum/reth/ethereum-sepolia-reth-archive-trace.yml index 151a74ae..e57f65fe 100644 --- a/ethereum/reth/ethereum-sepolia-reth-archive-trace.yml +++ b/ethereum/reth/ethereum-sepolia-reth-archive-trace.yml @@ -58,6 +58,7 @@ services: - --chain=sepolia - --datadir=/root/.local/share/reth - --discovery.port=14330 + - --engine.cross-block-cache-size=${ETHEREUM_SEPOLIA_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --max-inbound-peers=50 diff --git a/ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml b/ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml index 4fa458de..5b965808 100644 --- a/ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml +++ b/ethereum/reth/ethereum-sepolia-reth-pruned-trace.yml @@ -58,6 +58,7 @@ services: - --chain=sepolia - --datadir=/root/.local/share/reth - --discovery.port=12150 + - --engine.cross-block-cache-size=${ETHEREUM_SEPOLIA_RETH_STATE_CACHE:-4096} - --engine.memory-block-buffer-target=0 - --engine.persistence-threshold=0 - --full