Releases: chainx-org/ChainX
Release v5.2.3
HIGH: This is a low priority release, and you should upgrade as as soon as possible if you are validator( For Validator cmd option: --pool-limit=1024)
- runtime version
33
->34
at#12,955,912
- new bootnodes:
"/ip4/18.222.166.234/tcp/9001/ws/p2p/12D3KooWMdwp2izsvRNRRSJTT2VdRu9VQfGck8jx21wX9vwresT4"
"/ip4/18.188.109.150/tcp/9001/ws/p2p/12D3KooWQdw2mmQPmHJjstKhM7q2J7Xxo86qYxDbXH7Gz3wqMznb"
How to sync blocks from genesis(block #0)
- (1)
genesis
->#12363395
: use ChainX-v5.2.0 with
--bootnodes="/ip4/18.222.166.234/tcp/9001/ws/p2p/12D3KooWMdwp2izsvRNRRSJTT2VdRu9VQfGck8jx21wX9vwresT4"
,
you will see this info: best: #12363395 (0x7dea…2e24), finalized #12363393 (0xec29…f33f) - (2)
12363396
->latest
: use ChainX v5.2.3 continues to synchronize blocks - (3)
Best Practices
: It is necessary to switch from chainx-v5.2.0 to chainx-v5.2.3 in time. Although the specific reason has not yet been found out, it is best not to switch too late.
Rust compiler versions
- Rust Nightly: nightly-2021-11-07
Docker image
docker pull chainxorg/chainx:v5.2.3
What's Changed
- Add bevm-finality-rpc finalized tool by @icodezjb in #697
- prepare v5.2.3 by @icodezjb in #703
- Delete unused doc by @AAweidai in #706
- V5.2.3 by @icodezjb in #708
Full Changelog: v5.2.2...v5.2.3
Checksum(Local build)
md5sum
:
chainx-v5.2.3-ubuntu20.04-x86_64.tar.gz
:b2137fbd4b3e90efddc49ee2ba230277
chainx-v5.2.3-ubuntu20.04-arm64.tar.gz
:b08868e28d956d26ac95a9f588e8102f
Release v5.2.2
Global Priority
HIGH: This is a high priority release, and you should upgrade as as soon as possible if you are validator( For Validator cmd option: --pool-limit=1024
)
- runtime version
32
->33
at#12,425,823
How to sync blocks from genesis(block #0)
- (1)
genesis
->#12363395
: use ChainX-v5.2.0
you will see this info: best: #12363395 (0x7dea…2e24), finalized #12363393 (0xec29…f33f) - (2)
12363396
->latest
: use ChainX v5.2.2 continues to synchronize blocks - (3)
Best Practices
: It is necessary to switch from chainx-v5.2.0 to chainx-v5.2.2 in time. Although the specific reason has not yet been found out, it is best not to switch too late.
Rust compiler versions
- Rust Nightly: nightly-2021-11-07
Docker image
docker pull chainxorg/chainx:v5.2.2
What's Changed
- New testnet by @icodezjb in #683
- Fix babe by @icodezjb in #691
- Fix grandpa rpc and evm gas_to_weight by @icodezjb in #692
- Revert "Add UnexpectedEpochChange error back (#693)" by @icodezjb in #694
- Add [12363396,12363683) runtime code substitute by @icodezjb in #695
Full Changelog: v5.2.0...v5.2.2
Checksum(Local build)
md5sum
:
chainx_5.2.2_ubuntu2004_x86_64
:20eff24bd56f4241d941c417c301aec7
chainx_5.2.2_ubuntu2004(arm64)
:ff63c494e1c192dbca3241fcf8f501a9
fix-babe
Validator:
chainx_babe_fix_x86 --pool-limit 1024 --config=config.json
How to sync blocks from genesis(block #0)
- (1)
genesis
->12363395
: use chainx-v5.2.0 - (2)
12363396
->latest
: use chainx_babe_fix
Docker image
docker pull chainxorg/chainx:chainx_babe_fix
CheckSum
chainx_babe_fix.compact.wasm
: 9c5673d864da4556e851bfbb0ea18739
Release v5.2.0
Global Priority
LOW: This is a low priority release
How to sync blocks from genesis(block #0)
On this version, we have solved the block sync problem and can directly use ChainX v5.2.0 to start synchronization from genesis(block #0).
- Rust Nightly: nightly-2021-11-07
Docker image
docker pull chainxorg/chainx:v5.2.0
What's Changed
Full Changelog: v5.1.1...v5.2.0
Release v5.1.1
Global Priority
MEDIUM: This is a medium priority release, and you should upgrade as as soon as possible if you are validator
- runtime version
31
->32
at#9,793,748
- ChainXBridge
- Add xpallet_gateway_bitcoin::set_confirmed_number
- Fix
eth_getCode
rpc
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.1
What's Changed
- Add xpallet_gateway_bitcoin::set_confirmed_number
- Fix
eth_getCode
rpc
Full Changelog: v5.1.0...v5.1.1
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
92a7822ae2c56e3a830f1d5e872e39bc | a318be1d328cde9e1a94e7d0357586460d8e55e168148332a4ec209e6f37d9e5 | chainx-5.1.1-ubuntu-20.04-x86_64 |
df39be9f4b759683fc465158370e2e2e | 82afda992842adcc437b98bcf603c6232f08a83c5392f68097ddda096160ceb8 | chainx_wasm |
ba7d88b217da925b1f1ee770c412bd91 | f0ef06f5856c652b5ec339ff14ccc1741ff2a4158b342dd5c6a139cca1263906 | chainx_compact_wasm |
d51a77d2886736f5548c010724a64f6e | e71bce36c221aea90342e72fe3b0949273382f368c9802b512faf869b20474aa | 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.1
GIT commit : 4cb02a2
GIT tag : v5.1.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2023-06-27T04:29:39Z
== Compact
Version : chainx-32 (chainx-net-1.tx7.au1)
Metadata : V14
Size : 5.15 MB (5399617 bytes)
Proposal : 0xe4a4374dfb22e5076a8631dc73cbb13055176ea81d1ad664c1677738d3ee5805
IPFS : QmNpRLtGMemzJaW7CXnF2pPfA63oTNjk9rnRHmd7s6wPVG
BLAKE2_256 : 0x276d9a2ae55c6cf65bc390ba8527f4622a524eb87bed86b1bec5130c216cd121
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-32 (chainx-net-1.tx7.au1)
Metadata : V14
Size : 1.17 MB (1223643 bytes)
Compression : 77.34%
Proposal : 0x0f02e0f49477cab60c5167c78cdfb1600656b60a51ecb7713992045c7877b1fa
IPFS : QmPdyx5dQqSYKym3eE5RaQpV4GNu7LzY784acYsmCtEcTs
BLAKE2_256 : 0x5a39c800231c14ac0f3606e40ac252987c9234f8d8577bed75c2d350af2a11ef
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm
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
Release v5.0.0(Use BTC as chainx-evm gas)
Global Priority
HIGH: This is a high priority release, and you must upgrade as as soon as possible if you are validator
- runtime version
27
->29
at#9,476,371
- breaking: use btc as chainx-evm gas
- breaking: pcx(evm) is stored in chainx-evm via erc20, the mainnet contract address:
0xf3607524cAB05762cB5F0cAb17e4cA3A0F0b4E87
- metamask
Network name: ChainX
RPC URL: https://mainnet.chainx.org/rpc
Chain ID: 1501
Currency symbol: BTC
Block explorer URL (Optional): https://evm.chainx.org/
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.0.0
What's Changed
ChainX = BTC layer2 + ETH compatibility layer + Substrate framework
1. The manifestation of BTC on ChainX
(1) XBTC
XBTC is a BTC Layer 2 scheme supported from ChainX v1.0.0, stored in the xpallet-assets module.
XBTC conducts asset mining through xpallet-mining-asset and obtains PCX rewards.
For users, use Polkadot wallet to manage XBTC.
(2) BTC
BTC is a BTC layer2 scheme supported from ChainX v5.0.0, stored in the xpallet-btc-ledger module,
As the gas settlement layer of chainx-evm.
For users, only need to use metamask wallet to manage BTC.
For the greatest possible compatibility, ChainX v5.0.0 will support both XBTC and BTC,
The xpallet-assets-bridge::swap_xbtc_to_btc interface is provided to realize the one-way 1:1 migration of XBTC -> BTC.
2. ETH compatibility layer
chainx-evm is an Ethereum compatibility layer solution supported by ChainX v4.3.0, based on moonbeam-frontier, using PCX as chainx-evm gas.
The goal is to expand the application scenarios of BTC layer2 by transplanting mainstream Ethereum ecological applications.
In order for the majority of Bitcoin and Ethereum users to experience BTC layer2 more conveniently,
starting from ChainX v5.0.0, BTC is used as chainx-evm gas.
It's a breaking upgrade, but worth it nonetheless.
All BTC gas fees will be 100% transferred to ChainX Validators.
3. Bitcoin <-> ChainX
(1) Bitcoin -> ChainX: the user send a bitcoin transaction with OP_RETURN output(attach evm address or chainx address).
if it is an evm address, the user can query the received BTC balance through metamask;
if it is a chainx address, the user can query the received XBTC balance through the ChainX wallet.
(2) ChainX -> Bitcoin(BTC): the user calls the ChainXBridge smart contract in chainx-evm through the metamask wallet and attaches the bitcoin receiving address.
(3) ChainX -> Bitcoin(XBTC): the user calls xGatewayCommon::withdraw through the ChainX wallet and attaches the bitcoin receiving address.
4. Bitcoin assets
Support BRC-20, ORC-20, Taproot assets cross-chain.
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
a3f3e0e3375b81c8c00c904dbd3a0bfe | 805d48ecb9a5efb57ee3e346bc751dbe3d56016a422b58e0afba05927d72f46a | chainx-5.0.0-ubuntu-20.04-x86_64 |
88c67c6fa4d8bad5b3cc77e1ef435b63 | e844509654647e4b2bdc24328cc91042f2b1bfa3c42cd677a9d7e3ecfcd8d9da | chainx_wasm |
735afd6c53a0e143248df40dd5a25a75 | b6db6e26453286a69bd40eeda8ec2f8733e53dca058d6b5f4dfe7563ff4af441 | chainx_compact_wasm |
cdc2ec40f2986a75180848a6683513c4 | 265caaf419937d226608ed3414a2a6ae5a1d22de578c6be0658060de66cd0255 | 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.0.0
GIT commit : 688cf46
GIT tag : v5.0.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2023-06-01T07:25:50Z
== Compact
Version : chainx-29 (chainx-net-1.tx6.au1)
Metadata : V14
Size : 5.14 MB (5384648 bytes)
Proposal : 0xaac452cc1ce80fce83380d09d0dcd3bb06c0727c13b87b95eb3c54b5d54a964e
IPFS : QmNsYAJWXWdJvYihPsnYnqJdF9oeN5u2BSDoM7XMHNgvVt
BLAKE2_256 : 0x3bff75b7d25a21e7437ad8d7a10c504a74a422750ae72b3469740dc3fb18b7b6
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-29 (chainx-net-1.tx6.au1)
Metadata : V14
Size : 1.16 MB (1217059 bytes)
Compression : 77.4%
Proposal : 0x7d4a4eea7d0d24bf0de12c43f82ef03e455e349e6f49961cf71d956797c21fd6
IPFS : QmSRL3XbYcfBJUUQrKypSLLrQEdfQWHY5R3fdSkNt2rAet
BLAKE2_256 : 0x4dee0e5a09f141dcc258c161c4bdcee08faf7c27704918d23e4d03172f983737
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm
Release v4.4.0(Aptos support)
Global Priority
HIGH: This is a high priority release, and you must upgrade as as soon as possible if you are validator
- runtime version
22
->27
at#6,191,497
- Improve xstaking election
- Implement btc to evm address
- Implement btc to aptos address
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.4.0
What's Changed
- Add EVM Contracts by @icodezjb in #637
- Relaunch chainx-malan testnet by @icodezjb in #638
- Impl btc to evm by @AAweidai in #642
- impl move address by @AAweidai in #645
- Improve xstaking election by @icodezjb in #639
- Bump ChainX v4.4.0 by @icodezjb in #647
Full Changelog: v4.3.0...v4.4.0
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
66d04949378c68da01ed011913ec063a | 2c35c5aa489aa30b01c32cca745ed82879d2406a89361b00b3c09e72b60183e3 | chainx-4.4.0-ubuntu-20.04-x86_64 |
9bf09783db6c2d1e6d1954b985966200 | afba5115d3f4930da4324927d831567cd08ab8fc9f2e81b0e0fdc3c179a3aeda | chainx_wasm |
fedd1039935378ad6157afd067b555d2 | 33a74b9f5cc29d9b8b15e5543e7498114d3453fd474fbb470a8f4a07283bb6ec | chainx_compact_wasm |
092724dfaa59f23d917207fd7139c49b | 45517b59e3916fb01bc55e4429f0995f6d3bbcbf05fd0f404037fc4fb21dfc5d | 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.4.0
GIT commit : de7ae7e97c9e2448da99499fa2b171b9a3688222
GIT tag : v4.3.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2022-10-18T07:57:04Z
== Compact
Version : chainx-27 (chainx-net-1.tx5.au1)
Metadata : V14
Size : 5.11 MB (5355453 bytes)
Proposal : 0x2ecdd6c0856c989b18aa6741cfba4b3881f7502e5cd1a11d7631f981d4a51bac
IPFS : QmZosCK6yZiPcfeoUqz8oZYiVyjZq1hnSbPvT3qu2tm8mp
BLAKE2_256 : 0x59765993c426c10403cf736c4503218c77730fe16a9c4b112c4d87a726a7a8da
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-27 (chainx-net-1.tx5.au1)
Metadata : V14
Size : 1.16 MB (1217412 bytes)
Compression : 77.27%
Proposal : 0x2c14515ef03fa351e9efcb4fbe6cd6bc078bca9950e4e5b58b4af4cf1f74c27d
IPFS : QmRAYj2g3iVCSm6ntA5ngmKjgStTFBn35aHssd3MgeGB4P
BLAKE2_256 : 0x6f101aaf7b1b834c2e49b504faff5f0db832d9ab51544c4a88d01be675283e1d
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm
Release v4.3.0 (EVM support)
Global Priority
Very HIGH: This is a very high priority release, and you must upgrade as as soon as possible.
- runtime version
20
->22
at#4,157,985
- Improve bitcoin gateway
- Update substrate to Polkadot-v0.9.18
- Add evm London support
This runtime introduces many changes to our Ethereum layer, specially around the EIP 1559. Here are the important parts:
EVM 0.33.1 - London support
- EIP-3198: BASEFEE opcode
- EIP-3529: Reduction in refunds
- EIP-3541: Reject new contracts starting with the 0xEF byte
Ethereum 0.11.1
Ethereum API - Changes
- new rpc
eth_feeHistory
: Returns transaction fee data for up to 1,024 blocks.- new property
block.baseFeePerGas
: baseFeePerGas used for the given block- new property
transactionReceipt.effectiveGasPrice
: gas price being used for the transaction- new property
transaction.accessList
: is an array of type[[{20 bytes}, [{32 bytes}...]]...]
, storing the contract address and the storage keys. Ex:
[
[
"0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
[
"0x0000000000000000000000000000000000000000000000000000000000000003",
"0x0000000000000000000000000000000000000000000000000000000000000007"
]
], [
"0xbb9bc244d798123fde783fcc1c72d3bb8c189413",
[]
]
]
- new property
transaction.maxFeePerGas
: how much BaseFee the transaction is allowed to pay.- new property
transaction.maxPriorityFeePerGas
: Correspond to the "tip" to the miner. (Note: It is currently included in the normal fees, being 100% to validators)- new property
transaction.type
: The current type of transaction0
(Legacy),1
(EIP-2930),2
(EIP-1559)- The base fee used in block is currently constant (450Gwei on SherpaX). The call the
eth_gasPrice
will return that value.
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.3.0
What's Changed
- Prevent transition when proposal processed by @hacpy in #629
- Add council origin for trustee admin calls by @hacpy in #630
- Remove gateway migration by @AAweidai in #631
- Update trustee doc by @AAweidai in #632
- Add call to set trustee proxy address by @hacpy in #634
- Update to support Substrate v0.9.18 and Frontier/Ethereum/EVM + EIP-1559 by @icodezjb in #635
- Fix stuck #3558525 while syncing blocks by @icodezjb in #636
Full Changelog: v4.2.0...v4.3.0
Checksum(Local build)
md5sum | sha256 | name |
---|---|---|
cefc84399c158e8c7948d0498de67f2b | ffd858f306e0113fa7fe2c93b893d76d3877ed93c998e6a3a763d510af7bb0f7 | chainx-4.3.0-ubuntu-20.04-x86_64 |
22d0833f87555813e2e02aa39067027e | 40ec67a2728edbb2c1bcc2a47df2394b6b64618648b0ace58183037078aa6fe8 | chainx_wasm |
0500da34b5c864c47222dcfc768d7ab6 | 78720b299bbc34032d988af51bcc15d951c40c8071272abfd931f0171795cbf3 | chainx_compact_wasm |
807cde3143ddc959858b9efb7b3772a8 | 4455c1db6470d2a201bda1330764069c2e1e4f7e67c40086f49b364c43b53efb | 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.3.0
GIT commit : 5c9399ad0b56f64723b6d91f394fbd6eb06aad0d
GIT tag : v4.3.0
GIT branch : develop-2022
Rustc : rustc 1.57.0 (f1edd0429 2021-11-29)
Time : 2022-05-25T08:02:33Z
== Compact
Version : chainx-22 (chainx-net-1.tx5.au1)
Metadata : V14
Size : 4.98 MB (5227045 bytes)
Proposal : 0x9b9a075029d06843ed9724380d3cf8f63172eeee9132cfb78fb9a037b9baf8da
IPFS : QmSW4VR1EpjGXGG4TqJZxPXvftGidm9KSACPk9dkiBnDUc
BLAKE2_256 : 0xe7df6eaf765bd4907bae31965cc8827d035a0a9fa7ffef2ca61ccec2ac95bda9
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.wasm
== Compressed
Version : chainx-22 (chainx-net-1.tx5.au1)
Metadata : V14
Size : 1.14 MB (1190770 bytes)
Compression : 77.22%
Proposal : 0x13cd9af9d4045dc3ccdd195ee63da8a298834725029ed45cb5869de467d27a13
IPFS : QmTEGjZeNDBsdb4g4U2hgnTfHrasmcdvqha68nd1YZLkE8
BLAKE2_256 : 0xf4564e5dcd6a53664f3ea99e37663b6eb8043887a8491fccbb59159f14bb00d5
Wasm : runtime/chainx/target/srtool/release/wbuild/chainx-runtime/chainx_runtime.compact.compressed.wasm
Release v4.2.0
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