Skip to content

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

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

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

Release notes

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

Centuplication

A 3.5.0-compatible version of NeoGo with all the appropriate protocol updates and a number of other changes. The most notable ones are configuration updates. New features and some long-standing inconsistencies required for some changes and this release brings them with it. Old configurations are still supported and will work the same way (except for one minor exception in VerifyBlocks that is only supposed to be used for tests/development), but we'd like to highlight that all of the old settings will be removed in ~6 months, so please review these updates and update your configurations. For public networks the best way to go is to take the new versions from the "config" directory and then adjust for particular scenario if needed.

This release requires a complete resynchronization due to native contract changes, so please schedule your updates appropriately.

New features:

  • System.Runtime.LoadScript syscall (and appropriate smart contract interops) allowing to load/run dynamic code (#2719)
  • PUSHT/PUSHF VM instructions allowing for simpler/cheaper booleans (#2770)
  • ContractManagement native contract was extended with ID->hash mappings and getContractById and getContractHashes methods (#2702, #2837)
  • LogLevel application configuration option that can be changed on SIGHUP (#2831)
  • additional type data generated by the compiler that then can be used by the RPC bindings (SDK/contract wrapper) generator, this allows for complex types (structures/arrays/maps) to be easily represented/handled in contract-specific RPC code (#2828)
  • multiaddress listeners for all services and P2P, this changes the old Address/Port (and AnnouncedPort for P2P) configuration scheme to more generic Addresses list, the old configuration is still supported, but is deprecated and will be removed in future node versions (#2827, #2839)

Behaviour changes:

  • Aspidochelone fork block for NeoFS sidechain mainnet configuration is rescheduled again (#2823, #2830)
  • Blockchain's GetHeaderHash() method now accepts uint32 for parameter (#2814)
  • pre-0.97.3 and pre-0.99.0 deprecated compatibility fields and logic were dropped from the result.Version (getversion RPC result) structure (#2786)
  • SecondsPerBlock protocol configuration variable was replaced with TimePerBlock allowing for sub-second precision, SecondsPerBlock is still supported, but will eventually be removed (#2829)
  • AttemptConnPeers, BroadcastFactor, DialTimeout, ExtensiblePoolSize, MaxPeers, MinPeers, PingInterval, PingTimeout, ProtoTickInterval settings were moved into the new P2P section, timing parameters now use Duration type allowing for more human-friendly values in many cases, old parameters are still supported, but will eventually be removed (#2827)
  • consensus (dBFT) is configured as a separate service now that can be enabled/disabled (and can work in "watch only" mode without a wallet), the old direct "UnlockWallet" specification in "ApplicationConfiguration" is still supported, but is deprecated and will be removed in future versions (#2832)
  • GarbageCollectionPeriod, KeepOnlyLatestState, RemoveUntraceableBlocks, SaveStorageBatch and VerifyBlocks settings were moved from ProtocolConfiguration to ApplicationConfiguration; old configurations are still supported, except for VerifyBlocks which is replaced by SkipBlockVerification with inverted meaning (and hence an inverted default) for security reasons; this also affects NewBlockchain and neotest APIs (#2833)

Improvements:

  • more user-friendly error and help messages in some cases (#2824, #2834)
  • faster node startup time and smaller memory footprint for networks with lots (1-2M+) of blocks (#2814)
  • minor documentation fixes (#2834, #2838)

Bugs fixed:

  • transactions with system fee or more than MaxBlockSystemFee are no longer accepted into the mempool, preventing a form a network-wide DoS (#2826)
  • deprecated WSClient subscription methods not working correctly when filters are being used (#2836)

Hyalinization

Bugs, terrestrial arthropods with at least six legs. Sometimes we don't notice them, sometimes we ignore them, but they do exist and there are times when they need to be dealt with in one way or another. Most of the bugs fixed in this release have a little less legs than proper insects, they're far from being as critical as the ones fixed in the previous release and yet we consider them annoying enough to warrant this new version of NeoGo to be published. We don't want to see our users fighting these pesky creatures in the wild, better update and have a troublefree experience.

If you're not affected by #2815 (requests for verbose transaction data and application logs failed for some specific mainnet transaction(s)) you may leave the DB as is with this upgrade, if you want it to be solved then please resynchronize.

Behaviour changes:

  • "loadtx" VM CLI command now uses transaction system fee value as the default GAS limit for the context, unless --gas is used (previously it wasn't limited, #2816)
  • SendRawTransaction RPC client method will now always return transaction hash, even if error occured, this also affects Actor APIs and allows to handle some specific errors (like transaction already present in the mempool) in more appropriate way (#2817)
  • Actor and NotaryActor Wait() wrapper methods now handle "already exists" and "already on chain" errors as non-errors, waiting (if needed) and returning proper results (#2817)

Improvements:

  • reworked network discoverer/connection manager that has a better picture of the network (especially if it's a small one), doesn't try to make additional connections (even when having less than MinPeers of them) when there are no more real addresses to connect to, establishes stable connections faster in containerized environments and does more connection attempts when MinPeers setting is not satisfied, but there are potential candidates (#2811)
  • VM invocation stack handling microoptimization (#2812)
  • load* VM CLI commands now accept --gas parameter to set the amount of GAS to be used in this context (#2816)
  • better logging during state reset process (#2813)
  • subscription-based transaction waiter now handles already accepted transactions faster (~immediately vs waiting for block timeout previously, #2817)
  • WSClient can return more specific error on websocket handshake failure if it's provided by server (#2821)
  • new MaxWebSocketClients configuration option for the RPC server to control the number of allowed websocket clients, missing or 0 value make the server use the default of 64 which is compatible with the previous behavior (you can use old configurations if you don't care about this option, #2821)

... (truncated)

Changelog

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

0.100.0 "Centuplication" (08 Dec 2022)

A 3.5.0-compatible version of NeoGo with all the appropriate protocol updates and a number of other changes. The most notable ones are configuration updates. New features and some long-standing inconsistencies required for some changes and this release brings them with it. Old configurations are still supported and will work the same way (except for one minor exception in VerifyBlocks that is only supposed to be used for tests/development), but we'd like to highlight that all of the old settings will be removed in ~6 months, so please review these updates and update your configurations. For public networks the best way to go is to take the new versions from the "config" directory and then adjust for particular scenario if needed.

This release requires a complete resynchronization due to native contract changes, so please schedule your updates appropriately.

New features:

  • System.Runtime.LoadScript syscall (and appropriate smart contract interops) allowing to load/run dynamic code (#2719)
  • PUSHT/PUSHF VM instructions allowing for simpler/cheaper booleans (#2770)
  • ContractManagement native contract was extended with ID->hash mappings and getContractById and getContractHashes methods (#2702, #2837)
  • LogLevel application configuration option that can be changed on SIGHUP (#2831)
  • additional type data generated by the compiler that then can be used by the RPC bindings (SDK/contract wrapper) generator, this allows for complex types (structures/arrays/maps) to be easily represented/handled in contract-specific RPC code (#2828)
  • multiaddress listeners for all services and P2P, this changes the old Address/Port (and AnnouncedPort for P2P) configuration scheme to more generic Addresses list, the old configuration is still supported, but is deprecated and will be removed in future node versions (#2827, #2839)

Behaviour changes:

  • Aspidochelone fork block for NeoFS sidechain mainnet configuration is rescheduled again (#2823, #2830)
  • Blockchain's GetHeaderHash() method now accepts uint32 for parameter (#2814)
  • pre-0.97.3 and pre-0.99.0 deprecated compatibility fields and logic were dropped from the result.Version (getversion RPC result) structure (#2786)
  • SecondsPerBlock protocol configuration variable was replaced with TimePerBlock allowing for sub-second precision, SecondsPerBlock is still supported, but will eventually be removed (#2829)
  • AttemptConnPeers, BroadcastFactor, DialTimeout, ExtensiblePoolSize, MaxPeers, MinPeers, PingInterval, PingTimeout, ProtoTickInterval settings were moved into the new P2P section, timing parameters now use Duration type allowing for more human-friendly values in many cases, old parameters are still supported, but will eventually be removed (#2827)
  • consensus (dBFT) is configured as a separate service now that can be enabled/disabled (and can work in "watch only" mode without a wallet), the

... (truncated)

Commits
  • 628f047 Merge pull request #2840 from nspcc-dev/release-0.100.0
  • 31b8635 CHANGELOG: release 0.100.0
  • bbb35f5 Merge pull request #2839 from nspcc-dev/port-string
  • 3ce1fc4 config: fix the default P2P ping settings
  • 0d65071 config: use string type for Port
  • 81d7557 Merge pull request #2833 from nspcc-dev/proto-to-app-config-2
  • 4e7cee4 config: replace VerifyBlocks with SkipBlockVerification
  • d92f356 config: move Ledger config from Protocol to Application
  • 7589733 config: add a special Blockchain type to configure Blockchain
  • 199a6de Merge pull request #2838 from nspcc-dev/neo-misuse
  • 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.100.0.
- [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.100.0)

---
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 December 12, 2022 16:01
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 2, 2023

Superseded by #252.

@dependabot dependabot bot closed this Jan 2, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/nspcc-dev/neo-go-0.100.0 branch January 2, 2023 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