From 53b7d2f457bcfd0133dc1e3dc340dbf87e1da9d4 Mon Sep 17 00:00:00 2001 From: pharr117 Date: Sat, 11 Jan 2025 16:48:27 -0500 Subject: [PATCH] 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