Release v5.1.0(ChainXBridge precompile contracts)
Global Priority
MEDIUM: This is a medium priority release, and you should upgrade as as soon as possible if you are validator
- runtime version
29
->31
at#9,679,006
- ChainXBridge
- withdraw btc through precompile contract
- withdraw pcx through precompile contract
- withdraw bitcoin assets by contract
How to sync blocks from genesis(block #0)
- (0) You should know Debug: panicked at 'Storage root must match that calculated ' #609
if you use ChainX v4.x.x directly sync blocks will be stuck at #881910 or other block. - (1) Compile ChainX v3.0.0 by
nightly-2020-09-30
or Download chainx-v3.0.0-ubuntu20.04-x86_64-unknown-linux-gnu-1
the ChainX v3.0.0 seed nodes are bad, so you should use new mainnet bootnodes with--bootnodes
"/ip4/18.142.230.171/tcp/23555/ws/p2p/12D3KooWQ6GGfmvmmmsbKRmZqMA3A8rxaHz25HvA7JNBbcZhLXtk",
"/ip4/47.99.179.60/tcp/20222/ws/p2p/12D3KooWGLMfkuzy9WzbV7rTRvHk6AvHg89nT8mipNQoQw36eARc",
"/ip4/47.114.74.52/tcp/36789/ws/p2p/12D3KooWJPMUkGytfAMt3AMqm4AFn4VToXjbWZoC4Z2NxXNXvTwb"
- (2) Until #3038400, please use ChainX v3.0.0 to synchronize with
NativeElseWasm (default mode)
- (3) For blocks after #3038400, complete (2) first, and then replace ChainX v3.0.0 with ChainX v5.x.x to complete the db migration (note that the migration process is irreversible, it is recommended to back up the data first)
- (4) ChainX v5.x.x continues to synchronize blocks
Rust compiler versions
- Rust Nightly: nightly-2021-11-07
Docker image
docker pull chainxorg/chainx:v5.1.0
What's Changed
Full Changelog: v5.0.0...v5.1.0
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
3ef57a4f87cc69c15057cc34f043c873 | bc50d7362d6daa1edf63b9bd37f2cc3679255155074e4dc0a130a22f4a464200 | chainx-5.1.0-ubuntu-20.04-x86_64 |
de5f5bdd1dce2a4bb63abdb0f107a1b1 | 7c4a5df986b1bfd61fde2fee2fe0d86c3f8d5613357f73c2fe2b58740e7512d8 | chainx_wasm |
11f3f84c79ef65bc2c19a36ab1a4370a | 7193a5d0d994ad25e9cb181384eb484317bfce24e9a5017b620e948d1f9482ff | chainx_compact_wasm |
90aa82aee66585d9a9ffc3c480b3eacf | 3c56eac583bab2c396a89329dd4c4b5c7665b896d325b0c43eca07c20fda41a6 | chainx_compressed_wasm |
Srtool details
✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.19 using the docker image paritytech/srtool:1.57.0:
Package : chainx-runtime v5.1.0
GIT commit : 6e0b823
GIT tag : v5.1.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2023-06-19T04:15:26Z
== Compact
Version : chainx-31 (chainx-net-1.tx7.au1)
Metadata : V14
Size : 5.15 MB (5398832 bytes)
Proposal : 0x32d06c2fdd1274f8de2a4f4206de28c67a6669a8793d8f24448a12bcb665f805
IPFS : QmfSpQaPCcik64metCJtRAxjPfnmbxLx5YmmrnrSdUy1sj
BLAKE2_256 : 0xacb6a510925c50509a2ceee1ff7a792072b0b0bbae7f0707f4542c5473259bab
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-31 (chainx-net-1.tx7.au1)
Metadata : V14
Size : 1.17 MB (1224118 bytes)
Compression : 77.33%
Proposal : 0x59405d0c87acf7df8b252934cc0c0002a18711a1e5559e901c5e828915f802ce
IPFS : Qme1YnzBkTe2uFFaos4oTfUfUr5hyTVXvm7WntDfqSNcDX
BLAKE2_256 : 0x3d3bf3e12efa5408cb107bd4ba2d1c3799f07fbeb64886dc8a92a576116cec3b
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm