From c3fd585dc93ac0f492f5fbc8db84dae979a05f0e Mon Sep 17 00:00:00 2001 From: artpav <19916123+artemijspavlovs@users.noreply.github.com> Date: Sun, 24 Nov 2024 06:17:51 +0200 Subject: [PATCH] fix: install relayer binary as part of relayer setup (#1128) --- cmd/relayer/setup/setup.go | 7 +++++++ utils/dependencies/celestia.go | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cmd/relayer/setup/setup.go b/cmd/relayer/setup/setup.go index 5f6814cd..026158ef 100644 --- a/cmd/relayer/setup/setup.go +++ b/cmd/relayer/setup/setup.go @@ -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) diff --git a/utils/dependencies/celestia.go b/utils/dependencies/celestia.go index c116f3bf..08780d24 100644 --- a/utils/dependencies/celestia.go +++ b/utils/dependencies/celestia.go @@ -8,7 +8,7 @@ import ( ) const ( - DefaultCelestiaNodeVersion = "v0.20.0-mocha" + DefaultCelestiaNodeVersion = "v0.20.2-mocha" DefaultCelestiaAppVersion = "v2.3.1" )