Function parse_deposits_from_receipts

pub fn parse_deposits_from_receipts<'a, I, R>(
    spec: impl EthExecutorSpec,
    receipts: I,
) -> Result<Bytes, BlockValidationError>
where I: IntoIterator<Item = &'a R>, R: TxReceipt<Log = Log> + 'a,
Available on crate feature evm only.
Expand description

Find deposit logs in a list of receipts, and return the concatenated deposit request bytestring.

The address of the deposit contract is taken from the chain spec, and defaults to MAINNET_DEPOSIT_CONTRACT_ADDRESS if not specified in the chain spec.