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 - Debug consensus client that sends FCUs and new payloads using recent blocks from an external provider like Etherscan or an RPC endpoint.
- Etherscan
Block Provider - Block provider that fetches new blocks from Etherscan API.
- RpcBlock
Provider - Block provider that fetches new blocks from an RPC endpoint using a websocket connection.
Traits§
- Block
Provider - 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.