Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(neutron): Package libwasmvm #280

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions builder/go_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ const (
Go118Version = "1.18.10"
Go119Version = "1.19.13"
Go120Version = "1.20.14"
Go121Version = "1.21.7"
Go122Version = "1.22.6"
Go121Version = "1.21.13"
Go122Version = "1.22.7"
Go123Version = "1.23.1"
// ADD NEW GO VERSION [1] - latest patch release for each major/minor

// When updating alpine image, ensure all golang build image combinations below exist
LatestAlpineImageVersion = "3.19"
LatestAlpineImageVersion = "3.20"
)

var (
Expand All @@ -27,14 +27,14 @@ var (
// Find from https://hub.docker.com/_/golang
Go118Image = GolangAlpineImage(Go118Version, "3.17") // Go 1.18 is now deprecated, pinning to 3.17
Go119Image = GolangAlpineImage(Go119Version, "3.18") // Go 1.19 is now deprecated, pinning to 3.18
Go120Image = GolangAlpineImage(Go120Version, LatestAlpineImageVersion)
Go120Image = GolangAlpineImage(Go120Version, "3.19")
Go121Image = GolangAlpineImage(Go121Version, LatestAlpineImageVersion)
Go122Image = GolangAlpineImage(Go122Version, LatestAlpineImageVersion)
Go123Image = GolangAlpineImage(Go123Version, LatestAlpineImageVersion)

// ADD NEW GO VERSION [3] - update GoDefaultVersion and GoDefaultImage to latest
GoDefaultVersion = Go122Version
GoDefaultImage = Go122Image // default image for cosmos go builds if go.mod parse fails
GoDefaultVersion = Go123Version
GoDefaultImage = Go123Image // default image for cosmos go builds if go.mod parse fails
)

func GolangAlpineImage(goVersion, alpineVersion string) string {
Expand Down
2 changes: 2 additions & 0 deletions chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,8 @@
build-target: make install
binaries:
- /root/go/bin/neutrond
libraries:
- /root/go/pkg/mod/github.com/!cosm!wasm/wasmvm/*/internal/api/libwasmvm.${ARCH}.so

# Nibiru
- name: nibiru
Expand Down
Loading