File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/starknet_api/src/test_utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pub struct InvokeTxArgs {
5050 pub nonce : Nonce ,
5151 pub only_query : bool ,
5252 pub tx_hash : TransactionHash ,
53- // TODO(AvivG): add proof_facts for testing.
53+ pub proof_facts : ProofFacts ,
5454}
5555
5656impl Default for InvokeTxArgs {
@@ -70,6 +70,7 @@ impl Default for InvokeTxArgs {
7070 nonce : Nonce :: default ( ) ,
7171 only_query : false ,
7272 tx_hash : TransactionHash :: default ( ) ,
73+ proof_facts : ProofFacts :: default ( ) ,
7374 }
7475 }
7576}
@@ -122,8 +123,7 @@ pub fn invoke_tx(invoke_args: InvokeTxArgs) -> InvokeTransaction {
122123 fee_data_availability_mode : invoke_args. fee_data_availability_mode ,
123124 paymaster_data : invoke_args. paymaster_data ,
124125 account_deployment_data : invoke_args. account_deployment_data ,
125- // TODO(AvivG): Get proof_facts from invoke_args once supported.
126- proof_facts : ProofFacts :: default ( ) ,
126+ proof_facts : invoke_args. proof_facts ,
127127 } )
128128 } else {
129129 panic ! ( "Unsupported transaction version: {:?}." , invoke_args. version)
You can’t perform that action at this time.
0 commit comments