ultra-pool / utxo-workshop

A Substrate UTXO workshop
The Unlicense
0 stars 0 forks source link

Bump substrate-wasm-builder-runner from 1.0.6 to 3.0.0 #13

Open dependabot-preview[bot] opened 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps substrate-wasm-builder-runner from 1.0.6 to 3.0.0.

Release notes

Sourced from substrate-wasm-builder-runner's releases.

Substrate v3.0/0.9 – Apollo 14

Changelog for Substrate 3.0.0/0.9.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 improved 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. Various changes to improve networking and light-client support, like adding the Grandpa warp sync request-response protocol (#7711) are also included.

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 betweeen 2.0 and 3.0. The easiest and quickest path for upgrading is to just 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 problems, please feel free to ask in the github discussion board.

Runtime

  • 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)
  • Use checked math when calculating storage size (#7885)
  • Fix clear prefix check to avoid erasing child trie roots. (#7848)
  • 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)
  • Streamline frame_system weight parametrization (#6629)
  • Features needed for reserve-backed stablecoins (#7152)
  • sudo_as should return a result (#7620)
  • More Extensible Multiaddress Format (#7380)
  • Fix on_runtime_upgrade weight recording (#7480)
  • Implement batch_all and update Utility pallet for weight refunds (#7188)
  • Fix wrong outgoing calculation in election (#7384)
  • Implements pallet versioning (#7208)
  • Runtime worker threads (#7089)
  • Allow schedule_after(0, ...) to work (#7284)
  • Fix offchain election to respect the weight (#7215)

... (truncated)

Changelog

Sourced from substrate-wasm-builder-runner's changelog.

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 appereance 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 betweeen 2.0 and 3.0. The easiest and quickest path for upgading 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 Stkaing 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)
  • Streamline frame_system weight parametrization (#6629)
  • Features needed for reserve-backed stablecoins (#7152)
  • sudo_as should return a result (#7620)
  • More Extensible Multiaddress Format (#7380)
  • Fix on_runtime_upgrade weight recording (#7480)
  • Implement batch_all and update Utility pallet for weight refunds (#7188)
  • Fix wrong outgoing calculation in election (#7384)
  • Implements pallet versioning (#7208)

... (truncated)

Upgrade guide

Sourced from substrate-wasm-builder-runner's upgrade guide.

Upgrade path for you building on substrate

master

  • crate rename has been fixed sp-application-crypto (was sc-application-crypto); .maintain/rename-crates-for-2.0.sh has been updated accordingly, you can use it to upgrade to latest naming convention
  • crates have been renamed, run bash .maintain/rename-crates-for-2.0.sh
Commits


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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)