Skip to content

Releases: stars-labs/heco-chain

v1.2.2

13 Dec 11:41
Compare
Choose a tag to compare

HECO v1.2.2 is a maintenance release

  • Merge updates from go-ethereum up to v1.10.13, including a DoS issue fix, a BAD BLOCK issue fix and all other fixes
  • Updates cross compiling feature after go-ethereum remove its cross compiling support
  • Resolve hard fork compatibility with each other

V1.2.1

19 Oct 09:03
Compare
Choose a tag to compare

This is a performance improvement release.

Features

Performance improvements

  • cache optimization: including smart contract execution, hashing, etc
  • disk writing optimization: refactoring trie cache persistence to asynchronous process in pipeline
  • parallelization: executing independent process with dfferent goroutines

v1.2.0

14 Sep 11:23
Compare
Choose a tag to compare

This release contains go-ethereum's code follow up AND HECO chain-governance improvement.

And this release will support three hard-forks, all of these hard-forks share the same hard-fork block number, which is:

  • 8290000 for the Testnet (Estimated Target Date: Thu Sep 16 2021 10:52:06 GMT+0800)
  • 8577000 for the Mainnet (Estimated Target Date: Sun Sep 26 2021 10:54:45 GMT+0800)

All nodes should be upgraded before the hard-forks take effect.

Sophon Hard Fork

  • upgrade some system contracts, supportting the new mechanism of block-rewards distribution (see the London hard-fork for detail).

Berlin Hard Fork

It's the same as the go-ethereum.

London Hard Fork

  • Modify the distribution of block rewards: (a) block rewards are divided into three parts: burn, foundation rewards and validator rewards.The rates can be adjusted through the system contract. (b) the amount of gas to be burned is controled by the burnRate in the system-validators contract, burned = blockRewards * burnRate/10000, and the burnRate can be changed by the HECO DAO; (c) the burned HT will be sent to 0x000000000000000000000000000000000000FaaA.
  • The BaseFee will always be zero.

Other features:

Mostly the same as go-ethereum v1.10.8, except that

  • the TxLookupLimit is 0 by default (which means keep all transactions index by default).
  • now it will be ok to debug_trace those blocks containing sys-txs (transactions initiated inside the Congress engine).

v1.1.3

27 Aug 10:22
Compare
Choose a tag to compare

This is a hot-fix release to patch a vulnerability in the EVM (CVE-2021-39137).

Check geth v1.10.8 and CVE-2021-39137 for any details about the flaw.

It's recommended that all users should upgrade to this version for safety.

v1.1.2

21 Aug 12:03
Compare
Choose a tag to compare

This is a hot-fix version, and only the archive-nodes are affected.

Bug fix

  • Currently the Congress's system transactions can not be traced, and one of them will cause an error and then make the traceBlock failed totally. This release is a hot-fix to this issue, and it's a temporary solution.

V1.1.1

08 Jul 09:32
Compare
Choose a tag to compare

v1.1.1 is a minor release with the sole purpose of enabling the RedCoast hard-fork on Mainnet.

The hard-fork block number on Mainnet is 6618800(20 July 2021 UTC+8:00).

For a full rundown of the changes please consult the v1.1.0 release note.

V1.1.0

30 Jun 02:33
Compare
Choose a tag to compare

RedCoast Hard Fork

This hardfork is not enabled on Mainnet, only for Testnet now.

  • System Governance. In case of emergency, administrators can simulate any address and contract, make transactions on the chain, generate special system transaction receipts and make them public on the chain.

  • Transaction Address Blacklist. All transactions associated with blacklisted addresses are blocked on the chain based on rules.

  • Contract developer permission list. New contract creator must be a whitelisted user; there is a master switch for this feature, which is initially turned off.

  • Node staking. Allow external users to run validator nodes, and users can be rewarded by staking.

New features

  • Gas price prediction base on the txpool, and with a rpc interface eth_gas Price Prediction for query;
  • Jam index (a quantitative index) for accessing the transaction jam status quantitatively, it's a metrics for this index, and also a rpc interface for query: txpool_jamIndex;

Improvement

  • Now the EstimateGas will return a non-exact value in order to improve the performance, and the returned gas value will be greater than the exact one, and with an error range less than 4000 gas.

Bug fix

  • eth/filters: fix potential deadlock in filter timeout loop;
  • eth/filters: fix potential timeout in getting logs if the block range is too large, set a maxFilterBlockRange const value.

v1.0.0

21 Dec 01:51
Compare
Choose a tag to compare

First release for heco