mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(sdk): Impl alloy_consensus::Transaction for TransactionSigned (#11843)
This commit is contained in:
@ -1183,7 +1183,7 @@ impl PoolTransaction for EthPooledTransaction {
|
||||
/// For EIP-1559 transactions: `min(max_fee_per_gas - base_fee, max_priority_fee_per_gas)`.
|
||||
/// For legacy transactions: `gas_price - base_fee`.
|
||||
fn effective_tip_per_gas(&self, base_fee: u64) -> Option<u128> {
|
||||
self.transaction.effective_tip_per_gas(Some(base_fee))
|
||||
self.transaction.effective_tip_per_gas(base_fee)
|
||||
}
|
||||
|
||||
/// Returns the max priority fee per gas if the transaction is an EIP-1559 transaction, and
|
||||
@ -1199,7 +1199,7 @@ impl PoolTransaction for EthPooledTransaction {
|
||||
}
|
||||
|
||||
fn input(&self) -> &[u8] {
|
||||
self.transaction.input().as_ref()
|
||||
self.transaction.input()
|
||||
}
|
||||
|
||||
/// Returns a measurement of the heap usage of this type and all its internals.
|
||||
|
||||
Reference in New Issue
Block a user