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§

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

Traits§

  • 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§

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