Global Priority
HIGH: This is a high priority release, and you must upgrade as as soon as possible if you are validator
- runtime version
14
->20
at#3,251,801
- btc cross-chain hot/cold address changed from P2SH to P2TR
- btc cross-chain trustee members are linked to council members
- btc cross-chain withdrawal from on-chain multi-signature to off-chain multi-signature by ComingChat
- only reward and slash current validators, neither reward nor slash current candidates
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/52.77.243.26/tcp/23555/ws/p2p/12D3KooWQ6GGfmvmmmsbKRmZqMA3A8rxaHz25HvA7JNBbcZhLXtk"
"/ip4/120.26.57.227/tcp/36789/ws/p2p/12D3KooWEAX2BcQCZP79MuxQpqLQUop7P3tZY97eNxxUgc4ZTu3k"
"/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 v4.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 v4.x.x continues to synchronize blocks
Rust compiler versions
- Rust Nightly: nightly-2021-11-07
Docker image
docker pull chainxorg/chainx:v4.2.0
What's Changed
- Migrate gateway module from SherpaX by @hacpy in #606
- Update cold address by @AAweidai in #615
- Check hot and cold for tx verifier by @hacpy in #617
- Fix sigrecord computation by @hacpy in #619
- Merge v4.1.1 by @icodezjb in #620
- Implement storage failure rollback by @AAweidai in #621
- Alter stroge visibility by @AAweidai in #622
- Use the updated session info by @hacpy in #623
- Add storage query rpcs for bitcoin by @hacpy in #626
- Only reward and slash current validators by @icodezjb in #625
- Update seed node by @icodezjb in #627
- Bump sepc_version into 20 by @AAweidai in #628
Full Changelog: v4.1.0...v4.2.0
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
42492ed1367672822c0956ce0990b5ab | 9707f402944ce0ba1687728498b8d2cb53ca80840387b0d7add92c003686a173 | chainx-4.2.0-ubuntu-20.04-x86_64 |
7ff30e9ac543988413f3bfb25be41acb | 29f33e96f65c5243905c476307d5caa9204e85e9108294ac75314cccbfdfa35c | chainx_wasm |
08b28dd94463a967afdd5638e42a8a83 | 97fe5341cc8431f03d688ec1fd4e726c2e678df7ffec88cd9a633a19eef62576 | chainx_compact_wasm |
21e39f4a62c0aa39c9234a88c76ca968 | ceda3733424f45976f51014ecbd8545cec9d812aeca13572ccf35376b771c13f | 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 v4.2.0
GIT commit : e81c0014894b4f6b02c45caba5eecd0e075e887a
GIT tag : v4.1.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2022-03-28T02:21:59Z
== Compact
Version : chainx-20 (chainx-net-1.tx4.au1)
Metadata : V14
Size : 3.21 MB (3367058 bytes)
Proposal : 0x27c3c5f5a0c11f18a9f00347fd7e632722a6a925654aa8ce8bd2fe221facfa0c
IPFS : QmUA5sxH1bA6kbkC4xvTf2PTXJgW9egGpwy4tMSW9EYMeJ
BLAKE2_256 : 0xcd6e4356134a42dd28f813afdf73cdfeb2605cc169e934e68f22335f849e4dea
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-20 (chainx-net-1.tx4.au1)
Metadata : V14
Size : 893.81 KB (915260 bytes)
Compression : 72.82%
Proposal : 0xf51b65fc3571791429dccff3e3cfabd66e677af89ea87baf6df6219210eb38de
IPFS : QmctJC5t91ksDxuEswBSfxqvTQVbHgknSybc5Gewxs7Kcc
BLAKE2_256 : 0x42f8c506143315d18df3ebb567753c429014c5ec29647be91548b71bcf617ed7
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm