feat: --debug.etherscan for fake consensus client (#8082)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
This commit is contained in:
Seva Zhidkov
2024-06-10 19:39:52 +03:00
committed by GitHub
parent b16a6ec029
commit 3a8baa0106
12 changed files with 689 additions and 3 deletions

View File

@ -463,6 +463,12 @@ Debug:
--debug.max-block <MAX_BLOCK>
Runs the sync only up to the specified block
--debug.etherscan [<ETHERSCAN_API_URL>]
Runs a fake consensus client that advances the chain using recent block hashes on Etherscan. If specified, requires an `ETHERSCAN_API_KEY` environment variable
--debug.rpc-consensus-ws <RPC_CONSENSUS_WS>
Runs a fake consensus client using blocks fetched from an RPC `WebSocket` endpoint
--debug.skip-fcu <SKIP_FCU>
If provided, the engine will skip `n` consecutive FCUs