From 421e3986405a5c57103095167d275e4f4ab90159 Mon Sep 17 00:00:00 2001 From: Arni Hod Date: Mon, 12 Aug 2024 12:46:02 +0300 Subject: [PATCH] chore: make tx_hash member private --- crates/blockifier/src/transaction/transactions.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/blockifier/src/transaction/transactions.rs b/crates/blockifier/src/transaction/transactions.rs index 262acbb657..f6b0c4961c 100644 --- a/crates/blockifier/src/transaction/transactions.rs +++ b/crates/blockifier/src/transaction/transactions.rs @@ -129,7 +129,7 @@ pub trait ValidatableTransaction { #[derive(Clone, Debug)] pub struct DeclareTransaction { pub tx: starknet_api::transaction::DeclareTransaction, - pub tx_hash: TransactionHash, + tx_hash: TransactionHash, // Indicates the presence of the only_query bit in the version. only_query: bool, pub class_info: ClassInfo, @@ -310,7 +310,7 @@ impl TransactionInfoCreator for DeclareTransaction { #[derive(Debug, Clone)] pub struct DeployAccountTransaction { pub tx: starknet_api::transaction::DeployAccountTransaction, - pub tx_hash: TransactionHash, + tx_hash: TransactionHash, pub contract_address: ContractAddress, // Indicates the presence of the only_query bit in the version. pub only_query: bool, @@ -416,7 +416,7 @@ impl TransactionInfoCreator for DeployAccountTransaction { #[derive(Debug, Clone)] pub struct InvokeTransaction { pub tx: starknet_api::transaction::InvokeTransaction, - pub tx_hash: TransactionHash, + tx_hash: TransactionHash, // Indicates the presence of the only_query bit in the version. pub only_query: bool, }