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 pallet-contracts-primitives requirement from 7.0.0 to 12.0.0 #1581

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2023

Updates the requirements on pallet-contracts-primitives to permit the latest version.

Changelog

Sourced from pallet-contracts-primitives'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 [pallet-contracts-primitives](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: pallet-contracts-primitives
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 9, 2023
@ascjones
Copy link
Collaborator

Superseded by #1549

@ascjones ascjones closed this Jan 10, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 10, 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/pallet-contracts-primitives-12.0.0 branch January 10, 2023 09:39
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.

1 participant