Altcoins

Neo SPCC releases NeoGo v0.112.0 with TestNet state fix and new NEP support


Neo SPCC has released NeoGo v0.112.0, an update that fixes a TestNet state difference and introduces support for several newly added NEPs. The release also adds customizable native contracts, allowing developers to mock native contract implementations.

The update resolves a state divergence at block 8,813,651 on TestNet caused by improper handling of ABORTMSG and ASSERTMSG arguments.

TestNet node operators are required to resynchronize databases or reset state to block 8,813,650 when upgrading. This can be accomplished using the CLI db reset command.

New features

NeoGo v0.112.0 introduces customizable native contracts, enabling developers to mock native contract implementations, and supports NEP-22 and NEP-31 (contract update and destroy) across the CLI, smartcontract package, and compiler.

NEP-29 and NEP-30 (the _deploy and verify methods) are also supported in the smartcontract package and compiler, while NEP-32 introduces a unified chain dump format for the db restore CLI command.

It is also now possible to subscribe to mempool events via WebSocket, making it possible to monitor mempool changes through RPC.

Improvements

The update adds a new KeyValue type for storage interop, extends the CLI convert tool with a Base64 public key converter, and introduces stackitem conversion support for the RoleManagement RPC binding’s DesignationEvent.

The getversion RPC response now includes three additional settings: SaveInvocations, KeepOnlyLatestState, and RemoveUntraceableBlocks. Compiler support for Go’s built-in min and max functions has been added, and WebSocket client connection error handling has been improved.

Changes and removals

The wallet candidate registration command has been migrated to use a GAS transfer, and the RPC client’s Waiter.Wait method now accepts a context parameter.

The update additionally resolves a panic caused by public key comparisons with infinite operands, and adds a strict UTF-8 check for ABORTMSG and ASSERTMSG arguments.

Several deprecations are included in this release, which may be viewed in the changelog.

The full release notes may be read at the following link:


Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button