Skip to content

Commit 7ea69da

Browse files
committed
refactor(anvil): remove TransactionEssentials struct
1 parent bd42484 commit 7ea69da

File tree

1 file changed

+0
-16
lines changed
  • crates/anvil/core/src/eth/transaction

1 file changed

+0
-16
lines changed

crates/anvil/core/src/eth/transaction/mod.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -537,22 +537,6 @@ impl TypedTransaction {
537537
}
538538
}
539539

540-
#[derive(Clone, Debug, PartialEq, Eq)]
541-
pub struct TransactionEssentials {
542-
pub kind: TxKind,
543-
pub input: Bytes,
544-
pub nonce: u64,
545-
pub gas_limit: u64,
546-
pub gas_price: Option<u128>,
547-
pub max_fee_per_gas: Option<u128>,
548-
pub max_priority_fee_per_gas: Option<u128>,
549-
pub max_fee_per_blob_gas: Option<u128>,
550-
pub blob_versioned_hashes: Option<Vec<B256>>,
551-
pub value: U256,
552-
pub chain_id: Option<u64>,
553-
pub access_list: AccessList,
554-
}
555-
556540
/// Represents all relevant information of an executed transaction
557541
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
558542
pub struct TransactionInfo {

0 commit comments

Comments
 (0)