Skip to content

Commit

Permalink
refactor(transaction): 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 31, 2024
1 parent 0a4d9c2 commit f1a6805
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/blockifier/src/transaction/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f1a6805

Please sign in to comment.