feat: Add call forwarder

4b793c496b
This commit is contained in:
sprites0
2025-07-05 03:10:26 +00:00
parent 2943ba03a7
commit ba33d9e8ac
4 changed files with 112 additions and 0 deletions

View File

@ -46,6 +46,12 @@ pub struct HlNodeArgs {
/// 3. filters out logs and transactions from subscription.
#[arg(long, env = "HL_NODE_COMPLIANT")]
pub hl_node_compliant: bool,
/// Forward eth_call and eth_estimateGas to the upstream RPC.
///
/// This is useful when read precompile is needed for gas estimation.
#[arg(long, env = "FORWARD_CALL")]
pub forward_call: bool,
}
/// The main reth_hl cli interface.