chore: apply same impl order (#2937)

This commit is contained in:
Matthias Seitz
2023-06-01 00:44:34 +02:00
committed by GitHub
parent 9a0aeea543
commit 10717a7cc3
11 changed files with 69 additions and 69 deletions

View File

@ -481,10 +481,6 @@ mod tests {
}
impl WithdrawalsProvider for Provider {
fn latest_withdrawal(&self) -> Result<Option<Withdrawal>> {
self.withdrawals_provider.latest_withdrawal()
}
fn withdrawals_by_block(
&self,
_id: BlockHashOrNumber,
@ -492,6 +488,10 @@ mod tests {
) -> RethResult<Option<Vec<Withdrawal>>> {
self.withdrawals_provider.withdrawals_by_block(_id, _timestamp)
}
fn latest_withdrawal(&self) -> Result<Option<Withdrawal>> {
self.withdrawals_provider.latest_withdrawal()
}
}
fn mock_tx(nonce: u64) -> TransactionSignedEcRecovered {