Skip to content

Commit 3f9aa2f

Browse files
authored
fix: add --rpc.eth-proof-window flag to reth (#1390)
When using reth via reth-rbuilder, add the `--rpc.eth-proof-window` flag to avoid the following errors when running block simulation ``` block is too old, outside validation window ```
1 parent 69d7125 commit 3f9aa2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/el/reth/reth_launcher.star

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ def get_config(
296296
cmd.append(
297297
"--txpool.no-local-transactions-propagation"
298298
) # disable tx propagation so that builder will have juicy blocks
299+
cmd.append("--rpc.eth-proof-window=3")
299300
files[
300301
flashbots_rbuilder.MEV_BUILDER_MOUNT_DIRPATH_ON_SERVICE
301302
] = flashbots_rbuilder.MEV_BUILDER_FILES_ARTIFACT_NAME

0 commit comments

Comments
 (0)