Skip to content

Commit

Permalink
refactor(transactions):make the only query field in declare tx public
Browse files Browse the repository at this point in the history
  • Loading branch information
meship-starkware committed Jul 29, 2024
1 parent a65d3f9 commit ebb40ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/blockifier/src/transaction/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ebb40ea

Please sign in to comment.