diff --git a/crates/blockifier/src/transaction/account_transaction.rs b/crates/blockifier/src/transaction/account_transaction.rs index bde616b0b2..1b8ce0881b 100644 --- a/crates/blockifier/src/transaction/account_transaction.rs +++ b/crates/blockifier/src/transaction/account_transaction.rs @@ -150,7 +150,12 @@ impl HasRelatedFeeType for AccountTransaction { } impl AccountTransaction { - implement_tx_getter_calls!((resource_bounds, ValidResourceBounds), (tip, Tip)); + implement_tx_getter_calls!( + (resource_bounds, ValidResourceBounds), + (tip, Tip), + (sender_address, ContractAddress), + (tx_hash, TransactionHash) + ); implement_account_tx_inner_getters!( (signature, TransactionSignature), @@ -168,10 +173,6 @@ impl AccountTransaction { AccountTransaction { tx, only_query: true } } - pub fn sender_address(&self) -> ContractAddress { - self.tx.sender_address() - } - pub fn class_hash(&self) -> Option { match &self.tx { Transaction::Declare(tx) => Some(tx.tx.class_hash()), @@ -238,10 +239,6 @@ impl AccountTransaction { self.signature().0.len() } - pub fn tx_hash(&self) -> TransactionHash { - self.tx.tx_hash() - } - pub fn enforce_fee(&self) -> bool { self.create_tx_info().enforce_fee() }