github chainx-org/ChainX v4.3.0
Release v4.3.0 (EVM support)

2 years ago

Global Priority

Very HIGH: This is a very high priority release, and you must upgrade as as soon as possible.

  • runtime version 20 -> 22
  • 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

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 transaction 0 (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)

"/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

Don't miss a new ChainX release

NewReleases is sending notifications on new releases.