@@ -619,6 +619,12 @@ class ProgramManager {
619
619
}
620
620
}
621
621
622
+ if ( offlineQuery ) {
623
+ console . log ( "Using offline query." ) ;
624
+ } else {
625
+ console . log ( "Not using offline query." ) ;
626
+ }
627
+
622
628
// Build an execution transaction
623
629
return await WasmProgramManager . buildExecutionTransaction (
624
630
executionPrivateKey ,
@@ -1545,6 +1551,12 @@ class ProgramManager {
1545
1551
) ;
1546
1552
}
1547
1553
1554
+ if ( offlineQuery ) {
1555
+ console . log ( "Using offline query." ) ;
1556
+ } else {
1557
+ console . log ( "Using online query." )
1558
+ }
1559
+
1548
1560
// Build an execution transaction
1549
1561
return await WasmProgramManager . buildTransferTransaction (
1550
1562
executionPrivateKey ,
@@ -1811,6 +1823,7 @@ class ProgramManager {
1811
1823
privateFee,
1812
1824
inputs,
1813
1825
keySearchParams,
1826
+ program,
1814
1827
...additionalOptions ,
1815
1828
} ;
1816
1829
@@ -1951,6 +1964,7 @@ class ProgramManager {
1951
1964
privateFee,
1952
1965
inputs,
1953
1966
keySearchParams,
1967
+ program,
1954
1968
...additionalOptions ,
1955
1969
} ;
1956
1970
@@ -2081,6 +2095,7 @@ class ProgramManager {
2081
2095
privateFee,
2082
2096
inputs,
2083
2097
keySearchParams,
2098
+ program,
2084
2099
...additionalOptions ,
2085
2100
} ;
2086
2101
@@ -2208,6 +2223,7 @@ class ProgramManager {
2208
2223
privateFee,
2209
2224
inputs,
2210
2225
keySearchParams,
2226
+ program,
2211
2227
...additionalOptions ,
2212
2228
} ;
2213
2229
@@ -2326,6 +2342,7 @@ class ProgramManager {
2326
2342
verifierUri : CREDITS_PROGRAM_KEYS . set_validator_state . verifier ,
2327
2343
cacheKey : "credits.aleo/set_validator_state" ,
2328
2344
} ) ,
2345
+ program = this . creditsProgram ( ) ,
2329
2346
...additionalOptions
2330
2347
} = options ;
2331
2348
@@ -2336,6 +2353,7 @@ class ProgramManager {
2336
2353
privateFee,
2337
2354
inputs,
2338
2355
keySearchParams,
2356
+ program,
2339
2357
...additionalOptions ,
2340
2358
} ;
2341
2359
0 commit comments