Neo N3 v3.11.2 Ships Huyao Hard Fork Code, Targets Dec. 15 MainNet Activation
Neo N3 v3.11.2 ships the Huyao hard fork code with proposed activation at block 21,610,000 on TestNet and 15,734,000 on MainNet, landing near Dec. 5 and Dec. 15. Client releases are pending.

Outputs
Proposed Huyao activation: block 21,610,000 on TestNet (~Dec. 5) and block 15,734,000 on MainNet (~Dec. 15)
MODPOW base price set at 1,648.443 Datoshi under dynamic opcode pricing
TemporaryStorage native contract deletes expired records, up to 10,000 per block, with a 365-day maximum lifetime
Around 30 security fixes included; bounty pays up to US $5,000 for critical findings
Neo-CLI and NeoGo have not yet published releases containing the Huyao heights
Neo N3 v3.11.2, published on GitHub, contains the full code for the Huyao hard fork, with proposed activation at block 21,610,000 on TestNet and block 15,734,000 on MainNet (PR #4844). At recent block times of roughly 3.13 seconds on MainNet and 3.14 seconds on TestNet, those heights put activation near Dec. 5 on TestNet and Dec. 15 on MainNet.
The heights have not yet been written into the configuration files of Neo-CLI or NeoGo, and neither client has shipped a release containing Huyao. Node operators run Neo-CLI, which is released separately and has not been updated to v3.11; that release is expected to carry the Huyao heights. Neo SPCC has said NeoGo will follow a couple of days after the C# node, once MainNet and TestNet states have been checked on the released version.
What does dynamic pricing change?
Once Huyao activates, opcodes whose cost depends on their inputs will be priced by the work they actually perform, while the remaining opcodes receive new fixed prices (PR #4536). The model is ported from NeoGo and uses data NeoVM v3.11.2 reports after each instruction.
MODPOW, for example, will carry a base price of 1,648.443 Datoshi, set from its worst-case execution time, before the execution fee factor applies (PR #4780). Huyao also reprices system calls across the System.Runtime, System.Contract, System.Crypto, System.Iterator and System.Storage namespaces (PRs #4760, #4762 and #4769). Notifications will be charged by the number of items copied.
The release does not touch the Council-set execution fee factor. The Neo Council deferred a 100x execution fee reduction in April until dynamic pricing was in place, and no date for that reduction has been set.
What is TemporaryStorage?
Huyao adds TemporaryStorage, a native contract for key-value records deleted automatically once they expire (PR #4727). Based on a proposal by Neo co-founder Erik Zhang, it targets long-term state growth from short-lived data such as handshakes, temporary proofs and relay data.
Contracts can put, get, delete, find and renew records, and other contracts can read them by passing the owner's contract hash. Expiry is set as a timestamp rather than a block height, and the network removes up to 10,000 expired records per block.
Records can last up to 365 days, a limit the Council can lower through the Policy contract (PR #4763). Pricing is a share of the normal storage price, proportional to the record's lifetime out of 365 days (PR #4814).
How will future hard forks activate?
Today, each hard fork requires node operators to update software and add an activation height to their configurations. A node that misses that step can keep running with state that differs from the rest of the network.
Huyao adds activateHardfork to the Policy contract, so the Council can schedule later forks with a signed transaction instead (PR #4726). Huyao itself still activates through configuration heights; Iara, the next fork, will be the first activatable only through the Policy contract. A node that sees an activation for a fork it does not recognize will stop rather than continue on diverging state.
What else changed?
- $GAS rewards owed to Council-blocked accounts will be minted to the Treasury contract instead, because minting to a blocked account can trigger its payment callback and abort the operation or cast a new vote (PR #4783).
- The fork adds the System.Storage.FindWithStart system call (PR #4751) and makes ECRecover reject invalid signature values (PR #4588).
- Several changes preserve pre-Huyao behavior so historical blocks replay identically.
The release also carries about 30 security and robustness fixes, many credited to outside reporters. Five pull requests reference GitHub security advisories, none published at the time of writing. Each peer's outbound message queue is now capped at 1,024 messages and 256 MiB (PR #4778), nodes reject uncompressed public keys not on the curve (PR #4794), and peers can no longer direct a node to loopback or private network addresses (PR #4843). The multisignature witness fix from v3.10.2 carries into the v3.11 line (PR #4785), and the security policy now documents a bounty program paying up to US $5,000 for critical findings and $2,500 for high-severity ones (PR #4774).
What must developers do?
Projects built on the core library must update their code: transaction and contract scripts are now stored as Neo.VM.Script objects rather than raw bytes (PRs #4825, #4828), letting a script parsed once be reused during block persistence and across executions. Storage plugins must also adapt, because the skip option for storage searches moved into the storage interface (PR #4734).
The release was tested on a private network of two C# consensus nodes, two NeoGo consensus nodes and a NeoGo RPC node, with Huyao enabled at block 5. The network handled roughly 50 transactions per second for five minutes. After a NeoGo compatibility fix (PR #4506), the Huyao block and standard NEP-17 $GAS transfers produced no state differences between the clients across the 19 blocks compared.
The next checkpoint is the Neo-CLI release carrying the Huyao heights, expected before the proposed Dec. 5 TestNet activation.
via cryptonews.net (Source)
More from Tom Whitfield
Show full bio
News editor covering technology and product news in crypto and web3 industry at Mempool Brief.
1,690 articles