File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ func installRelayerDependencies(
332
332
return err
333
333
}
334
334
335
- dymdDep := dependencies .DefaultDymdDependency ()
335
+ dymdDep := dependencies .DefaultDymdDependency (hd . Environment )
336
336
for _ , bin := range dymdDep .Binaries {
337
337
if ! filesystem .IsAvailable (bin .BinaryDestination ) {
338
338
err = dependencies .InstallBinaryFromRelease (dymdDep )
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ func UpdateCmd() *cobra.Command {
124
124
return
125
125
}
126
126
127
- dymdDep := dependencies .DefaultDymdDependency ()
127
+ dymdDep := dependencies .DefaultDymdDependency (rollerData . HubData . Environment )
128
128
pterm .Info .Println ("installing dependencies" )
129
129
err = dependencies .InstallBinaryFromRelease (dymdDep )
130
130
if err != nil {
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ func Cmd() *cobra.Command {
150
150
// TODO: move to consts
151
151
// TODO(v2): move to roller config
152
152
if ! shouldUseMockBackend && env != "custom" {
153
- dymdBinaryOptions := dependencies .DefaultDymdDependency ()
153
+ dymdBinaryOptions := dependencies .DefaultDymdDependency (env )
154
154
pterm .Info .Println ("installing dependencies" )
155
155
err = dependencies .InstallBinaryFromRelease (dymdBinaryOptions )
156
156
if err != nil {
@@ -257,7 +257,7 @@ func Cmd() *cobra.Command {
257
257
}
258
258
259
259
if shouldSkipBinaryInstallation {
260
- dymdDep := dependencies .DefaultDymdDependency ()
260
+ dymdDep := dependencies .DefaultDymdDependency (env )
261
261
err = dependencies .InstallBinaryFromRelease (dymdDep )
262
262
if err != nil {
263
263
pterm .Error .Println ("failed to install dymd: " , err )
@@ -268,7 +268,7 @@ func Cmd() *cobra.Command {
268
268
hd = consts .Hubs [env ]
269
269
270
270
if shouldSkipBinaryInstallation {
271
- dymdDep := dependencies .DefaultDymdDependency ()
271
+ dymdDep := dependencies .DefaultDymdDependency (env )
272
272
err = dependencies .InstallBinaryFromRelease (dymdDep )
273
273
if err != nil {
274
274
pterm .Error .Println ("failed to install dymd: " , err )
You can’t perform that action at this time.
0 commit comments