@@ -584,6 +584,12 @@ class ProgramManager {
584
584
}
585
585
}
586
586
587
+ if ( offlineQuery ) {
588
+ console . log ( "Using offline query." ) ;
589
+ } else {
590
+ console . log ( "Not using offline query." ) ;
591
+ }
592
+
587
593
// Build an execution transaction
588
594
return await WasmProgramManager . buildExecutionTransaction (
589
595
executionPrivateKey ,
@@ -1382,6 +1388,12 @@ class ProgramManager {
1382
1388
) ;
1383
1389
}
1384
1390
1391
+ if ( offlineQuery ) {
1392
+ console . log ( "Using offline query." ) ;
1393
+ } else {
1394
+ console . log ( "Using online query." )
1395
+ }
1396
+
1385
1397
// Build an execution transaction
1386
1398
return await WasmProgramManager . buildTransferTransaction (
1387
1399
executionPrivateKey ,
@@ -1648,6 +1660,7 @@ class ProgramManager {
1648
1660
privateFee,
1649
1661
inputs,
1650
1662
keySearchParams,
1663
+ program,
1651
1664
...additionalOptions ,
1652
1665
} ;
1653
1666
@@ -1788,6 +1801,7 @@ class ProgramManager {
1788
1801
privateFee,
1789
1802
inputs,
1790
1803
keySearchParams,
1804
+ program,
1791
1805
...additionalOptions ,
1792
1806
} ;
1793
1807
@@ -1918,6 +1932,7 @@ class ProgramManager {
1918
1932
privateFee,
1919
1933
inputs,
1920
1934
keySearchParams,
1935
+ program,
1921
1936
...additionalOptions ,
1922
1937
} ;
1923
1938
@@ -2045,6 +2060,7 @@ class ProgramManager {
2045
2060
privateFee,
2046
2061
inputs,
2047
2062
keySearchParams,
2063
+ program,
2048
2064
...additionalOptions ,
2049
2065
} ;
2050
2066
@@ -2163,6 +2179,7 @@ class ProgramManager {
2163
2179
verifierUri : CREDITS_PROGRAM_KEYS . set_validator_state . verifier ,
2164
2180
cacheKey : "credits.aleo/set_validator_state" ,
2165
2181
} ) ,
2182
+ program = this . creditsProgram ( ) ,
2166
2183
...additionalOptions
2167
2184
} = options ;
2168
2185
@@ -2173,6 +2190,7 @@ class ProgramManager {
2173
2190
privateFee,
2174
2191
inputs,
2175
2192
keySearchParams,
2193
+ program,
2176
2194
...additionalOptions ,
2177
2195
} ;
2178
2196
0 commit comments