pub fn parse_deposits_from_receipts<'a, I>(
chainspec: &ChainSpec,
receipts: I,
) -> Result<Bytes, BlockValidationError>where
I: IntoIterator<Item = &'a Receipt>,
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.