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 11.0.0 to 12.0.0 in /ci/no-std-check #335

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 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 the S: deps Scope: related to dependencies label Jan 9, 2023
@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Base: 62.96% // Head: 62.96% // No change to project coverage 👍

Coverage data is based on head (c4baf54) compared to base (9b4c146).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #335   +/-   ##
=======================================
  Coverage   62.96%   62.96%           
=======================================
  Files         124      124           
  Lines       13931    13931           
=======================================
  Hits         8772     8772           
  Misses       5159     5159           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@plafer plafer mentioned this pull request Jan 9, 2023
@plafer plafer closed this Jan 9, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 9, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/ci/no-std-check/sp-runtime-12.0.0 branch January 9, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: deps Scope: related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant