@@ -104,7 +104,6 @@ export class NodeCommandHandlers implements CommandHandlers {
104
104
deletePrepareTaskList ( argv : any , lease : Lease ) {
105
105
return [
106
106
this . tasks . initialize ( argv , deleteConfigBuilder . bind ( this ) , lease ) ,
107
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
108
107
this . validateSingleNodeState ( { excludedStates : [ ] } ) ,
109
108
this . tasks . identifyExistingNodes ( ) ,
110
109
this . tasks . loadAdminKey ( ) ,
@@ -148,7 +147,6 @@ export class NodeCommandHandlers implements CommandHandlers {
148
147
addPrepareTasks ( argv : any , lease : Lease ) {
149
148
return [
150
149
this . tasks . initialize ( argv , addConfigBuilder . bind ( this ) , lease ) ,
151
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
152
150
this . validateSingleNodeState ( { excludedStates : [ ] } ) ,
153
151
this . tasks . checkPVCsEnabled ( ) ,
154
152
this . tasks . identifyExistingNodes ( ) ,
@@ -201,7 +199,6 @@ export class NodeCommandHandlers implements CommandHandlers {
201
199
updatePrepareTasks ( argv , lease : Lease ) {
202
200
return [
203
201
this . tasks . initialize ( argv , updateConfigBuilder . bind ( this ) , lease ) ,
204
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
205
202
this . validateSingleNodeState ( { excludedStates : [ ] } ) ,
206
203
this . tasks . identifyExistingNodes ( ) ,
207
204
this . tasks . loadAdminKey ( ) ,
@@ -246,7 +243,6 @@ export class NodeCommandHandlers implements CommandHandlers {
246
243
upgradePrepareTasks ( argv , lease : Lease ) {
247
244
return [
248
245
this . tasks . initialize ( argv , upgradeConfigBuilder . bind ( this ) , lease ) ,
249
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
250
246
this . validateSingleNodeState ( { excludedStates : [ ] } ) ,
251
247
this . tasks . identifyExistingNodes ( ) ,
252
248
this . tasks . loadAdminKey ( ) ,
@@ -282,7 +278,6 @@ export class NodeCommandHandlers implements CommandHandlers {
282
278
const action = this . parent . commandActionBuilder (
283
279
[
284
280
this . tasks . initialize ( argv , prepareUpgradeConfigBuilder . bind ( this ) , lease ) ,
285
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
286
281
this . tasks . prepareUpgradeZip ( ) ,
287
282
this . tasks . sendPrepareUpgradeTransaction ( ) ,
288
283
] ,
@@ -304,7 +299,6 @@ export class NodeCommandHandlers implements CommandHandlers {
304
299
const action = this . parent . commandActionBuilder (
305
300
[
306
301
this . tasks . initialize ( argv , prepareUpgradeConfigBuilder . bind ( this ) , null ) ,
307
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
308
302
this . tasks . prepareUpgradeZip ( ) ,
309
303
this . tasks . sendFreezeUpgradeTransaction ( ) ,
310
304
] ,
@@ -328,7 +322,6 @@ export class NodeCommandHandlers implements CommandHandlers {
328
322
const action = this . parent . commandActionBuilder (
329
323
[
330
324
this . tasks . initialize ( argv , downloadGeneratedFilesConfigBuilder . bind ( this ) , lease ) ,
331
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
332
325
this . tasks . identifyExistingNodes ( ) ,
333
326
this . tasks . downloadNodeGeneratedFiles ( ) ,
334
327
] ,
@@ -394,7 +387,6 @@ export class NodeCommandHandlers implements CommandHandlers {
394
387
const action = this . parent . commandActionBuilder (
395
388
[
396
389
this . tasks . initialize ( argv , updateConfigBuilder . bind ( this ) , lease ) ,
397
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
398
390
this . tasks . loadContextData ( argv , NodeCommandHandlers . UPDATE_CONTEXT_FILE , NodeHelper . updateLoadContextParser ) ,
399
391
...this . updateSubmitTransactionsTasks ( argv ) ,
400
392
] ,
@@ -416,7 +408,6 @@ export class NodeCommandHandlers implements CommandHandlers {
416
408
const action = this . parent . commandActionBuilder (
417
409
[
418
410
this . tasks . initialize ( argv , updateConfigBuilder . bind ( this ) , lease , false ) ,
419
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
420
411
this . tasks . loadContextData ( argv , NodeCommandHandlers . UPDATE_CONTEXT_FILE , NodeHelper . updateLoadContextParser ) ,
421
412
...this . updateExecuteTasks ( argv ) ,
422
413
] ,
@@ -457,7 +448,6 @@ export class NodeCommandHandlers implements CommandHandlers {
457
448
const action = this . parent . commandActionBuilder (
458
449
[
459
450
this . tasks . initialize ( argv , upgradeConfigBuilder . bind ( this ) , lease ) ,
460
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
461
451
this . tasks . loadContextData ( argv , NodeCommandHandlers . UPGRADE_CONTEXT_FILE , NodeHelper . upgradeLoadContextParser ) ,
462
452
...this . upgradeSubmitTransactionsTasks ( argv ) ,
463
453
] ,
@@ -479,7 +469,6 @@ export class NodeCommandHandlers implements CommandHandlers {
479
469
const action = this . parent . commandActionBuilder (
480
470
[
481
471
this . tasks . initialize ( argv , upgradeConfigBuilder . bind ( this ) , lease , false ) ,
482
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
483
472
this . tasks . loadContextData ( argv , NodeCommandHandlers . UPGRADE_CONTEXT_FILE , NodeHelper . upgradeLoadContextParser ) ,
484
473
...this . upgradeExecuteTasks ( argv ) ,
485
474
] ,
@@ -654,7 +643,6 @@ export class NodeCommandHandlers implements CommandHandlers {
654
643
const action = this . parent . commandActionBuilder (
655
644
[
656
645
this . tasks . initialize ( argv , addConfigBuilder . bind ( this ) , lease ) ,
657
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
658
646
this . tasks . loadContextData ( argv , NodeCommandHandlers . ADD_CONTEXT_FILE , helpers . addLoadContextParser ) ,
659
647
...this . addSubmitTransactionsTasks ( argv ) ,
660
648
] ,
@@ -678,7 +666,6 @@ export class NodeCommandHandlers implements CommandHandlers {
678
666
const action = this . parent . commandActionBuilder (
679
667
[
680
668
this . tasks . initialize ( argv , addConfigBuilder . bind ( this ) , lease , false ) ,
681
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
682
669
this . tasks . identifyExistingNodes ( ) ,
683
670
this . tasks . loadContextData ( argv , NodeCommandHandlers . ADD_CONTEXT_FILE , helpers . addLoadContextParser ) ,
684
671
...this . addExecuteTasks ( argv ) ,
@@ -698,11 +685,7 @@ export class NodeCommandHandlers implements CommandHandlers {
698
685
async logs ( argv : any ) {
699
686
argv = helpers . addFlagsToArgv ( argv , NodeFlags . LOGS_FLAGS ) ;
700
687
const action = this . parent . commandActionBuilder (
701
- [
702
- this . tasks . initialize ( argv , logsConfigBuilder . bind ( this ) , null ) ,
703
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
704
- this . tasks . getNodeLogsAndConfigs ( ) ,
705
- ] ,
688
+ [ this . tasks . initialize ( argv , logsConfigBuilder . bind ( this ) , null ) , this . tasks . getNodeLogsAndConfigs ( ) ] ,
706
689
{
707
690
concurrent : false ,
708
691
rendererOptions : constants . LISTR_DEFAULT_RENDERER_OPTION ,
@@ -740,7 +723,6 @@ export class NodeCommandHandlers implements CommandHandlers {
740
723
const action = this . parent . commandActionBuilder (
741
724
[
742
725
this . tasks . initialize ( argv , refreshConfigBuilder . bind ( this ) , lease ) ,
743
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
744
726
this . validateAllNodeStates ( {
745
727
acceptedStates : [ ConsensusNodeStates . STARTED , ConsensusNodeStates . SETUP , ConsensusNodeStates . INITIALIZED ] ,
746
728
} ) ,
@@ -794,7 +776,6 @@ export class NodeCommandHandlers implements CommandHandlers {
794
776
const action = this . parent . commandActionBuilder (
795
777
[
796
778
this . tasks . initialize ( argv , stopConfigBuilder . bind ( this ) , lease ) ,
797
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
798
779
this . validateAllNodeStates ( {
799
780
acceptedStates : [ ConsensusNodeStates . STARTED , ConsensusNodeStates . SETUP ] ,
800
781
} ) ,
@@ -822,7 +803,6 @@ export class NodeCommandHandlers implements CommandHandlers {
822
803
const action = this . parent . commandActionBuilder (
823
804
[
824
805
this . tasks . initialize ( argv , startConfigBuilder . bind ( this ) , lease ) ,
825
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
826
806
this . validateAllNodeStates ( { acceptedStates : [ ConsensusNodeStates . SETUP ] } ) ,
827
807
this . tasks . identifyExistingNodes ( ) ,
828
808
this . tasks . uploadStateFiles ( ( ctx : any ) => ctx . config . stateFile . length === 0 ) ,
@@ -853,7 +833,6 @@ export class NodeCommandHandlers implements CommandHandlers {
853
833
const action = this . parent . commandActionBuilder (
854
834
[
855
835
this . tasks . initialize ( argv , setupConfigBuilder . bind ( this ) , lease ) ,
856
- RemoteConfigTasks . loadRemoteConfig . bind ( this ) ( argv ) ,
857
836
this . validateAllNodeStates ( {
858
837
acceptedStates : [ ConsensusNodeStates . INITIALIZED ] ,
859
838
} ) ,
0 commit comments