From ebb40ead3f8fa59e77cb417c6cf09b3ea5f093f6 Mon Sep 17 00:00:00 2001 From: meship-starkware Date: Mon, 29 Jul 2024 13:59:22 +0300 Subject: [PATCH] refactor(transactions):make the only query field in declare tx public --- crates/blockifier/src/transaction/transactions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/blockifier/src/transaction/transactions.rs b/crates/blockifier/src/transaction/transactions.rs index 830efbd7b3e..06720f2863a 100644 --- a/crates/blockifier/src/transaction/transactions.rs +++ b/crates/blockifier/src/transaction/transactions.rs @@ -133,12 +133,12 @@ pub struct DeclareTransaction { pub tx: starknet_api::transaction::DeclareTransaction, pub tx_hash: TransactionHash, // Indicates the presence of the only_query bit in the version. - only_query: bool, + pub only_query: bool, pub class_info: ClassInfo, } impl DeclareTransaction { - fn create( + pub fn create( declare_tx: starknet_api::transaction::DeclareTransaction, tx_hash: TransactionHash, class_info: ClassInfo,