Crate reth_consensus_debug_client

Source
Expand description

Debug consensus client.

This is a worker that sends FCUs and new payloads by fetching recent blocks from an external provider like Etherscan or an RPC endpoint. This allows to quickly test the execution client without running a consensus node.

Structs§

DebugConsensusClient
Debug consensus client that sends FCUs and new payloads using recent blocks from an external provider like Etherscan or an RPC endpoint.
EtherscanBlockProvider
Block provider that fetches new blocks from Etherscan API.
RpcBlockProvider
Block provider that fetches new blocks from an RPC endpoint using a websocket connection.

Traits§

BlockProvider
Supplies consensus client with new blocks sent in tx and a callback to find specific blocks by number to fetch past finalized and safe blocks.

Functions§

block_to_execution_payload_v3
Convert a block from RPC / Etherscan to params for an execution client’s “new payload” method. Assumes that the block contains full transactions.