Skip to content

Distribution

Latest

Choose a tag to compare

@AnnaShaleva AnnaShaleva released this 02 Dec 12:56
48225b6

This version finalizes Huyao hardfork preserving the full compatibility with C# node v3.11.3. The most important updates are new pricing scheme for VM instructions and interop APIs, TemporaryStorage native contract and hardforks management relocation to native Policy. It also includes a number of security issue fixes (some of them are incompatible with the previous behaviour, so please, review the "Behaviour changes" section carefully).

Huyao activation is scheduled for 15990000 block of N3 mainnet, 21560000 block of N3 testnet, 22570000 block of NeoFS mainnet and 21430000 block of NeoFS testnet, please adjust your configurations accordingly. No resync is needed if you manage to upgrade your nodes before these heights.

New features:

  • TemporaryStorage native contract active from Huyao (#4327, #4497)
  • System.Storage.FindWithStart interop is available from Huyao (#4408)
  • new unstable Iara hardfork (#4410)
  • new unstable Jackalope hardfork (#4446)

Behaviour changes:

  • hardforks management is moved to native Policy starting from Iara (#4377, #4497)
  • PrepareRequest is migrated to extended format starting from Iara (#4387)
  • stackitem.DeepCopy is converted to private function (#4414)
  • start parameter type of findstorage RPC API is changed (#4424)
  • major prices adjustment for VM instructions and interop APIs at Huyao (#4087, #4435, #4413, #4218, #4388)
  • prohibit empty invocation scripts in compact RecoveryMessage content (#4438)
  • MerkleBlock payload decoding limits adjustment (#4479)
  • native contracts are allowed to be called at the activation height (#4484)
  • GAS reward of blocked accounts is minted to native Treasury contract (#4492)
  • disable NeoFS BlockFetcher service across all default configurations (#4478)
  • the order of argument validation for System.Contract.CreateMultisigAccount was changed (#4502)
  • update of native CryptoLib recoverSecp256K1 API (#4506)
  • nativeprices package is dropped (#4508)
  • public interop context price getter functions are unexported (#4515)
  • sanitize Oracle's AllowedContentType config (#4525)

Improvements:

  • drop unused miner cache from consensus package (#4418)
  • NeoFS SDK dependency upgrades (#4402, #4421, #4445)
  • sync NeoVM JSON unit-tests (#4448)
  • test storage constructors are available from the neotest API (#4491)
  • wait for notification dispatcher finalisation on (*Blockchain).Close (#4512)
  • return transaction hash from (*neotest.Executor).InvokeScriptCheckHALT (#4510)
  • documentation updates (#4519)

Bugs fixed:

  • empty/nil start didn't differ during backwards storage iteration (#4409)
  • NPE in RPC client on broadcaster shutdown (#4412)
  • parse fake RPC header paramenter wrt StateRootInHeader setting (#4431)
  • ValidatorIndex field is unset on RecoveryMessage construction (#4444)
  • lambdas are compiled in non-deterministic order (#4442)
  • NPE on attempt to compile interop with custom-typed argument (#4466)
  • late cyclic reference detection for StdLib's jsonSerialize handler (#4480)
  • null sender is not supported by native Treasury's callbacks (#4482)
  • free nested whitelist contract calls (#4490)
  • invalid crypto.Bls12381Point type in interop wrappers (#4469)
  • some conflicting transactions are not respected during incoming mempool tx validation (#4486)
  • imbalanced pricing scheme of native TemporaryStorage contract (#4439)
  • custom header verification GAS limit is not respected (#4483)
  • read-only (*MemPool).Verify method writes to the pool's cache (#4487)
  • setWhitelistFeeContract doesn't update the native cache entry (#4498)
  • fee.Calculate ignores the updated prices from Huyao (#4504)
  • exception on null message in ABORTMSG/ASSERTMSG (#4514)
  • failing benchmarks (#4520, #4522, #4523)
  • invalid JSON RPC batch requests are not handled properly (#4524)