Skip to content

Commit 2557ba9

Browse files
fix: function calls
1 parent 4b1d8ce commit 2557ba9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/relayer/setup/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func installRelayerDependencies(
332332
return err
333333
}
334334

335-
dymdDep := dependencies.DefaultDymdDependency()
335+
dymdDep := dependencies.DefaultDymdDependency(hd.Environment)
336336
for _, bin := range dymdDep.Binaries {
337337
if !filesystem.IsAvailable(bin.BinaryDestination) {
338338
err = dependencies.InstallBinaryFromRelease(dymdDep)

cmd/rollapp/drs/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func UpdateCmd() *cobra.Command {
124124
return
125125
}
126126

127-
dymdDep := dependencies.DefaultDymdDependency()
127+
dymdDep := dependencies.DefaultDymdDependency(rollerData.HubData.Environment)
128128
pterm.Info.Println("installing dependencies")
129129
err = dependencies.InstallBinaryFromRelease(dymdDep)
130130
if err != nil {

cmd/rollapp/init/init.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func Cmd() *cobra.Command {
150150
// TODO: move to consts
151151
// TODO(v2): move to roller config
152152
if !shouldUseMockBackend && env != "custom" {
153-
dymdBinaryOptions := dependencies.DefaultDymdDependency()
153+
dymdBinaryOptions := dependencies.DefaultDymdDependency(env)
154154
pterm.Info.Println("installing dependencies")
155155
err = dependencies.InstallBinaryFromRelease(dymdBinaryOptions)
156156
if err != nil {
@@ -257,7 +257,7 @@ func Cmd() *cobra.Command {
257257
}
258258

259259
if shouldSkipBinaryInstallation {
260-
dymdDep := dependencies.DefaultDymdDependency()
260+
dymdDep := dependencies.DefaultDymdDependency(env)
261261
err = dependencies.InstallBinaryFromRelease(dymdDep)
262262
if err != nil {
263263
pterm.Error.Println("failed to install dymd: ", err)
@@ -268,7 +268,7 @@ func Cmd() *cobra.Command {
268268
hd = consts.Hubs[env]
269269

270270
if shouldSkipBinaryInstallation {
271-
dymdDep := dependencies.DefaultDymdDependency()
271+
dymdDep := dependencies.DefaultDymdDependency(env)
272272
err = dependencies.InstallBinaryFromRelease(dymdDep)
273273
if err != nil {
274274
pterm.Error.Println("failed to install dymd: ", err)

0 commit comments

Comments
 (0)