File tree Expand file tree Collapse file tree
starknet-devnet-types/src/rpc/transactions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -951,6 +951,7 @@ impl Starknet {
951951 } ,
952952 account_deployment_data : vec ! [ ] ,
953953 proof_facts : vec ! [ ] ,
954+ proof : String :: new ( ) ,
954955 } ;
955956
956957 // generate signature by signing the tx hash
Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ pub(crate) mod test_utils {
242242 calldata,
243243 account_deployment_data : vec ! [ ] ,
244244 proof_facts : vec ! [ ] ,
245+ proof : String :: new ( ) ,
245246 } )
246247 }
247248}
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ pub struct BroadcastedInvokeTransactionV3 {
1818 pub account_deployment_data : Vec < Felt > ,
1919 #[ serde( default ) ]
2020 pub proof_facts : Vec < Felt > ,
21+ #[ serde( default ) ]
22+ pub proof : String ,
2123}
2224
2325impl BroadcastedInvokeTransactionV3 {
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ pub struct InvokeTransactionV3 {
2828 calldata : Calldata ,
2929 #[ serde( default , skip_serializing_if = "Vec::is_empty" ) ]
3030 proof_facts : Vec < Felt > ,
31+ #[ serde( default , skip_serializing_if = "String::is_empty" ) ]
32+ proof : String ,
3133}
3234
3335impl InvokeTransactionV3 {
@@ -45,6 +47,7 @@ impl InvokeTransactionV3 {
4547 calldata : broadcasted_txn. calldata . clone ( ) ,
4648 account_deployment_data : broadcasted_txn. account_deployment_data . clone ( ) ,
4749 proof_facts : broadcasted_txn. proof_facts . clone ( ) ,
50+ proof : broadcasted_txn. proof . clone ( ) ,
4851 }
4952 }
5053
@@ -70,6 +73,7 @@ impl From<InvokeTransactionV3> for BroadcastedInvokeTransactionV3 {
7073 calldata : value. calldata ,
7174 account_deployment_data : value. account_deployment_data ,
7275 proof_facts : value. proof_facts ,
76+ proof : value. proof ,
7377 }
7478 }
7579}
Original file line number Diff line number Diff line change @@ -53,9 +53,7 @@ pub(crate) struct Args {
5353 #[ arg( env = "ACCOUNT_CLASS_CUSTOM" ) ]
5454 #[ arg( value_name = "PATH" ) ]
5555 #[ arg( conflicts_with = "account_class_choice" ) ]
56- #[ arg(
57- help = "Specify the path to a Cairo Sierra artifact to be used by predeployed accounts;"
58- ) ]
56+ #[ arg( help = "Specify the path to a Cairo Sierra artifact to be used by predeployed accounts;" ) ]
5957 account_class_custom : Option < AccountClassWrapper > ,
6058
6159 #[ arg( long = "predeclare-argent" ) ]
@@ -97,9 +95,7 @@ pub(crate) struct Args {
9795 #[ arg( env = "PORT" ) ]
9896 #[ arg( value_name = "PORT" ) ]
9997 #[ arg( default_value_t = DEVNET_DEFAULT_PORT ) ]
100- #[ arg(
101- help = "Specify the port to listen at; If 0, acquires a random free port and prints it;"
102- ) ]
98+ #[ arg( help = "Specify the port to listen at; If 0, acquires a random free port and prints it;" ) ]
10399 port : u16 ,
104100
105101 // Set start time in seconds
You can’t perform that action at this time.
0 commit comments