mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: mark ecrecovered types as deprecated (#13882)
This commit is contained in:
@ -45,9 +45,10 @@ pub use alloy_consensus::{
|
||||
};
|
||||
pub use transaction::{
|
||||
util::secp256k1::{public_key_to_address, recover_signer_unchecked, sign_message},
|
||||
InvalidTransactionError, PooledTransactionsElementEcRecovered, Transaction, TransactionSigned,
|
||||
TransactionSignedEcRecovered, TxType,
|
||||
InvalidTransactionError, Transaction, TransactionSigned, TxType,
|
||||
};
|
||||
#[allow(deprecated)]
|
||||
pub use transaction::{PooledTransactionsElementEcRecovered, TransactionSignedEcRecovered};
|
||||
|
||||
// Re-exports
|
||||
pub use reth_ethereum_forks::*;
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
use crate::RecoveredTx;
|
||||
pub use alloy_consensus::transaction::PooledTransaction;
|
||||
use once_cell as _;
|
||||
#[allow(deprecated)]
|
||||
pub use pooled::PooledTransactionsElementEcRecovered;
|
||||
pub use reth_primitives_traits::{
|
||||
sync::{LazyLock, OnceLock},
|
||||
@ -29,4 +30,5 @@ mod tx_type;
|
||||
pub use reth_ethereum_primitives::{Transaction, TransactionSigned};
|
||||
|
||||
/// Type alias kept for backward compatibility.
|
||||
#[deprecated(note = "Use `Recovered` instead")]
|
||||
pub type TransactionSignedEcRecovered<T = TransactionSigned> = RecoveredTx<T>;
|
||||
|
||||
@ -5,4 +5,5 @@ use crate::RecoveredTx;
|
||||
use alloy_consensus::transaction::PooledTransaction;
|
||||
|
||||
/// A signed pooled transaction with recovered signer.
|
||||
#[deprecated(note = "use `Recovered` instead")]
|
||||
pub type PooledTransactionsElementEcRecovered<T = PooledTransaction> = RecoveredTx<T>;
|
||||
|
||||
Reference in New Issue
Block a user