reth
reth copied to clipboard
feat(rpc): WIP support `deposit_receipt_version` in `OpTxBuilder`
In the fill method, both TransactionSignedEcRecovered and TransactionInfo don't have access to the deposit_receipt_version so I added two ways to use an additional parameter, OpChainSpec or OpTransactionReceipt to obtain the version. The function that calls fill can now instead call fill_with_spec or fill_with_receipt.
Fixes: https://github.com/paradigmxyz/reth/issues/11164