pub(crate) fn build_mined_deposit_receipt<H>(
result: ExecutionResult<H>,
hardfork: Option<FoundryHardfork>,
depositor_nonce: u64,
cumulative_gas_used: u64,
) -> FoundryReceiptEnvelopeAvailable on crate features
base or optimism only.Expand description
Builds a mined OP deposit receipt and derives its fork-specific metadata.
depositor_nonce is the sender nonce before the deposit executed. Without a configured
hardfork the receipt carries both fields, matching the network’s default configuration.