Skip to content

Commit

Permalink
fix: install relayer binary as part of relayer setup (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs authored Nov 24, 2024
1 parent 1d131c5 commit c3fd585
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions cmd/relayer/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ func Cmd() *cobra.Command {
return
}

rlyDep := dependencies.DefaultRelayerPrebuiltDependencies()
err = dependencies.InstallBinaryFromRelease(rlyDep["rly"])
if err != nil {
pterm.Error.Printfln("failed to install binary: %s", err)
return
}

// things to check:
// 1. relayer folder exists
isRelayerDirPresent, err := filesystem.DirNotEmpty(relayerHome)
Expand Down
2 changes: 1 addition & 1 deletion utils/dependencies/celestia.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

const (
DefaultCelestiaNodeVersion = "v0.20.0-mocha"
DefaultCelestiaNodeVersion = "v0.20.2-mocha"
DefaultCelestiaAppVersion = "v2.3.1"
)

Expand Down

0 comments on commit c3fd585

Please sign in to comment.