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.
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 #678
- Fix memory leak and module drop order by @YunSuk-Yeo in #690
- Improve Docker image by @Pea-skillz in #688
- Update links in README.md by @evanorti in #703
- Update Dockerfile by @pea-io in #707
- Update golangci-lint version by @YunSuk-Yeo in #709
- Upgrade wasmvm to v0.16.6 by @hanjukim in #712
- Add static build flags by @YunSuk-Yeo in #713
- Increase code coverage by @YunSuk-Yeo in #664
- Update CHANGELOG for v0.5.18 by @YunSuk-Yeo in #714
New Contributors
- @Pea-skillz made their first contribution in #688
- @pea-io made their first contribution in #707
Full Changelog: v0.5.17...v0.5.18