feat(engine-util): reorg interceptor (#10173)

This commit is contained in:
Roman Krasiuk
2024-08-07 12:50:49 -07:00
committed by GitHub
parent a706206695
commit d62ce79535
11 changed files with 502 additions and 15 deletions

View File

@@ -50,6 +50,10 @@ pub struct DebugArgs {
#[arg(long = "debug.skip-new-payload", help_heading = "Debug")]
pub skip_new_payload: Option<usize>,
/// If provided, the chain will be reorged at specified frequency.
#[arg(long = "debug.reorg-frequency", help_heading = "Debug")]
pub reorg_frequency: Option<usize>,
/// The path to store engine API messages at.
/// If specified, all of the intercepted engine API messages
/// will be written to specified location.