From f1a680526e23c3c557d7174befc9f160e916c315 Mon Sep 17 00:00:00 2001 From: meship-starkware Date: Mon, 29 Jul 2024 13:59:22 +0300 Subject: [PATCH] refactor(transaction): make the only query field in declare tx public --- 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 834660c740..3b7e08b80d 100644 --- a/crates/blockifier/src/transaction/transactions.rs +++ b/crates/blockifier/src/transaction/transactions.rs @@ -136,7 +136,7 @@ pub struct DeclareTransaction { } impl DeclareTransaction { - fn create( + pub fn create( declare_tx: starknet_api::transaction::DeclareTransaction, tx_hash: TransactionHash, class_info: ClassInfo, @@ -286,7 +286,7 @@ pub struct DeployAccountTransaction { pub tx_hash: TransactionHash, pub contract_address: ContractAddress, // Indicates the presence of the only_query bit in the version. - pub only_query: bool, + only_query: bool, } impl DeployAccountTransaction { @@ -386,7 +386,7 @@ pub struct InvokeTransaction { pub tx: starknet_api::transaction::InvokeTransaction, pub tx_hash: TransactionHash, // Indicates the presence of the only_query bit in the version. - pub only_query: bool, + only_query: bool, } impl InvokeTransaction {