Skip to content

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

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 14, 2022

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

Release notes

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

Underestimation

It wasn't long since the previous release until a juicy set of features and optimisations came on board. So we've decided to change our release plan and supply one more 3.4.0 compatible version. It comes up with a massive suite of network P2P and broadcast improvements. We've carefully investigated message sending timeouts on benchmarks, reworked the broadcast logic and significantly reduced delays in message sending and the amount of useless traffic between our nodes. For smart-contract developers and RPC client users several new features were added. These are automatic RPC bindings generator, poll-based and websocket-based transactions awaiting and an extended websocket client subscriptions interface. For better debugging experience we've improved state related functionality of VM CLI and added an ability to reset chain state to a particular height.

An important dBFT initialization bug that caused timestamp-related errors on block addition was fixed. Also, those who use NeoGo node with EnableCORSWorkaround setting may want to update the node to be able to handle websocket requests with Origin set in the header. The users of websocket RPC client subscription mechanism are welcomed to move from deprecated subscriptions API to the extended one. Finally, we are kindly asking our users to have a look at our roadmap file where deprecated code removal schedule is attached.

This version is fully compatible with C# node 3.4.0 and does not require resynchronization on upgrade. This time for sure, the next release is planned to be compatible with 3.5.0.

New features:

  • logarithmic gossip fan-out, new BroadcastFactor application setting and adaptive peer requests are added to optimise broadcasting process (#608, #2678, #2743)
  • Prometheus histograms with handling time are added for P2P commands (#2750) and RPC calls (#2784)
  • transaction awaiting is added to RPC clients (#2740, #2749)
  • RPC bindings generator (#2705) is added for both safe (#2766) and state-changing (#2769, #2778) methods with initial iterator support (#2783)
  • the ability to reset chain state to a particular height is added (#2576, #2773)

Behaviour changes:

  • Aspidochelone fork block for NeoFS sidechain mainnet configuration is rescheduled (#2754, #2776)
  • RPC server will now handle any Origin in websocket connection when EnableCORSWorkaround setting is on (#2772, #2724)
  • WS RPC client subscriptions API is extended to accept custom subscriber channels, old subscriptions API is marked as deprecated (#2756, #2764)

Improvements:

  • network code refactoring (#2742)
  • network packets sending is now limited in time (#2738)
  • broadcast messages will be sent concurrently to each peer (#2741)
  • ping messages are broadcast using the common broadcast logic (#2742)
  • transactions requested by dBFT will be accepted on demand only (#2746, #2748, nspcc-dev/dbft#63)
  • VM CLI's state-based functionality improvements (extended signers and arguments parsing, enabled logging) and additional commands (loadtx, loaddeployed, jump) (#2729, #2606, #2740)
  • incoming P2P transactions are now processed concurrently and buffer for inventory hashes is reusable (#2755)
  • GetData and GetBlocksByIndex replies are now batched on a TCP-level (#2757)
  • optimisation of incoming P2P transactions and blocks filtering are introduced (#2758, #2759)
  • batch size of broadcast transactions hashes is adjusted (#2760)
  • peer reconnections logic is improved, GetAddr messages are sent more often (#2761, #2745)
  • documentation for wallet configuration file is clarified (#2763)
  • Koblitz curve implementation of btcd/btcec was replaced with decred/secp256k1 due to GitHub security warning (#2781)
  • NOT opcode for Bool emission is now used to reduce resulting script cost (#2762)

Bugs fixed:

  • failing tests cleanup on Windows (#2736)
  • race in CLI test (#2765)
  • invalid conversion of PublicKey smart contract parameter to emitable (#2739)
  • initialize dBFT's context with previous block's timestamp on view 0 (#2753, #2752, nspcc-dev/dbft#64)

Transliteration

A small update mostly interesting for people building/testing smart contracts with NeoGo. It contains long-awaited VM CLI update that allows to use blockchain state and complete set of interops, additional helper functions for smart contracts and notification checking code (for upcoming 3.5.0 protocol changes). Node operators using EnableCORSWorkaround (that is still not recommended, but available) also may want to update to be able to handle pre-flight CORS requests.

This version is compatible with C# node 3.4.0 and does not require resynchronization on upgrade. The next release is planned to be compatible with 3.5.0.

New features:

  • address conversion helpers for smart contracts (#2698)
  • interop helper to call specific version of a contract (#2695)
  • notifications are now checked for manifest compliance, a warning is logged in case on detected inconsistencies (#2710)

... (truncated)

Changelog

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

0.99.5 "Underestimation" (11 Nov 2022)

It wasn't long since the previous release until a juicy set of features and optimisations came on board. So we've decided to change our release plan and supply one more 3.4.0 compatible version. It comes up with a massive suite of network P2P and broadcast improvements. We've carefully investigated message sending timeouts on benchmarks, reworked the broadcast logic and significantly reduced delays in message sending and the amount of useless traffic between our nodes. For smart-contract developers and RPC client users several new features were added. These are automatic RPC bindings generator, poll-based and websocket-based transactions awaiting and an extended websocket client subscriptions interface. For better debugging experience we've improved state related functionality of VM CLI and added an ability to reset chain state to a particular height.

An important dBFT initialization bug that caused timestamp-related errors on block addition was fixed. Also, those who use NeoGo node with EnableCORSWorkaround setting may want to update the node to be able to handle web-socket requests with Origin set in the header. The users of websocket RPC client subscription mechanism are welcomed to move from deprecated subscriptions API to the extended one. Finally, we are kindly asking our users to have a look at our roadmap file where deprecated code removal schedule is attached.

This version is fully compatible with C# node 3.4.0 and does not require resynchronization on upgrade. This time for sure, the next release is planned to be compatible with 3.5.0.

New features:

  • logarithmic gossip fan-out, new BroadcastFactor application setting and adaptive peer requests are added to optimise broadcasting process (#608, #2678, #2743)
  • Prometheus histograms with handling time are added for P2P commands (#2750) and RPC calls (#2784)
  • transaction awaiting is added to RPC clients (#2740, #2749)
  • RPC bindings generator (#2705) is added for both safe (#2766) and state-changing (#2769, #2778) methods with initial iterator support (#2783)
  • the ability to reset chain state to a particular height is added (#2576, #2773)

Behaviour changes:

  • Aspidochelone fork block for NeoFS sidechain mainnet configuration is rescheduled (#2754, #2776)
  • RPC server will now handle any Origin in websocket connection when EnableCORSWorkaround setting is on (#2772, #2724)
  • WS RPC client subscriptions API is extended to accept custom subscriber channels, old subscriptions API is marked as deprecated (#2756, #2764)

Improvements:

  • network code refactoring (#2742)
  • network packets sending is now limited in time (#2738)

... (truncated)

Commits
  • 91e9b5f Merge pull request #2787 from nspcc-dev/0.99.5-changelog
  • b9765fa *: add changelog for 0.99.5
  • f78231f Merge pull request #2773 from nspcc-dev/state-reset
  • 4708227 Merge pull request #2785 from nspcc-dev/deprecation-roadmap
  • e7effef core: reuse appendTokenTransferInfo from appendTokenTransfer
  • 30cfe4d cli: add db reset command
  • bd6bb9e core: allow to reset blockchain state
  • ec9317d core: fix typo
  • e208ef1 ROADMAP: add deprecated code removal schedule
  • 1dac45b core: add ability to check whether blockchain is running
  • 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.5.
- [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.5)

---
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 November 14, 2022 16:01
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 14, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Nov 28, 2022

Superseded by #245.

@dependabot dependabot Bot closed this Nov 28, 2022
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/nspcc-dev/neo-go-0.99.5 branch November 28, 2022 16:01
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