v0.5.18
Release Note
This release contains a wasmer version bump from v2.0.0 to v2.2.1. The wasm caches of these two versions are not compatible, thus rebuilding is required.
To avoid possible sync delays due to the runtime rebuilding overhead, it is highly recommended that node operators rebuild their wasm cache with the cosmwasm-cache-rebuilder before replacing terrad runtime to v0.5.18.
Node upgrade instructions
- Rebuild your wasm cache using the cosmwasm-cache-rebuilder. This rebuilder can be run simultaneously without killing a running terrad process.
- You can ignore the file already open error. If other errors occur (no disk space, etc), it is safe to run the rebuilder multiple times.
- When the rebuilder is finished, update terrad to v0.5.18 and restart.
- The rebuilder creates a
$TERRA_HOME/data/wasm/cache/modules/v3-wasmer1
directory. The$TERRA_HOME/data/wasm/cache/modules/v1
can be deleted after updating terrad to v0.5.18.
Docker Changes
There are major breaking changes in the v0.5.18 version for the docker images.
- The runner now is dedicated
terra
user notroot
- The working directory is also changed to
/terra
Additional notes
- 🎉 Wasmer v2.2 supports the much anticipated Apple M1 processor! (See: https://wasmer.io/posts/wasmer-2.2) This means nodes can be run on any arm64 system, such as Apple Silicon machines and AWS Graviton2 Arm64.
What's Changed
- Update Readme links by @evanorti in https://github.com/terra-money/core/pull/678
- Fix memory leak and module drop order by @YunSuk-Yeo in https://github.com/terra-money/core/pull/690
- Improve Docker image by @Pea-skillz in https://github.com/terra-money/core/pull/688
- Update links in README.md by @evanorti in https://github.com/terra-money/core/pull/703
- Update Dockerfile by @pea-io in https://github.com/terra-money/core/pull/707
- Update golangci-lint version by @YunSuk-Yeo in https://github.com/terra-money/core/pull/709
- Upgrade wasmvm to v0.16.6 by @hanjukim in https://github.com/terra-money/core/pull/712
- Add static build flags by @YunSuk-Yeo in https://github.com/terra-money/core/pull/713
- Increase code coverage by @YunSuk-Yeo in https://github.com/terra-money/core/pull/664
- Update CHANGELOG for v0.5.18 by @YunSuk-Yeo in https://github.com/terra-money/core/pull/714
New Contributors
- @Pea-skillz made their first contribution in https://github.com/terra-money/core/pull/688
- @pea-io made their first contribution in https://github.com/terra-money/core/pull/707
Full Changelog: terra-money/core@v0.5.17...v0.5.18