Skip to content

Commit

Permalink
fix: get the default eibc client version from remote
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Dec 12, 2024
1 parent e77d8a9 commit 976aa54
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions utils/dependencies/eibc-client.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
package dependencies

import (
"github.com/pterm/pterm"

"github.com/dymensionxyz/roller/cmd/consts"
"github.com/dymensionxyz/roller/utils/dependencies/types"
)

const (
DefaultEibcClientVersion = "v1.0.0-alpha-rc03"
"github.com/dymensionxyz/roller/utils/firebase"
)

func DefaultEibcClientPrebuiltDependencies() map[string]types.Dependency {
bvi, err := firebase.GetDependencyVersions()
if err != nil {
pterm.Error.Println("failed to fetch binary versions: ", err)
return nil
}

return map[string]types.Dependency{
"eibc-client": {
DependencyName: "eibc-client",
RepositoryOwner: "dymensionxyz",
RepositoryName: "eibc-client",
RepositoryUrl: "https://github.com/dymensionxyz/eibc-client",
Release: DefaultEibcClientVersion,
Release: bvi.EibcClient,
Binaries: []types.BinaryPathPair{
{
Binary: "eibc-client",
Expand Down

0 comments on commit 976aa54

Please sign in to comment.