chore!:unify trait fn naming for recovery (#13981)

This commit is contained in:
Matthias Seitz
2025-01-24 21:56:46 +01:00
committed by GitHub
parent 61ae871d94
commit 5dac5cfc62
16 changed files with 58 additions and 60 deletions

View File

@ -789,10 +789,9 @@ where
// purely for the purposes of utilizing the `evm_config.tx_env`` function.
// Deposit transactions do not have signatures, so if the tx is a deposit, this
// will just pull in its `from` address.
let sequencer_tx =
sequencer_tx.value().clone().try_into_ecrecovered().map_err(|_| {
PayloadBuilderError::other(OpPayloadBuilderError::TransactionEcRecoverFailed)
})?;
let sequencer_tx = sequencer_tx.value().try_clone_into_recovered().map_err(|_| {
PayloadBuilderError::other(OpPayloadBuilderError::TransactionEcRecoverFailed)
})?;
// Cache the depositor account prior to the state transition for the deposit nonce.
//