You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.addOptionalParam('horizonConfig','Name of the Horizon configuration file to use. Format is "protocol.<name>.json5", file must be in the "ignition/configs/" directory. Defaults to network name.',undefined,types.string)
console.log(`Loaded migration configuration from ${file}`)
18
19
19
20
// Display the deployer -- this also triggers the secure accounts prompt if being used
@@ -44,6 +45,7 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
44
45
})
45
46
46
47
task('deploy:migrate','Upgrade an existing version of the Graph Protocol v1 to Horizon - no data services deployed')
48
+
.addOptionalParam('horizonConfig','Name of the Horizon configuration file to use. Format is "migrate.<name>.json5", file must be in the "ignition/configs/" directory. Defaults to network name.',undefined,types.string)
47
49
.addOptionalParam('step','Migration step to run (1, 2, 3 or 4)',undefined,types.int)
48
50
.addFlag('patchConfig','Patch configuration file using address book values - does not save changes')
.addOptionalParam('subgraphServiceConfig','Name of the Subgraph Service configuration file to use. Format is "protocol.<name>.json5", file must be in the "ignition/configs/" directory. Defaults to network name.',undefined,types.string)
20
+
.addOptionalParam('horizonConfig','Name of the Horizon configuration file to use. Format is "protocol.<name>.json5", file must be in the "ignition/configs/" directory in the horizon package. Defaults to network name.',undefined,types.string)
console.log(`Loaded Horizon migration configuration from ${horizonFile}`)
27
29
console.log(`Loaded Subgraph Service migration configuration from ${subgraphServiceFile}`)
28
30
@@ -92,6 +94,7 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
92
94
93
95
task('deploy:migrate','Deploy the Subgraph Service on an existing Horizon deployment')
94
96
.addOptionalParam('step','Migration step to run (1, 2)',undefined,types.int)
97
+
.addOptionalParam('subgraphServiceConfig','Name of the Subgraph Service configuration file to use. Format is "migrate.<name>.json5", file must be in the "ignition/configs/" directory. Defaults to network name.',undefined,types.string)
95
98
.addFlag('patchConfig','Patch configuration file using address book values - does not save changes')
0 commit comments