Skip to content

build(deps): bump github.com/nspcc-dev/neo-go from 0.78.3 to 0.99.1#222

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/nspcc-dev/neo-go-0.99.1
Closed

build(deps): bump github.com/nspcc-dev/neo-go from 0.78.3 to 0.99.1#222
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/nspcc-dev/neo-go-0.99.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 1, 2022

Bumps github.com/nspcc-dev/neo-go from 0.78.3 to 0.99.1.

Release notes

Sourced from github.com/nspcc-dev/neo-go's releases.

Parametrization

We're updating NeoGo to push out a number of significant updates as well as make it compatible with 3.3.1 version of C# node. The most prominent changes are RPC sessions for iterators returned from invoke* calls, initial bits of RPC client refactoring and support for darwin-arm64 and linux-arm64 platforms. A number of internal changes are less visible from outside, but are also important for future evolution of the code base.

Node operators must resynchronize their nodes to get fully compatible state (which is confirmed to be compatible with 3.3.1 for current mainnet up to block 1932677 and T5 testnet up to block 475938). RPC client users, please review the changes carefully and update your code wrt refactorings made as well as iterator session support.

Subsequent releases will also change RPC client and associated code, we want to make it easier to use as well as extend its functionality (see #2597 for details, comments and suggestions are welcome). 0.99.2 is expected to be released somewhere in August with 3.4.0 C# node compatibility.

New features:

  • getcandidates RPC method to get full list of registered candidates and their voting status (#2587)
  • wallet configuration file support to simplify using CLI non-interactively, use --wallet-config option instead of --wallet if needed (#2559)
  • session-based JSON-RPC iterator API for both server and client with traverseiterator and terminatesession calls; notice that the default server behavior (SessionEnabled: false) is compatible with NeoGo 0.99.0, iterators are expanded the way they were previously, only when sessions are enabled they're returned by the server to the client (#2555)
  • interop package now provides helper methods for proper Hash160, Hash256 and other type comparisons in smart contracts (#2591)
  • smartcontract.Builder type to assist with entry script creation as well as a set of CreateXXXScript functions for simple cases (#2610)

Behavior changes:

  • 3.3.1-compatible order of ABI methods for the native NeoToken contract which affects LedgerContract state (#2539)
  • getnextvalidators RPC was reworked to be compatible with C# node, if you rely on Active flag from the old response or full candidate list please use getcandidates method (#2587)
  • --account parameter for contract manifest add-group CLI command was changed to --address (short -a is still the same) for better consistency with other commands (#2559)
  • (*WSClient).GetError won't return an error in case the connection was closed with (*WSClient).Close
  • getnepXXbalances RPCs now return decimals, symbol and token name data along with asset hash (#2581)
  • Ledger.GetBlock will now return state root hash for chains that use StateRootInHeader extension (#2583)
  • request.RawParams type is gone (but it likely wasn't used anway), if needed use []interface{} directly (#2585)
  • RawParams field of request.Raw was renamed to Params (#2585)
  • vm.State type moved to a package of its own (vm/vmstate) to avoid importing whole VM where only State type is needed (#2586)
  • MaxStorageKeyLen and MaxStorageKeyLen definitions moved from core/storage to config/limits package simplifying their usage (#2586)
  • vm.InvocationTree type moved into vm/invocations (#2586)
  • storage.Operation type moved into storage/dboper package (#2586)
  • rpc/server package moved to services/rpcsrv (#2609)
  • rpc/client package moved to rpcclient (#2609)
  • network/metrics package moved to services/metrics (#2609)
  • rpc/request and rpc/response packages were merged under neorpc, request.Raw is neorpc.Request now, while response.Raw is neorpc.Response (#2609)
  • rpc.Config type was moved to config.RPC (#2609)
  • subscriptions.NotificationEvent type moved to state.ContainedNotificationEvent (#2609)
  • subscriptions.NotaryRequestEvent type moved to result.NotaryRequestEvent (#2609)

Improvements:

  • new make targets to build NeoGo binaries locally or using Docker environment (#2537, #2541)
  • more detailed client-side error on JSON-RPC WebSocket connection closure (#2540)
  • various node's micro-optimizations both for CPU usage and memory allocations (#2543)
  • new Wallet method that allows to save it in pretty format (#2549)
  • massive test code refactoring along with some core packages restructuring (#2548)
  • transaction package fuzz-test (#2553)
  • simplified client-side Error structure, more predefined errors for comparisons, refactored server side of RPC error handling (#2544)
  • more effective entry scripts for parameterless function invocations via RPC (#2558)
  • internal services now can start/stop properly independent of other node functionality (#2566, #2580)
  • all configurations now use 'localhost' instead of 127.0.0.1 (#2577)
  • documented JSON behavior for enumerations which deviates from C# node slightly (#2579)
  • better error messages in the CLI for invocations (#2574)
  • compiler can inline methods now (#2583)
  • interface{}() conversions are supported by the compiler now (although they don't change values, #2583)

... (truncated)

Changelog

Sourced from github.com/nspcc-dev/neo-go's changelog.

0.99.1 "Parametrization" (28 Jul 2022)

We're updating NeoGo to push out a number of significant updates as well as make it compatible with 3.3.1 version of C# node. The most prominent changes are RPC sessions for iterators returned from invoke* calls, initial bits of RPC client refactoring and support for darwin-arm64 and linux-arm64 platforms. A number of internal changes are less visible from outside, but are also important for future evolution of the code base.

Node operators must resynchronize their nodes to get fully compatible state (which is confirmed to be compatible with 3.3.1 for current mainnet up to block 1932677 and T5 testnet up to block 475938). RPC client users, please review the changes carefully and update your code wrt refactorings made as well as iterator session support.

Subsequent releases will also change RPC client and associated code, we want to make it easier to use as well as extend its functionality (see #2597 for details, comments and suggestions are welcome). 0.99.2 is expected to be released somewhere in August with 3.4.0 C# node compatibility.

New features:

  • getcandidates RPC method to get full list of registered candidates and their voting status (#2587)
  • wallet configuration file support to simplify using CLI non-interactively, use --wallet-config option instead of --wallet if needed (#2559)
  • session-based JSON-RPC iterator API for both server and client with traverseiterator and terminatesession calls; notice that the default server behavior (SessionEnabled: false) is compatible with NeoGo 0.99.0, iterators are expanded the way they were previously, only when sessions are enabled they're returned by the server to the client (#2555)
  • interop package now provides helper methods for proper Hash160, Hash256 and other type comparisons in smart contracts (#2591)
  • smartcontract.Builder type to assist with entry script creation as well as a set of CreateXXXScript functions for simple cases (#2610)

Behavior changes:

  • 3.3.1-compatible order of ABI methods for the native NeoToken contract which affects LedgerContract state (#2539)
  • getnextvalidators RPC was reworked to be compatible with C# node, if you rely on Active flag from the old response or full candidate list please use getcandidates method (#2587)
  • --account parameter for contract manifest add-group CLI command was changed to --address (short -a is still the same) for better consistency with other commands (#2559)
  • (*WSClient).GetError won't return an error in case the connection was closed with (*WSClient).Close
  • getnepXXbalances RPCs now return decimals, symbol and token name data along with asset hash (#2581)
  • Ledger.GetBlock will now return state root hash for chains that use StateRootInHeader extension (#2583)

... (truncated)

Commits
  • a63897e CHANGELOG: release 0.99.1
  • 4e98ca3 Merge pull request #2616 from nspcc-dev/rollback-to-3.3.1
  • a5afa87 Merge pull request #2615 from nspcc-dev/fix-candidate-register
  • 1a8bff5 go.mod: update interop dependencies
  • 6c7a401 native/interop: revert management.hasMethod()
  • bd5644a vm/core: revert out-of-bounds script checks
  • 8e9bd3e native: trigger committee update on candidate registration
  • 0ae8b63 Merge pull request #2614 from nspcc-dev/version-output-format
  • eb67b61 cli: change --version output format, fix #2611
  • 1ff588a Merge pull request #2610 from nspcc-dev/sc-code-emit
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/nspcc-dev/neo-go](https://github.com/nspcc-dev/neo-go) from 0.78.3 to 0.99.1.
- [Release notes](https://github.com/nspcc-dev/neo-go/releases)
- [Changelog](https://github.com/nspcc-dev/neo-go/blob/master/CHANGELOG.md)
- [Commits](nspcc-dev/neo-go@v0.78.3...v0.99.1)

---
updated-dependencies:
- dependency-name: github.com/nspcc-dev/neo-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from zengchen221 as a code owner August 1, 2022 16:02
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 1, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Aug 15, 2022

Superseded by #227.

@dependabot dependabot Bot closed this Aug 15, 2022
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/nspcc-dev/neo-go-0.99.1 branch August 15, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants