Skip to content

Commit

Permalink
fix: version DeployAccountTxn
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaron committed Dec 18, 2024
1 parent 099aee6 commit 570eb3e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crates/starknet-types-rpc/src/v0_7_1/starknet_api_openrpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,6 @@ pub struct BroadcastedDeclareTxnV3<F: Default> {
/// the tip for the transaction
#[serde(with = "NumAsHex")]
pub tip: u64,
/// Version of the transaction scheme
pub version: Version,
}

/// Version of the transaction scheme
#[derive(Eq, Hash, PartialEq, Serialize, Deserialize, Clone, Debug)]
pub enum Version {
#[serde(rename = "0x100000000000000000000000000000003")]
X100000000000000000000000000000003,
#[serde(rename = "0x3")]
X3,
}

#[derive(Eq, Hash, PartialEq, Serialize, Deserialize, Clone, Debug)]
Expand Down

0 comments on commit 570eb3e

Please sign in to comment.