From 53b7d2f457bcfd0133dc1e3dc340dbf87e1da9d4 Mon Sep 17 00:00:00 2001 From: pharr117 Date: Sat, 11 Jan 2025 16:48:27 -0500 Subject: [PATCH 1/2] Build sei with cargo dockerfile, build sei's version of libwasmvm in pre-build --- chains/sei.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/chains/sei.yaml b/chains/sei.yaml index 9db6586..2a4fb3a 100644 --- a/chains/sei.yaml +++ b/chains/sei.yaml @@ -2,11 +2,21 @@ - name: sei github-organization: sei-protocol github-repo: sei-chain - dockerfile: cosmos + dockerfile: cargo + pre-build: | + wget https://github.com/sei-protocol/sei-wasmvm/archive/refs/tags/v1.5.4-sei.0.0.1.zip + unzip v1.5.4-sei.0.0.1.zip + cd sei-wasmvm-1.5.4-sei.0.0.1 + make build-rust + cp internal/api/libwasmvm.x86_64.so /usr/lib/libwasmvm.x86_64.so build-target: | make install install-price-feeder binaries: - - /go/bin/seid - - /go/bin/price-feeder + - /root/go/bin/seid + - /root/go/bin/price-feeder + libraries: + - /usr/lib/libwasmvm.x86_64.so build-env: - - BUILD_TAGS=muslc + - BUILD_TAGS=glibc + platforms: + - linux/amd64 From 8a0e199f4e3e4d91e9fcb0a94972f11a773e1e86 Mon Sep 17 00:00:00 2001 From: pharr117 Date: Sat, 11 Jan 2025 16:52:02 -0500 Subject: [PATCH 2/2] Remove unnecessary build tag for sei --- chains/sei.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/chains/sei.yaml b/chains/sei.yaml index 2a4fb3a..4fab5e2 100644 --- a/chains/sei.yaml +++ b/chains/sei.yaml @@ -16,7 +16,5 @@ - /root/go/bin/price-feeder libraries: - /usr/lib/libwasmvm.x86_64.so - build-env: - - BUILD_TAGS=glibc platforms: - linux/amd64