Skip to content

Commit

Permalink
add BroadcastedDeployAccountTxn::V3
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaron committed Nov 25, 2024
1 parent 7ef3023 commit 9ab20b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/starknet-types-rpc/src/custom/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub enum BroadcastedDeclareTxn<F: Default> {
V2(BroadcastedDeclareTxnV2<F>),
#[serde(rename = "0x3")]
V3(BroadcastedDeclareTxnV3<F>),

/// Query-only broadcasted declare transaction.
#[serde(rename = "0x0000000000000000000000000000000100000000000000000000000000000001")]
QueryV1(BroadcastedDeclareTxnV1<F>),
Expand All @@ -33,6 +34,9 @@ pub enum BroadcastedDeclareTxn<F: Default> {
pub enum BroadcastedDeployAccountTxn<F> {
#[serde(rename = "0x1")]
V1(DeployAccountTxnV1<F>),
#[serde(rename = "0x3")]
V3(DeployAccountTxnV3<F>),

/// Query-only broadcasted deploy account transaction.
#[serde(rename = "0x0000000000000000000000000000000100000000000000000000000000000001")]
QueryV1(DeployAccountTxnV1<F>),
Expand Down

0 comments on commit 9ab20b0

Please sign in to comment.