Skip to main content

Module b2e_payload

Module b2e_payload 

Source
Expand description

Command Line handler to convert Beacon block’s execution payload to Execution format.

Re-exports§

use alloy_rpc_types_beacon::payload::BeaconBlockData; 🔒
use clap::Parser; 🔒
use eyre::Result; 🔒
use eyre::eyre; 🔒
use foundry_common::fs; 🔒
use foundry_common::sh_print; 🔒

Structs§

B2EPayloadArgs
CLI arguments for cast b2e-payload, convert Beacon block’s execution payload to Execution format.

Functions§

read_input 🔒
Returns input if it is raw JSON, otherwise reads it as a file path.