Skip to content

Commit

Permalink
bump to wasmvm 1.2.4 (#823)
Browse files Browse the repository at this point in the history
* bump to wasmvm 1.2.4

* update version
  • Loading branch information
jhernandezb authored Jun 6, 2023
1 parent 6d4d6ba commit 8ca0120
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ steps:
path: /go
commands:
- apk add --no-cache ca-certificates build-base git
- wget https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.x86_64.a -O /lib/libwasmvm_muslc.a
- echo "bb8ffda690b15765c396266721e45516cb3021146fd4de46f7daeda5b0d82c86 /lib/libwasmvm_muslc.a" | sha256sum -c
- wget https://github.com/CosmWasm/wasmvm/releases/download/v1.2.4/libwasmvm_muslc.x86_64.a -O /lib/libwasmvm_muslc.a
- echo "ce3d892377d2523cf563e01120cb1436f9343f80be952c93f66aa94f5737b661 /lib/libwasmvm_muslc.a" | sha256sum -c
- LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build
- echo "Ensuring binary is statically linked ..." && (file $PWD/bin/starsd | grep "statically linked")
environment:
Expand Down Expand Up @@ -77,12 +77,12 @@ steps:
password:
from_secret: docker_password
tags:
- v10.0.0.alpha-6
- v10.0.1.alpha-1
when:
event:
- push
branch:
- prepare-v10
- jhernandezb/update-libwasmvm
- name: docker_release
image: plugins/docker
settings:
Expand Down Expand Up @@ -350,7 +350,7 @@ steps:
- ./scripts/ci/upgrade/proposal.sh
- name: stargaze-upgraded
pull: always
image: publicawesome/stargaze:v10.0.0.alpha-6
image: publicawesome/stargaze:v10.0.1.alpha-1
commands:
- ./scripts/ci/upgrade/run-upgrade.sh
environment:
Expand All @@ -369,7 +369,7 @@ steps:
- http://icad:26657
- name: check-params
pull: always
image: publicawesome/stargaze:v10.0.0.alpha-6
image: publicawesome/stargaze:v10.0.1.alpha-1
commands:
- starsd q globalfee params --node http://stargaze-upgraded:26657
environment:
Expand Down Expand Up @@ -411,6 +411,6 @@ volumes:

---
kind: signature
hmac: b0053e4058901416d03e4be79865bfeb530092fb7f3d5b6599d911ac8b1a3869
hmac: b2d583e9b1cde6ac36be1e9c239762e3af7717daf94cf73dd401b9e026866dff

...
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ WORKDIR /code
COPY . /code/

# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.3/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a
RUN echo "bb8ffda690b15765c396266721e45516cb3021146fd4de46f7daeda5b0d82c86 /lib/libwasmvm_muslc.a" | sha256sum -c
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.2.4/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.a
RUN echo "ce3d892377d2523cf563e01120cb1436f9343f80be952c93f66aa94f5737b661 /lib/libwasmvm_muslc.a" | sha256sum -c

# force it to use static lib (from above) not standard libgo_cosmwasm.so file
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build
Expand Down
2 changes: 1 addition & 1 deletion cmd/starsd/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
)

var LibwasmVersion = "1.2.3"
var LibwasmVersion = "1.2.4"

func CheckLibwasmVersion(_ *cobra.Command, _ []string) error {
version, err := wasmvmapi.LibwasmvmVersion()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/CosmWasm/wasmd v0.31.0
github.com/CosmWasm/wasmvm v1.2.3
github.com/CosmWasm/wasmvm v1.2.4
github.com/armon/go-metrics v0.4.1
github.com/cosmos/cosmos-sdk v0.45.16
github.com/cosmos/go-bip39 v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ github.com/CloudyKit/jet v2.1.3-0.20180809161101-62edd43e4f88+incompatible/go.mo
github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo=
github.com/CosmWasm/wasmd v0.31.0 h1:xACf6A/SkCeGWQWrKGsR4X9PQb5G4XYuNfnrl+HQ1mE=
github.com/CosmWasm/wasmd v0.31.0/go.mod h1:VcyDGk/ISVlMUeW+1GGL0zdHWBS2FPwLEV2qZ86l7l8=
github.com/CosmWasm/wasmvm v1.2.3 h1:OKYlobwmVGbl0eSn0mXoAAjE5hIuXnQCLPjbNd91sVY=
github.com/CosmWasm/wasmvm v1.2.3/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc=
github.com/CosmWasm/wasmvm v1.2.4 h1:6OfeZuEcEH/9iqwrg2pkeVtDCkMoj9U6PpKtcrCyVrQ=
github.com/CosmWasm/wasmvm v1.2.4/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo=
Expand Down

0 comments on commit 8ca0120

Please sign in to comment.