Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sp-runtime requirement from 7.0.0 to 21.0.0 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2023

Updates the requirements on sp-runtime to permit the latest version.

Changelog

Sourced from sp-runtime's changelog.

Changelog

The format is based on Keep a Changelog.

Unreleased

2.0.1-> 3.0.0 - Apollo 14

Most notably, this is the first release of the new FRAME (2.0) with its new macro-syntax and some changes in types, and pallet versioning. This release also incorporates the faster and improve version 2.0 of the parity-scale-codec and upgraded dependencies all-around. While the FinalityTracker pallet has been dropped, this release marks the first public appearance of a few new pallets, too;Bounties, Lottery, Tips (extracted from the Treasury-pallet, see #7536) and Merkle-Mountain-Ranges (MMR).

On the client side, the most notable changes are around the keystore, making it async and switching to a different signing model allowing for remote-signing to be implemented; and various changes to improve networking and light-client support, like adding the Grandpa warp sync request-response protocol (#7711).

Contracts: Please note that the contracts pallet is not part of this release. The pallet is not yet ready and will be released separately in the coming weeks. The currently released contracts pallet is not compatible with the new FRAME, thus if you need the contracts pallet, we recommend you wait with the upgrade until it has been released, too.

Upgrade instructions

Not too much has changed on the top and API level for developing Substrate between 2.0 and 3.0. The easiest and quickest path for upgrading is just to take the latest node-template and try applying your changes to it:

  1. take a diff between 2.0 and your changes
  2. store that diff
  3. remove everything, copy over the 3.0 node-template
  4. try re-applying your diff, manually, a hunk at a time.

If that doesn't work for you, we are working on an in-depth-guide for all major changes that took place and how you need to adapt your code for it. You can find the upgrade guide under docs/ in the repo, if you have further questions or problem, please feel free to ask in the github discussion board.

Runtime

  • contracts: Charge rent for code storage (#7935)
  • contracts: Emit event on contract termination (#8014)
  • Fix elections-phragmen and proxy issue (#7040)
  • Allow validators to block and kick their nominator set. (#7930)
  • Decouple Staking and Election - Part1: Support traits (#7908)
  • Introduces account existence providers reference counting (#7363)
  • contracts: Cap the surcharge reward by the amount of rent that way payed by a contract (#7870)
  • Use checked math when calculating storage size (#7885)
  • Fix clear prefix check to avoid erasing child trie roots. (#7848)
  • contracts: Collect rent for the first block during deployment (#7847)
  • contracts: Add configurable per-storage item cost (#7819)
  • babe: expose next epoch data (#7829)
  • fix : remove _{ } syntax from benchmark macro (#7822)
  • Define ss58 prefix inside the runtime (#7810)
  • Allow council to slash treasury tip (#7753)
  • Don't allow self proxies (#7803)
  • add a current_epoch to BabeApi (#7789)
  • Add pallet attribute macro to declare pallets (#6877)
  • Make it possible to calculate the storage root as often as you want (#7714)
  • Issue 7143 | Refactor Treasury Pallet into Bounties, Tips, and Proposals (#7536)
  • Participating in Council Governance is Free for First Time Voters and Successful Closing (#7661)

... (truncated)

Commits

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)

Updates the requirements on [sp-runtime](https://github.com/paritytech/substrate) to permit the latest version.
- [Release notes](https://github.com/paritytech/substrate/releases)
- [Changelog](https://github.com/paritytech/substrate/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/paritytech/substrate/commits)

---
updated-dependencies:
- dependency-name: sp-runtime
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 6, 2023
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants