Skip to content

Neo-CLI v3.11.3 sets Huyao hard fork heights for TestNet, MainNet

Neo N3 node operators must upgrade to Neo-CLI v3.11.3, a mandatory release that activates the Huyao hard fork at block height 21,560,000 on Neo N3 TestNet and block 15,990,000 on MainNet. Neo estimates those heights will be reached on the evening of Dec. 3 and the morning of Dec. 25 UTC.

Huyao’s code shipped in the core library with Neo N3 v3.11.2 on Nov. 20, but will remain switched off until the block heights for the fork are reached. Node operators who upgrade before the respective heights do not need to resynchronize the blockchain.

The release also sets Huyao heights for the NeoFS sidechain, at block 21,430,000 on its TestNet and block 22,570,000 on its MainNet.

What Huyao switches on

The Huyao changes were previously covered by NNT when the code shipped. Once the hard fork activates:

  • Opcodes whose cost depends on their inputs are priced by the work they perform, and a set of system call prices is updated (PRs #4536 and #4762).
  • TemporaryStorage, a new native contract, lets smart contracts store data that expires and is removed automatically (PR #4727).
  • GAS rewards owed to accounts the Neo Council has blocked are minted to the Treasury (PR #4783).
  • Hard fork activation moves to the Policy contract, so later hard forks, starting with Iara, are scheduled by Council transaction rather than configuration heights (PR #4726).

Developers whose contracts include fee estimation logic or rely on the previous fixed prices should verify those contracts against the new pricing before the Huyao activation block.

Notary main-transaction Conflicts restriction

A Notary-assisted main transaction can no longer carry a Conflicts attribute (PR #4821). Unlike the Huyao changes, this applies as soon as the network is running v3.11.3.

Notary is a service on Neo N3 that allows multiple parties to coordinate multi-signature transactions. A Conflicts attribute, when included in a transaction, signals that the transaction is intended to invalidate certain other transactions. The restriction is intended to stop a malicious main transaction from replacing a valid Notary-signed transaction in the mempool.

Configuration file behavior

The neo-cli --config <file> option now loads protocol settings, including hard fork heights, from the specified file rather than always from config.json (PR #1160). A missing configuration file now prevents the node from starting.

Operators running multiple network configurations, such as separate TestNet and MainNet nodes, should verify that their startup scripts pass the correct file and that any custom file includes the Huyao height.

The release also tightens RestServer defaults, disabling CORS and binding to loopback when no BindAddress is set (PRs #1162 and #1145).

Upgrade details

Neo-CLI v3.11.3 is available for Linux, macOS, and Windows on the neo-node GitHub releases page.

NeoGo, the Neo N3 node client maintained by Neo SPCC, released v0.124.0 with Huyao support on Dec. 2. It uses the same activation heights as Neo-CLI v3.11.3, including those for NeoFS, and NeoGo nodes upgraded before those heights also do not need to resynchronize.

The full release notes can be found at the link below:
https://github.com/neo-project/neo-node/releases/tag/v3.11.3