Module helpers

Module helpers 

Source
Expand description

Common helpers for reth-bench commands.

Structsยง

PayloadRequest ๐Ÿ”’
Prepared payload request data for triggering block building.

Functionsยง

build_payload ๐Ÿ”’
Trigger payload building via FCU and retrieve the built payload.
get_payload_with_sidecar ๐Ÿ”’
Fetch an execution payload using the appropriate engine API version.
parse_gas_limit ๐Ÿ”’
Parses a gas limit value with optional suffix: K for thousand, M for million, G for billion.
prepare_payload_request ๐Ÿ”’
Prepare payload attributes and forkchoice state for a new block.
rpc_block_to_header ๐Ÿ”’
Convert an RPC block to a consensus header and block hash.
versioned_hashes_from_commitments ๐Ÿ”’
Compute versioned hashes from KZG commitments.