@@ -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 ,
@@ -1288,6 +1294,12 @@ class ProgramManager {
1288
1294
) ;
1289
1295
}
1290
1296
1297
+ if ( offlineQuery ) {
1298
+ console . log ( "Using offline query." ) ;
1299
+ } else {
1300
+ console . log ( "Using online query." )
1301
+ }
1302
+
1291
1303
// Build an execution transaction
1292
1304
return await WasmProgramManager . buildTransferTransaction (
1293
1305
executionPrivateKey ,
@@ -1554,6 +1566,7 @@ class ProgramManager {
1554
1566
privateFee,
1555
1567
inputs,
1556
1568
keySearchParams,
1569
+ program,
1557
1570
...additionalOptions ,
1558
1571
} ;
1559
1572
@@ -1694,6 +1707,7 @@ class ProgramManager {
1694
1707
privateFee,
1695
1708
inputs,
1696
1709
keySearchParams,
1710
+ program,
1697
1711
...additionalOptions ,
1698
1712
} ;
1699
1713
@@ -1824,6 +1838,7 @@ class ProgramManager {
1824
1838
privateFee,
1825
1839
inputs,
1826
1840
keySearchParams,
1841
+ program,
1827
1842
...additionalOptions ,
1828
1843
} ;
1829
1844
@@ -1951,6 +1966,7 @@ class ProgramManager {
1951
1966
privateFee,
1952
1967
inputs,
1953
1968
keySearchParams,
1969
+ program,
1954
1970
...additionalOptions ,
1955
1971
} ;
1956
1972
@@ -2069,6 +2085,7 @@ class ProgramManager {
2069
2085
verifierUri : CREDITS_PROGRAM_KEYS . set_validator_state . verifier ,
2070
2086
cacheKey : "credits.aleo/set_validator_state" ,
2071
2087
} ) ,
2088
+ program = this . creditsProgram ( ) ,
2072
2089
...additionalOptions
2073
2090
} = options ;
2074
2091
@@ -2079,6 +2096,7 @@ class ProgramManager {
2079
2096
privateFee,
2080
2097
inputs,
2081
2098
keySearchParams,
2099
+ program,
2082
2100
...additionalOptions ,
2083
2101
} ;
2084
2102
0 commit comments