Skip to content
  1. Sep 20, 2023
    • Muharem Ismailov's avatar
      The Ambassador Program (#1308) · 9e403629
      Muharem Ismailov authored
      
      
      The Ambassador Program on Polkadot Collectives Parachain
      
      The Polkadot Ambassador Program has existed for a while; more
      information can be found
      [here](https://wiki.polkadot.network/docs/ambassadors).
      In this PR, the program is being brought on chain.
      
      ### On Chain Structure
      The on-chain program consists of nine ranks, divided into four
      categories ([full
      list](https://github.com/paritytech/cumulus/blob/c238fb26b75569a11abb57437fd14acd26e05f18/parachains/runtimes/collectives/collectives-polkadot/src/ambassador/mod.rs#L52)):
      - Ambassadors (1-2 tiers)
      - Senior Ambassadors (3-4 tiers)
      - Head Ambassadors (5-7 tiers)
      - Master Ambassadors (8-9 tiers)
      
      Each rank has a corresponding `Origin` (e.g., `HeadAmbassadorsTier5` -
      [full
      list](https://github.com/paritytech/cumulus/blob/c238fb26b75569a11abb57437fd14acd26e05f18/parachains/runtimes/collectives/collectives-polkadot/src/ambassador/origins.rs#L35)),
      which represents the collective voice of members of that rank and above.
      
      ### Referendum
      
      The `AmbassadorReferenda` instance of [referenda
      pallet](https://docs.rs/pallet-referenda/latest/pallet_referenda/)
      consists of [nine
      tracks](https://github.com/paritytech/cumulus/blob/c238fb26b75569a11abb57437fd14acd26e05f18/parachains/runtimes/collectives/collectives-polkadot/src/ambassador/tracks.rs#L51),
      each corresponding to an `Origin`. A referendum taken on `senior
      ambassador tier 4` track invites all members from rank 4 or above to
      vote and commands `SeniorAmbassadors` `Origin`. Every member gets one
      vote plus an additional vote for every excess rank. The referendum
      proposal can be submitted by any member of a senior rank or above.
      
      ### Membership Management
      
      Initial members will be brought on chain via migration, with subsequent
      member management handled through the `AmbassadorCollective` instance of
      [ranked collective
      pallet](https://docs.rs/pallet-ranked-collective/latest/pallet_ranked_collective/).
      Both `Root` and `FellowshipAdmin` `Origins`, commanded via public
      Polkadot referendum, can promote or demote members to and from any rank.
      Members themselves also have the power to promote or demote via its
      referendum, with a senior member vote by the rank two above the new /
      current rank - [full
      configuration](https://github.com/paritytech/cumulus/blob/9ab6aa47063d7e8b67ddc10d9c136037f99c03a3/parachains/runtimes/collectives/collectives-polkadot/src/ambassador/mod.rs#L67).
      
      ### Content Management
      
      The program's on-chain content is managed via the collectives content
      pallet, allowing for setting its charter and making announcements. The
      voice of head ambassadors have the authority to set the charter, while
      announcements can be made by any senior rank member or through a
      referendum among all members.
      
      ### Additional Functionality
      
      The `AmbassadorCore` instance of [core fellowship
      pallet](https://docs.rs/pallet-core-fellowship/latest/pallet_core_fellowship/)
      decorates the ranked collectives pallet with features like salary
      determination, activity/passivity registration, and the handling of
      promotion and demotion periods. While the usage of this pallet is
      optional in the first version, future updates will make it the exclusive
      method for induction/promotion.
      
      Periodic salaries in USDt, payable on Asset Hub, are introduced through
      the [salary
      pallet](https://docs.rs/pallet-salary/latest/pallet_salary/). This
      requires induction into the ambassador core pallet.
      
      Please for more information on the pallets' functionality refer to their
      documentations.
      
      ### Next Steps:
      - Migrate to seed the program members
      - Mint ambassador NFT badges on Asset Hub when promoting
      - Treasury pallet instance for the Ambassador Program
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      9e403629
    • Sam Johnson's avatar
      upgrade to docify v0.2.4 (#1653) · d6b3fc0d
      Sam Johnson authored
      Upgrades to docify v0.2.4 which adds support for exporting trait and
      impl items in addition to regular items. This fixes @liamaharon's
      https://github.com/sam0x17/docify/issues/9 issue.
      
      See the release notes for more information:
      https://github.com/sam0x17/docify/releases/tag/v0.2.4
      d6b3fc0d
    • Dónal Murray's avatar
      Fix minor typos and file name in contributing docs (#1651) · 41e38b2c
      Dónal Murray authored
      # Description
      
      *Please include a summary of the changes and the related issue. Please
      also include relevant motivation and context,
      including:*
      
      - What does this PR do?
      
      This PR fixes two minor typos in the contributing top level docs, and
      fixes a broken link to another file.
      
      - Why are these changes needed?
      
      While reading the guidelines I noticed two small typos and a broken link
      to the documentation guidelines in the same directory.
      
      - How were these changes implemented and what do they affect?
      
      Both typos were fixed. The file has been renamed from
      `DOCUMENTATION_GUIDELINE.md` to `DOCUMENTATION_GUIDELINES.md` to match
      the link, as the link seems correct vs the filename. There are no other
      references to this file within this repo.
      
      There are no open issues related to this
      41e38b2c
    • Gavin Wood's avatar
      Preimage: Check that at least one is upgraded (#1648) · bb792af2
      Gavin Wood authored
      Sanity check.
      bb792af2
    • dependabot[bot]'s avatar
      Bump the known_good_semver group with 2 updates (#1620) · 1517eb8d
      dependabot[bot] authored
      [//]: # (dependabot-start)
      ️  **Dependabot is rebasing this PR** 
      
      ️ 
      
      Rebasing might not happen immediately, so don't worry if this takes some
      time.
      
      Note: if you make any changes to this PR yourself, they will take
      precedence over the rebase.
      
      ---
      
      [//]: # (dependabot-end)
      
      Bumps the known_good_semver group with 2 updates:
      [clap](https://github.com/clap-rs/clap) and
      [syn](https://github.com/dtolnay/syn).
      
      Updates `clap` from 4.4.3 to 4.4.4
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/clap-rs/clap/releases">clap's
      releases</a>.</em></p>
      <blockquote>
      <h2>v4.4.4</h2>
      <h2>[4.4.4] - 2023-09-18</h2>
      <h3>Internal</h3>
      <ul>
      <li>Update <code>terminal_size</code> to 0.3</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Changelog</summary>
      <p><em>Sourced from <a
      href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
      changelog</a>.</em></p>
      <blockquote>
      <h2>[4.4.4] - 2023-09-18</h2>
      <h3>Internal</h3>
      <ul>
      <li>Update <code>terminal_size</code> to 0.3</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/clap-rs/clap/commit/e6e539660f36487e3521ab6835ef1381a21785a4"><code>e6e5396</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/acbb60c11389d362e3b2d23a7b2a0a0523bd2fa8"><code>acbb60c</code></a>
      docs: Update changelog</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/f09d521450c50f56153f7246489666c71e3b4739"><code>f09d521</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5129">#5129</a>
      from cgwalters/widen-terminal-size</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/84f99ff979d58e3fe94716144b1800fd81723ed7"><code>84f99ff</code></a>
      chore(builder): Bump terminal_size to 0.3</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/7f8df272d90afde89e40de086492e1c9f5749897"><code>7f8df27</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5124">#5124</a>
      from devinherron/master</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/4dff87386a950d8dfa8e89906e9bf54d180d13de"><code>4dff873</code></a>
      fix(doc): Fix typo in 03_04_subcommands.md</li>
      <li>See full diff in <a
      href="https://github.com/clap-rs/clap/compare/v4.4.3...v4.4.4">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      Updates `syn` from 2.0.36 to 2.0.37
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/dtolnay/syn/releases">syn's
      releases</a>.</em></p>
      <blockquote>
      <h2>2.0.37</h2>
      <ul>
      <li>Work around incorrect future compatibility warning in rustc
      1.74.0-nightly</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/dtolnay/syn/commit/96810880f3acbb63415cf4684ab42c82edc31e2a"><code>9681088</code></a>
      Release 2.0.37</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/fbe3bc2ddcee4192f95697a953330d031030f5a1"><code>fbe3bc2</code></a>
      Work around unknown_lints warning on rustc older than 1.64</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/75cf912e061ef5a1d97c003f4988f43d7639f5a8"><code>75cf912</code></a>
      Ignore more repr_transparent_external_private_fields</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/299c782439823b868de4aea3682b41d03351d978"><code>299c782</code></a>
      Ignore false repr_transparent_external_private_fields FCW in generated
      code</li>
      <li>See full diff in <a
      href="https://github.com/dtolnay/syn/compare/2.0.36...2.0.37">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore <dependency name> major version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's major version (unless you unignore this specific
      dependency's major version or upgrade to it yourself)
      - `@dependabot ignore <dependency name> minor version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's minor version (unless you unignore this specific
      dependency's minor version or upgrade to it yourself)
      - `@dependabot ignore <dependency name>` will close this group update PR
      and stop Dependabot creating any more for the specific dependency
      (unless you unignore this specific dependency or upgrade to it yourself)
      - `@dependabot unignore <dependency name>` will remove all of the ignore
      conditions of the specified dependency
      - `@dependabot unignore <dependency name> <ignore condition>` will
      remove the ignore condition of the specified dependency and ignore
      conditions
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      1517eb8d
    • Gavin Wood's avatar
      XCM: Deprecate old functions (#1645) · e7d29bc3
      Gavin Wood authored
      Two old functions should be deprecated and have their code altered in
      line with capabilities of XCMv2 and above.
      
      This means we can use the proper `Unlimited` form of weight limit rather
      than guessing weight from the local chain.
      e7d29bc3
    • Alin Dima's avatar
      Refactor availability-recovery strategies (#1457) · 6f00edbc
      Alin Dima authored
      Refactors availability-recovery strategies to allow for easily adding
      new hotpaths and failover mechanisms.
      
      The new interface allows for chaining multiple `RecoveryStrategy`-es
      together, to cleanly express the relationship between them and share
      state and code where neccessary/possible:
      
      This was done in order to aid in implementing new hotpaths like
      [systematic chunks
      recovery](https://github.com/paritytech/polkadot-sdk/issues/598) and
      [fetching from approval
      checkers](https://github.com/paritytech/polkadot-sdk/issues/575).
      
      Thanks to this design, intermediate state can be shared between the
      strategies. For example, if the systematic chunks recovery retrieved
      less than the needed amount of chunks, pass them over to the next
      FetchChunks strategy, which will only need to recover the remaining
      number of chunks.
      
      Draft example of how a systematic chunk recovery strategy would look:
      https://github.com/paritytech/polkadot-sdk/commit/667d870bdf1470525d66c13929d5eac7249dd995
      (notice how easy it was to add and reuse code)
      
      Note that this PR doesn't itself add any new strategy, it should fully
      preserve backwards compatiblity in terms of functionality. Follow-up PRs
      to add new strategies will come.
      6f00edbc
    • joe petrowski's avatar
      Disable Calls to Identity Pallet (#1476) · 771c3fbd
      joe petrowski authored
      This PR filters calls from the Identity pallet from all Relay Chain
      runtimes as preparation to move the identity state and logic to a system
      parachain within each network.
      
      After this change is deployed to a runtime, no more changes such as
      adding new sub-identities will be possible. The frozen state will be
      part of the genesis state of the system chain. After the system chain
      launches, the pallet and all state will be removed from each Relay
      Chain.
      
      Applications and UIs that render display information from this pallet
      will need to read from the system chain when it launches.
      771c3fbd
  2. Sep 19, 2023
    • Xiliang Chen's avatar
      allow governance body on parachain to have sovereign account (#1291) · cdbdbc75
      Xiliang Chen authored
      The goal is to allow Fellowship on Collective chain to have a sovereign
      account on Polkadot so that we can add it as an identity registrar. This
      will allow Fellows origin to be able to provide judgements for
      Fellowship members.
      
      This currently allow any body on any parachain including non system
      parachains to have sovereign account. I cannot think of any reason why
      that may be an issue but let me know if I should change it to filter
      only system parachains.
      
      [This](https://gist.github.com/xlc/ec61bfa4e9f6d62da27d30141ad2c72b) is
      the testing script.
      
      Original PR: https://github.com/paritytech/polkadot/pull/7518
      cdbdbc75
    • joe petrowski's avatar
      Add Method to Establish HRMP Channels Among System Parachains (#1473) · 2d96c8d2
      joe petrowski authored
      
      
      Solution to establish HRMP channels between system parachains.
      
      ---------
      
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      2d96c8d2
    • Alexandru Vasile's avatar
      archive: Fetch body, genesisHash and header (#1560) · f3061c14
      Alexandru Vasile authored
      
      
      This PR lays the foundation for implementing the archive RPC methods.
      
      The methods implemented by this PR:
      - archive_unstable_body: Fetch the block's body (a vector of hex-encoded
      scale-encoded extrinsics) from a given block hash
      - archive_unstable_genesisHash: Fetch the genesis hash
      - archive_unstable_header: Fetch the header from a given block hash
      
      Added unit tests for the methods.
      
      This PR is implementing the methods without exposing them to the RPC
      layer; which are to be exposed by a follow-up PR.
      
      Closes: https://github.com/paritytech/polkadot-sdk/issues/1509 
      Closes: https://github.com/paritytech/polkadot-sdk/issues/1514
      
      @paritytech/subxt-team
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      f3061c14
    • Bastian Köcher's avatar
      Remove Polkadot & Kusama native runtime (#1304) · 6079b6dd
      Bastian Köcher authored
      This pull request removes the Polkadot and Kusama native runtime from
      the polkadot node. This brings some implications with it:
      
      There are no more kusama/polkadot-dev chain specs available. We will
      need to write some tooling in the fellowship repo to provide them
      easily.
      
      The try-runtime job for polkadot & kusama is not available anymore as we
      don't have the dev chain specs anymore.
      
      Certain benchmarking commands will also not work until we migrate them
      to use a runtime api.
      
      Some crates in utils are still depending on the polkadot/kusama native
      runtime that will also need to be fixed.
      
      Port of: https://github.com/paritytech/polkadot/pull/7467
      6079b6dd
  3. Sep 18, 2023
    • Vsevolod Stakhov's avatar
      Revert #1409 partially (#1603) · 122086d3
      Vsevolod Stakhov authored
      Futures channels that are used by default has a side effect of
      `Sender::Clone` that efficiently increases the capacity of the bounded
      channel by one. This PR fixes the undesired backpressure removal that
      was caused by the #1409. This issue has been discovered by @sandreim
      during Versi testing and needs to be treated as critical that should not
      be included in any release without this reversion.
      
      This PR reverts the original behaviour.
      122086d3
    • Ross Bulat's avatar
      Staking: Add `dest` to `Rewarded` to aid in reward calculations (#1602) · ffe5db0f
      Ross Bulat authored
      Addresses https://github.com/paritytech/polkadot-sdk/issues/129.
      
      Returns `Self:payee()` from `make_payout` in a tuple alongside an
      imbalance & adds it to `Rewarded` event.
      ffe5db0f
    • georgepisaltu's avatar
      Replace free for all collation in `cumulus` runtimes (#1251) · a181ced4
      georgepisaltu authored
      
      
      Partially fixes #103 
      
      This PR removes instances of "free for all" collation in the `glutton`,
      `shell`, and `seedling` runtimes and replaces them with Aura instances.
      Aura is configured without a session manager, so the initial authority
      set cannot be changed later on.
      
      ---------
      
      Signed-off-by: default avatargeorgepisaltu <[email protected]>
      a181ced4
    • Alexander Samusev's avatar
      [ci] Publish implementers guide (#1615) · e6f5e23b
      Alexander Samusev authored
      PR adds a job that publishes implementers guide
      
      cc https://github.com/paritytech/polkadot-sdk/issues/1614
      cc https://github.com/paritytech/ci_cd/issues/879
      e6f5e23b
    • Chevdor's avatar
      Move ISSUE_TEMPLATE (#1567) · 8900d5b2
      Chevdor authored
      This PR moves the `ISSUE_TEMPLATE` to the root and removes the old ones.
      8900d5b2
    • dependabot[bot]'s avatar
      Bump the known_good_semver group with 1 update (#1606) · 372929fa
      dependabot[bot] authored
      
      
      Bumps the known_good_semver group with 1 update:
      [syn](https://github.com/dtolnay/syn).
      
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/dtolnay/syn/releases">syn's
      releases</a>.</em></p>
      <blockquote>
      <h2>2.0.36</h2>
      <ul>
      <li>Restore compatibility with
      <code>--generate-link-to-definition</code> documentation builds (<a
      href="https://redirect.github.com/dtolnay/syn/issues/1514">#1514</a>)</li>
      </ul>
      <h2>2.0.35</h2>
      <ul>
      <li>Make rust-analyzer produce preferred brackets for invocations of
      <code>Token!</code> macro (<a
      href="https://redirect.github.com/dtolnay/syn/issues/1510">#1510</a>, <a
      href="https://redirect.github.com/dtolnay/syn/issues/1512">#1512</a>)</li>
      </ul>
      <h2>2.0.34</h2>
      <ul>
      <li>Documentation improvements</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/dtolnay/syn/commit/ef6476c76431da488720c8ee3fdfff57a199a848"><code>ef6476c</code></a>
      Release 2.0.36</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/6ae1a9756a128f18341a4cba56772ee1715a06e2"><code>6ae1a97</code></a>
      Merge pull request <a
      href="https://redirect.github.com/dtolnay/syn/issues/1514">#1514</a>
      from dtolnay/pubnotdoc</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/7bfef4b2befee954bc002724c8331612fed3d47f"><code>7bfef4b</code></a>
      Work around doc breakage in generate-link-to-definition mode</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/ce360ff4b1695311dcc569ade1fc9ff1ff6ac4d9"><code>ce360ff</code></a>
      Release 2.0.35</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/23736bdc48a964286ea032ea5c172574239119ef"><code>23736bd</code></a>
      Merge pull request <a
      href="https://redirect.github.com/dtolnay/syn/issues/1512">#1512</a>
      from dtolnay/tokendoc</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/6f6b0040d420abfda0b5504dc13b7c76319ebccd"><code>6f6b004</code></a>
      Improve docs of Token! macro</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/319433e12a0e13d1b549a189ae1ce1d3293a7ea9"><code>319433e</code></a>
      Merge pull request <a
      href="https://redirect.github.com/dtolnay/syn/issues/1510">#1510</a>
      from ModProg/patch-3</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/975ce0b7c4319166ff0ae5ea839d923410615dae"><code>975ce0b</code></a>
      Release 2.0.34</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/858e578d1e3aed3d7ac965a59b5044a1ca4eadf2"><code>858e578</code></a>
      Merge pull request <a
      href="https://redirect.github.com/dtolnay/syn/issues/1511">#1511</a>
      from dtolnay/notdoc</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/1b0d7f807862cb36256848a9f55a81a9aca41976"><code>1b0d7f8</code></a>
      Add cfg(not(doc)) to doc(hidden) functions</li>
      <li>Additional commits viewable in <a
      href="https://github.com/dtolnay/syn/compare/2.0.33...2.0.36">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=syn&package-manager=cargo&previous-version=2.0.33&new-version=2.0.36)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore <dependency name> major version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's major version (unless you unignore this specific
      dependency's major version or upgrade to it yourself)
      - `@dependabot ignore <dependency name> minor version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's minor version (unless you unignore this specific
      dependency's minor version or upgrade to it yourself)
      - `@dependabot ignore <dependency name>` will close this group update PR
      and stop Dependabot creating any more for the specific dependency
      (unless you unignore this specific dependency or upgrade to it yourself)
      - `@dependabot unignore <dependency name>` will remove all of the ignore
      conditions of the specified dependency
      - `@dependabot unignore <dependency name> <ignore condition>` will
      remove the ignore condition of the specified dependency and ignore
      conditions
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      372929fa
    • Alexandru Vasile's avatar
      chainHead: Add support for storage closest merkle descendant #14818 (#1153) · 5d346643
      Alexandru Vasile authored
      
      
      This PR adds support for fetching the closest merkle value of some key.
      
      
      Builds on top of
      - https://github.com/paritytech/trie/pull/199
      
      Migrates https://github.com/paritytech/substrate/pull/14818 to the
      monorepo.
      Closes: https://github.com/paritytech/substrate/issues/14550
      Closes: https://github.com/paritytech/polkadot-sdk/issues/1506
      
      // @paritytech/subxt-team
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      5d346643
    • dependabot[bot]'s avatar
      Bump docker/build-push-action from 4 to 5 (#1552) · 20052e16
      dependabot[bot] authored
      
      
      Bumps
      [docker/build-push-action](https://github.com/docker/build-push-action)
      from 4 to 5.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/docker/build-push-action/releases">docker/build-push-action's
      releases</a>.</em></p>
      <blockquote>
      <h2>v5.0.0</h2>
      <ul>
      <li>Node 20 as default runtime (requires <a
      href="https://github.com/actions/runner/releases/tag/v2.308.0">Actions
      Runner v2.308.0</a> or later) by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/954">docker/build-push-action#954</a></li>
      <li>Bump <code>@​actions/core</code> from 1.10.0 to 1.10.1 in <a
      href="https://redirect.github.com/docker/build-push-action/pull/959">docker/build-push-action#959</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v4.2.1...v5.0.0">https://github.com/docker/build-push-action/compare/v4.2.1...v5.0.0</a></p>
      <h2>v4.2.1</h2>
      <blockquote>
      <p><strong>Note</strong></p>
      <p>Buildx v0.10 enables support for a minimal <a
      href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
      which requires support for <a
      href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
      multi-platform images. This may introduce issues with registry and
      runtime support (e.g. <a
      href="https://redirect.github.com/docker/buildx/issues/1533">Google
      Cloud Run and AWS Lambda</a>). You can optionally disable the default
      provenance attestation functionality using <code>provenance:
      false</code>.</p>
      </blockquote>
      <ul>
      <li>warn if docker config can't be parsed by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/957">docker/build-push-action#957</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v4.2.0...v4.2.1">https://github.com/docker/build-push-action/compare/v4.2.0...v4.2.1</a></p>
      <h2>v4.2.0</h2>
      <blockquote>
      <p><strong>Note</strong></p>
      <p>Buildx v0.10 enables support for a minimal <a
      href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
      which requires support for <a
      href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
      multi-platform images. This may introduce issues with registry and
      runtime support (e.g. <a
      href="https://redirect.github.com/docker/buildx/issues/1533">Google
      Cloud Run and AWS Lambda</a>). You can optionally disable the default
      provenance attestation functionality using <code>provenance:
      false</code>.</p>
      </blockquote>
      <ul>
      <li>display proxy configuration by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/872">docker/build-push-action#872</a></li>
      <li>chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.6.0
      to 0.8.0 in <a
      href="https://redirect.github.com/docker/build-push-action/pull/930">docker/build-push-action#930</a></li>
      <li>chore(deps): Bump word-wrap from 1.2.3 to 1.2.5 in <a
      href="https://redirect.github.com/docker/build-push-action/pull/925">docker/build-push-action#925</a></li>
      <li>chore(deps): Bump semver from 6.3.0 to 6.3.1 in <a
      href="https://redirect.github.com/docker/build-push-action/pull/902">docker/build-push-action#902</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v4.1.1...v4.2.0">https://github.com/docker/build-push-action/compare/v4.1.1...v4.2.0</a></p>
      <h2>v4.1.1</h2>
      <blockquote>
      <p><strong>Note</strong></p>
      <p>Buildx v0.10 enables support for a minimal <a
      href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
      which requires support for <a
      href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
      multi-platform images. This may introduce issues with registry and
      runtime support (e.g. <a
      href="https://redirect.github.com/docker/buildx/issues/1533">Google
      Cloud Run and AWS Lambda</a>). You can optionally disable the default
      provenance attestation functionality using <code>provenance:
      false</code>.</p>
      </blockquote>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.3.0 to 0.5.0 by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/880">docker/build-push-action#880</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1">https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1</a></p>
      <h2>v4.1.0</h2>
      <blockquote>
      <p><strong>Note</strong></p>
      <p>Buildx v0.10 enables support for a minimal <a
      href="https://slsa.dev/provenance/">SLSA Provenance</a> attestation,
      which requires support for <a
      href="https://github.com/opencontainers/image-spec">OCI-compliant</a>
      multi-platform images. This may introduce issues with registry and
      runtime support (e.g. <a
      href="https://redirect.github.com/docker/buildx/issues/1533">Google
      Cloud Run and AWS Lambda</a>). You can optionally disable the default
      provenance attestation functionality using <code>provenance:
      false</code>.</p>
      </blockquote>
      <ul>
      <li>Switch to actions-toolkit implementation by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/811">docker/build-push-action#811</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/838">docker/build-push-action#838</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/855">docker/build-push-action#855</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/860">docker/build-push-action#860</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/875">docker/build-push-action#875</a></li>
      <li>e2e: quay.io by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/799">docker/build-push-action#799</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/805">docker/build-push-action#805</a></li>
      <li>e2e: local harbor and nexus by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/800">docker/build-push-action#800</a></li>
      <li>e2e: add artifactory container registry to test against by <a
      href="https://github.com/jedevc"><code>@​jedevc</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/804">docker/build-push-action#804</a></li>
      <li>e2e: add distribution tests by <a
      href="https://github.com/jedevc"><code>@​jedevc</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/814">docker/build-push-action#814</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/815">docker/build-push-action#815</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0">https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0</a></p>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/docker/build-push-action/commit/0565240e2d4ab88bba5387d719585280857ece09"><code>0565240</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/959">#959</a>
      from docker/dependabot/npm_and_yarn/actions/core-1.10.1</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/3ab07f880128dd3b47d7764b661d608b1e37712a"><code>3ab07f8</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/b9e7e4daec1dd1fed28b226354d2eef8aa92ca38"><code>b9e7e4d</code></a>
      chore(deps): Bump <code>@​actions/core</code> from 1.10.0 to 1.10.1</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/04d1a3b0491bb1fbd0843d1fea3390e385bf2252"><code>04d1a3b</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/954">#954</a>
      from crazy-max/update-node20</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/1a4d1a13fb219ebf616f93930a8c4c6a9ff24155"><code>1a4d1a1</code></a>
      chore: node 20 as default runtime</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/675965c0e16f1a0f94ecafff969d8c966f92c17b"><code>675965c</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/58ee34cb6bad9fc3b471453afb4ed741cb0e6ff3"><code>58ee34c</code></a>
      chore: fix author in package.json</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/c97c4060bdc51e97b1b2a972eab2f77d6ae8e57a"><code>c97c406</code></a>
      fix ProxyConfig type when checking length</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/47d5369e0b15ff3b951d5787a265fbecf0fc2bac"><code>47d5369</code></a>
      vendor: bump <code>@​docker/actions-toolkit</code> from 0.8.0 to
      0.12.0</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/8895c7468fbe88881dcc4c5b416553e604722cf2"><code>8895c74</code></a>
      chore: update dev dependencies</li>
      <li>Additional commits viewable in <a
      href="https://github.com/docker/build-push-action/compare/v4...v5">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@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)
      
      
      </details>
      
      ---------
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarChevdor <[email protected]>
      20052e16
    • dependabot[bot]'s avatar
      Bump docker/login-action from 2 to 3 (#1531) · a50e6ba7
      dependabot[bot] authored
      
      
      Bumps [docker/login-action](https://github.com/docker/login-action) from
      2 to 3.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/docker/login-action/releases">docker/login-action's
      releases</a>.</em></p>
      <blockquote>
      <h2>v3.0.0</h2>
      <ul>
      <li>Node 20 as default runtime (requires <a
      href="https://github.com/actions/runner/releases/tag/v2.308.0">Actions
      Runner v2.308.0</a> or later) by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/login-action/pull/593">docker/login-action#593</a></li>
      <li>Bump <code>@​actions/core</code> from 1.10.0 to 1.10.1 in <a
      href="https://redirect.github.com/docker/login-action/pull/598">docker/login-action#598</a></li>
      <li>Bump <code>@​aws-sdk/client-ecr</code> and
      <code>@​aws-sdk/client-ecr-public</code> to 3.410.0 in <a
      href="https://redirect.github.com/docker/login-action/pull/555">docker/login-action#555</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/560">docker/login-action#560</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/582">docker/login-action#582</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/599">docker/login-action#599</a></li>
      <li>Bump semver from 6.3.0 to 6.3.1 in <a
      href="https://redirect.github.com/docker/login-action/pull/556">docker/login-action#556</a></li>
      <li>Bump https-proxy-agent to 7.0.2 <a
      href="https://redirect.github.com/docker/login-action/pull/561">docker/login-action#561</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/588">docker/login-action#588</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v2.2.0...v3.0.0">https://github.com/docker/login-action/compare/v2.2.0...v3.0.0</a></p>
      <h2>v2.2.0</h2>
      <ul>
      <li>Switch to actions-toolkit implementation by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/login-action/pull/409">docker/login-action#409</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/470">docker/login-action#470</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/476">docker/login-action#476</a></li>
      <li>Bump <code>@​aws-sdk/client-ecr</code> and
      <code>@​aws-sdk/client-ecr-public</code> to 3.347.1 in <a
      href="https://redirect.github.com/docker/login-action/pull/524">docker/login-action#524</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/364">docker/login-action#364</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/363">docker/login-action#363</a></li>
      <li>Bump minimatch from 3.0.4 to 3.1.2 in <a
      href="https://redirect.github.com/docker/login-action/pull/354">docker/login-action#354</a></li>
      <li>Bump json5 from 2.2.0 to 2.2.3 in <a
      href="https://redirect.github.com/docker/login-action/pull/378">docker/login-action#378</a></li>
      <li>Bump http-proxy-agent from 5.0.0 to 7.0.0 in <a
      href="https://redirect.github.com/docker/login-action/pull/509">docker/login-action#509</a></li>
      <li>Bump https-proxy-agent from 5.0.1 to 7.0.0 in <a
      href="https://redirect.github.com/docker/login-action/pull/508">docker/login-action#508</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v2.1.0...v2.2.0">https://github.com/docker/login-action/compare/v2.1.0...v2.2.0</a></p>
      <h2>v2.1.0</h2>
      <ul>
      <li>Ensure AWS temp credentials are redacted in workflow logs by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a
      href="https://redirect.github.com/docker/login-action/issues/275">#275</a>)</li>
      <li>Bump <code>@​actions/core</code> from 1.6.0 to 1.10.0 (<a
      href="https://redirect.github.com/docker/login-action/issues/252">#252</a>
      <a
      href="https://redirect.github.com/docker/login-action/issues/292">#292</a>)</li>
      <li>Bump <code>@​aws-sdk/client-ecr</code> from 3.53.0 to 3.186.0 (<a
      href="https://redirect.github.com/docker/login-action/issues/298">#298</a>)</li>
      <li>Bump <code>@​aws-sdk/client-ecr-public</code> from 3.53.0 to 3.186.0
      (<a
      href="https://redirect.github.com/docker/login-action/issues/299">#299</a>)</li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v2.0.0...v2.1.0">https://github.com/docker/login-action/compare/v2.0.0...v2.1.0</a></p>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/docker/login-action/commit/343f7c4344506bcbf9b4de18042ae17996df046d"><code>343f7c4</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/599">#599</a>
      from docker/dependabot/npm_and_yarn/aws-sdk-dependenc...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/aad0f974f21dc644b324e9fa84c4e364f62acbe6"><code>aad0f97</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/login-action/commit/2e0cd391447ec1a654ce199502a5d596fad131a2"><code>2e0cd39</code></a>
      build(deps): bump the aws-sdk-dependencies group with 2 updates</li>
      <li><a
      href="https://github.com/docker/login-action/commit/203bc9c4eff55a7fac1552bc4811dc0ea4814f2e"><code>203bc9c</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/588">#588</a>
      from docker/dependabot/npm_and_yarn/proxy-agent-depen...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/2199648fc889a2592472959743a8e7d4423bcb29"><code>2199648</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/login-action/commit/b489376173c4ff2c6e783dcb597ba8eff69245fe"><code>b489376</code></a>
      build(deps): bump the proxy-agent-dependencies group with 1 update</li>
      <li><a
      href="https://github.com/docker/login-action/commit/7c309e74e68d0a0055fd02607b10b3d96510544c"><code>7c309e7</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/598">#598</a>
      from docker/dependabot/npm_and_yarn/actions/core-1.10.1</li>
      <li><a
      href="https://github.com/docker/login-action/commit/0ccf222961de35820c1704a0293ca7483b07d065"><code>0ccf222</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/login-action/commit/56d703e106032867ad04c1e54d781c209f451e26"><code>56d703e</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/597">#597</a>
      from docker/dependabot/github_actions/aws-actions/con...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/24d3b3519e6e369d4d0a307a02881c2f81318560"><code>24d3b35</code></a>
      build(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1</li>
      <li>Additional commits viewable in <a
      href="https://github.com/docker/login-action/compare/v2...v3">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/login-action&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@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)
      
      
      </details>
      
      ---------
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarSergejs Kostjucenko <[email protected]>
      a50e6ba7
    • Sergej Sakac's avatar
      Broker pallet: `RegionDropped` event fix & additional tests (#1609) · f14bf347
      Sergej Sakac authored
      This PR includes the following fix:
      - [x] The `duration` is always set to zero in the `RegionDropped` event.
      This is fixed in this PR.
      
      Also added some additional tests to cover some cases that aren't covered
      :
      - [x] Selling a partitioned region to the instantaneous coretime pool.
      - [x] Partitioning a region after assigning it to a particular task.
      - [x] Interlacing a region after assigning it to a particular task.
      f14bf347
    • Chevdor's avatar
      Replace secrets with the new ones (#1564) · 519a0f06
      Chevdor authored
      In the monorepo, secrets used in the various previous repos have been
      renamed into:
      - `CUMULUS_DOCKERHUB_USERNAME`
      - `CUMULUS_DOCKERHUB_TOKEN`
      - `POLKADOT_DOCKERHUB_USERNAME`
      - `POLKADOT_DOCKERHUB_TOKEN`
      
      This PR makes those changes and remove one of the GHW that has now been
      updated for the monorepo.
      519a0f06
    • dependabot[bot]'s avatar
      Bump docker/setup-buildx-action from 2.1.0 to 3.0.0 (#1551) · e05d3690
      dependabot[bot] authored
      
      
      Bumps
      [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)
      from 2.1.0 to 3.0.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/docker/setup-buildx-action/releases">docker/setup-buildx-action's
      releases</a>.</em></p>
      <blockquote>
      <h2>v3.0.0</h2>
      <ul>
      <li>Node 20 as default runtime (requires <a
      href="https://github.com/actions/runner/releases/tag/v2.308.0">Actions
      Runner v2.308.0</a> or later) by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/264">docker/setup-buildx-action#264</a></li>
      <li>Bump <code>@​actions/core</code> from 1.10.0 to 1.10.1 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/267">docker/setup-buildx-action#267</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.10.0...v3.0.0">https://github.com/docker/setup-buildx-action/compare/v2.10.0...v3.0.0</a></p>
      <h2>v2.10.0</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.7.1 to 0.10.0 by
      <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in
      <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/258">docker/setup-buildx-action#258</a></li>
      <li>Bump word-wrap from 1.2.3 to 1.2.5 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/253">docker/setup-buildx-action#253</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.9.1...v2.10.0">https://github.com/docker/setup-buildx-action/compare/v2.9.1...v2.10.0</a></p>
      <h2>v2.9.1</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.7.0 to 0.7.1 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/248">docker/setup-buildx-action#248</a>
      <ul>
      <li>Fixes an issue where building Buildx does not match the local
      platform (<a
      href="https://redirect.github.com/docker/actions-toolkit/pull/135">docker/actions-toolkit#135</a>)</li>
      </ul>
      </li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.9.0...v2.9.1">https://github.com/docker/setup-buildx-action/compare/v2.9.0...v2.9.1</a></p>
      <h2>v2.9.0</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.6.0 to 0.7.0 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/246">docker/setup-buildx-action#246</a>
      <ul>
      <li>Adds support to cache Buildx binary to hosted tool cache and GHA
      cache backend</li>
      </ul>
      </li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.8.0...v2.9.0">https://github.com/docker/setup-buildx-action/compare/v2.8.0...v2.9.0</a></p>
      <h2>v2.8.0</h2>
      <ul>
      <li>Only set specific flags for drivers supporting them by <a
      href="https://github.com/nicks"><code>@​nicks</code></a> in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/241">docker/setup-buildx-action#241</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.5.0 to 0.6.0 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/242">docker/setup-buildx-action#242</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.7.0...v2.8.0">https://github.com/docker/setup-buildx-action/compare/v2.7.0...v2.8.0</a></p>
      <h2>v2.7.0</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.3.0 to 0.5.0 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/237">docker/setup-buildx-action#237</a>
      <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/238">docker/setup-buildx-action#238</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.6.0...v2.7.0">https://github.com/docker/setup-buildx-action/compare/v2.6.0...v2.7.0</a></p>
      <h2>v2.6.0</h2>
      <ul>
      <li>Set node name for k8s driver when appending nodes by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/219">docker/setup-buildx-action#219</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.1.0-beta.18 to
      0.3.0 in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/220">docker/setup-buildx-action#220</a>
      <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/229">docker/setup-buildx-action#229</a>
      <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/231">docker/setup-buildx-action#231</a>
      <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/236">docker/setup-buildx-action#236</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.5.0...v2.6.0">https://github.com/docker/setup-buildx-action/compare/v2.5.0...v2.6.0</a></p>
      <h2>v2.5.0</h2>
      <ul>
      <li><code>cleanup</code> input to remove builder and temp files by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/213">docker/setup-buildx-action#213</a></li>
      <li>do not remove builder using the <code>docker</code> driver by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/218">docker/setup-buildx-action#218</a></li>
      <li>fix current context as builder name for <code>docker</code> driver
      by <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a>
      in <a
      href="https://redirect.github.com/docker/setup-buildx-action/pull/209">docker/setup-buildx-action#209</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/setup-buildx-action/compare/v2.4.1...v2.5.0">https://github.com/docker/setup-buildx-action/compare/v2.4.1...v2.5.0</a></p>
      <h2>v2.4.1</h2>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/f95db51fddba0c2d1ec667646a06c2ce06100226"><code>f95db51</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/setup-buildx-action/issues/267">#267</a>
      from docker/dependabot/npm_and_yarn/actions/core-1.10.1</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/998a87c2c1933fe580ddf99d6f6f94a19c0f91b4"><code>998a87c</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/28bae5933655f85dce39ef1a90237c1942b8e2c6"><code>28bae59</code></a>
      build(deps): bump <code>@​actions/core</code> from 1.10.0 to 1.10.1</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/c2153417150d92671c82aea83a1583b776b52910"><code>c215341</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/setup-buildx-action/issues/264">#264</a>
      from crazy-max/update-node20</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/02e9319239595dc97a5705a2df905d0b2ea023bf"><code>02e9319</code></a>
      chore: node 20 as default runtime</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/5c9160effc4a5e931046bcd3a44677eb8eaa7b00"><code>5c9160e</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/1283140f57ede4d0e30355ef4cb25390eaee8204"><code>1283140</code></a>
      chore: fix author in package.json</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/c6afe06e4a92d0bf5b6f524c3564e64647d0b97d"><code>c6afe06</code></a>
      vendor: bump <code>@​docker/actions-toolkit</code> from 0.10.0 to
      0.12.0</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/f35e0d5a040dd319f1a502de9e27a7f748c79fc5"><code>f35e0d5</code></a>
      chore: update dev dependencies</li>
      <li><a
      href="https://github.com/docker/setup-buildx-action/commit/baeb468fb29686888d706e7200d0e311a4fee4b2"><code>baeb468</code></a>
      dev: remove unneeded binaries</li>
      <li>Additional commits viewable in <a
      href="https://github.com/docker/setup-buildx-action/compare/95cb08cb2672c73d4ffd2f422e6d11953d2a9c70...f95db51fddba0c2d1ec667646a06c2ce06100226">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/setup-buildx-action&package-manager=github_actions&previous-version=2.1.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@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)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      e05d3690
    • Gonçalo Pestana's avatar
      Implements a variable deposit base calculation for EPM signed submissions (#1547) · 614aa31b
      Gonçalo Pestana authored
      **Note**: This is a lift-and-shift PR from the old substrate and
      polkadot repos, both PRs have been reviewed and audited
      (https://github.com/paritytech/substrate/pull/13983,
      https://github.com/paritytech/polkadot/pull/7140)
      
      ---
      
      This PR implements a generic `BaseDeposit` calculation for signed
      submissions, based on the size of the submission queue.
      
      It adds a new associated type to EPM's config, `type SignedDepositBase`,
      that implements `Convert<usize, BalanceOf<T>>`, which is used to
      calculate the base deposit for signed submissions based on the size of
      the signed submissions queue.
      
      `struct GeometricDepositBase<Balance, Fixed, Inc>` implements the
      convert trait so that the deposit value increases as a geometric
      progression. The deposit base is calculated by `deposit_base =
      fixed_deposit_base * (1 + increase_factor)^n`, where `n` is the term of
      the progression (i.e. the number of signed submissions in the queue).
      `Fixed` and `Inc` generic params are getters for `Balance` and
      `IncreaseFactor` to compute the geometric progression. If
      `IncreaseFactor = 0`, then the signed deposit is constant and equal to
      `Fixed` regardless of the size of the queue.
      
      ### Runtime configs
      
      In Kusama, the progression with 10% increase without changing the
      current signed fixed deposit is: (term == size of the queue)
      
      Term 1: `1,333,333,332,000`
      Term 2: `1,333,333,332,000 * 1.10 = 1,466,666,665,200`
      Term 3: `1,333,333,332,000 * 1.10^2 = 1,613,333,331,200`
      Term 4: `1,333,333,332,000 * 1.10^3 = 1,774,666,664,320`
      Term 5: `1,333,333,332,000 * 1.10^4 = 1,952,133,330,752`
      Term 6: `1,333,333,332,000 * 1.10^5 = 2,147,346,663,827.20`
      Term 7: `1,333,333,332,000 * 1.10^6 = 2,362,081,330,210.92`
      Term 8: `1,333,333,332,000 * 1.10^7 = 2,598,289,463,231.01`
      Term 9: `1,333,333,332,000 * 1.10^8 = 2,858,118,409,554.11`
      Term 10: `1,333,333,332,000 * 1.10^9 = 3,143,930,250,509.52`
      
      Westend:
      
      Term 1: `2,000,000,000,000`
      Term 2: `2,000,000,000,000 * 1.10 = 2,200,000,000,000`
      Term 3: `2,000,000,000,000 * 1.10^2 = 2,420,000,000,000`
      Term 4: `2,000,000,000,000 * 1.10^3 = 2,662,000,000,000`
      Term 5: `2,000,000,000,000 * 1.10^4 = 2,928,200,000,000`
      Term 6: `2,000,000,000,000 * 1.10^5 = 3,221,020,000,000`
      Term 7: `2,000,000,000,000 * 1.10^6 = 3,543,122,000,000`
      Term 8: `2,000,000,000,000 * 1.10^7 = 3,897,434,200,000`
      Term 9: `2,000,000,000,000 * 1.10^8 = 4,287,177,620,000`
      Term 10: `2,000,000,000,000 * 1.10^9 = 4,715,895,382,000`
      
      and in Polkadot, the deposit increase is disabled in the current state
      of the PR, as the increase factor is 0% -- so nothing changes from the
      current behaviour.
      
      Closes https://github.com/paritytech-secops/srlabs_findings/issues/189
      614aa31b
    • Branislav Kontur's avatar
      "Common good" vs "System" parachain clean up (#1406) · d569e728
      Branislav Kontur authored
      ## Summary 
      The term "common good parachain" has been abandoned in favor of "system
      parachain" - e.g. [Joe's speech at
      Decoded2023](https://youtu.be/CSO-ERHK2gY?t=456). This pull request
      tries to fix and align code with this vision.
      
      ## Impact
      
      The important change is implementation of `trait IsSystem` for `Id`
      [here](https://github.com/paritytech/polkadot-sdk/pull/1406/files#diff-0b7b4f5b962a18ce980354592b55ab2a27b5a2e9f6f8089ec803ca73853e8583R225-R229)
      where we changed condition from `< 1000` to `<= 1999`, which means that
      all parachain IDs bellow 1999 (included) are considered as "system
      parachain" IDs. This change has a direct impact on the following
      components:
      
      ####
      [ChildSystemParachainAsSuperuser](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/xcm-builder/src/origin_conversion.rs#L72-L88)
      This origin converter is used for allowing to process XCM `Transact`
      from "system parachain" on the relay chain - e.g. see [configuration for
      Kusama](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/runtime/kusama/src/xcm_config.rs#L92-L101).
      Only configured for Kusama, Westend, Rococo runtimes.
      
      **No need for this feature anymore.** See
      [comment](https://github.com/paritytech/polkadot-sdk/pull/1406#issuecomment-1708218715).
      
      ####
      [IsChildSystemParachain](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/xcm-builder/src/barriers.rs#L310-L317)
      `IsChildSystemParachain` is used with `AllowExplicitUnpaidExecutionFrom`
      barrier for checking XCM programs (they have to start with
      `UnpaidExecution` instruction).
      Only configured for Kusama, Westend, Rococo runtimes.
      
      **Overall the impact is low or mostly ok because it only allows unpaid
      execution for "system parachains" (e.g. AssetHub, BridgeHub...) on the
      relay chain.**
      
      ####
      [SiblingSystemParachainAsSuperuser](https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/xcm/xcm-builder/src/origin_conversion.rs#L94-L114)
      
      Not used anywhere in `polkadot-sdk` repo.
      
      
      ## Unresolved Questions
      - [ ] constants `LOWEST_USER_ID` and `LOWEST_PUBLIC_ID` seem to express
      the same thing now, do we want to keep them both or deprecated one of
      them? If so, which one?
      - [x] determine impact for `ChildSystemParachainAsSuperuser`
      
      ## TODO
      
      - [ ] when merged here, open PR to the `polkadot-fellows`
      
      ## Related Material
      https://youtu.be/CSO-ERHK2gY?t=456
      
      https://forum.polkadot.network/t/polkadot-protocol-and-common-good-parachains/866
      https://wiki.polkadot.network/docs/learn-system-chains
      d569e728
    • Sacha Lansky's avatar
      [improve docs]: Timestamp pallet (#1435) · f6072e8b
      Sacha Lansky authored
      
      
      This PR improves the docs for the Timestamp pallet by following our
      [Documentation
      Guidelines](https://github.com/paritytech/polkadot-sdk/blob/master/docs/DOCUMENTATION_GUIDELINE.md)
      more closely.
      
      ---------
      
      Co-authored-by: default avatarJuan <[email protected]>
      Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
      f6072e8b
    • Sacha Lansky's avatar
      [improve docs] Example pallet crate and Basic Example pallet (#1546) · 1d5a9d25
      Sacha Lansky authored
      This fixes the broken links in the crate level documentation of the
      Examples crate. It also updates the documentation for the Basic Example
      pallet by removing the template for documenting a pallet (we now have
      [this](https://github.com/paritytech/polkadot-sdk/blob/master/docs/DOCUMENTATION_GUIDELINE.md)
      to refer to instead).
      
      Note: I found it unnecessary to provide a link to the doc guidelines as
      I don't think this would be where someone should discover them. I also
      want to flag some ideas that came while making these minor improvements
      in [this
      issue](https://github.com/paritytech/polkadot-sdk-docs/issues/27) (for a
      subsequent PR) as part of ongoing docs work.
      1d5a9d25
    • Muharem Ismailov's avatar
      xcm-builder: PayOverXcm supports fallible convertors for asset kind and... · a8e82a36
      Muharem Ismailov authored
      xcm-builder: PayOverXcm supports fallible convertors for asset kind and beneficiary conversion  (#1572)
      
      `PayOverXcm` type accepts two converters to transform the `AssetKind`
      and `Beneficiary` parameter types into recognized `xcm` types. In this
      PR, we've modified the bounds for these converters, transitioning from
      `Convert` to `TryConvert`.
      
      One such use case for this adjustment is when dealing with versioned xcm
      types for `AssetKind` and `Beneficiary`. These types might be not
      convertible to the latest xcm version, hence the need for fallible
      conversion.
      
      This changes required for
      https://github.com/paritytech/polkadot-sdk/pull/1333
      a8e82a36
    • yjh's avatar
      Executor: Remove `LegacyInstanceReuse` strategy (#1486) · e3899880
      yjh authored
      
      
      It seems the old strategy have been depracted more than one year. 
      So maybe it's time to clean up old strategy for wasm executor.
      
      
      ---
      polkadot address: 15ouFh2SHpGbHtDPsJ6cXQfes9Cx1gEFnJJsJVqPGzBSTudr
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarKoute <[email protected]>
      e3899880
  4. Sep 17, 2023
    • Egor_P's avatar
      [Backport] Version bumps from release 1.1.0 (#1580) · cf5c1952
      Egor_P authored
      
      
      This PR backports version bumps for `polkadot` and `polkadot-parachain`
      from the v1.1.0 release branch
      
      ---------
      
      Co-authored-by: default avatarMara Broda <[email protected]>
      cf5c1952
    • José Molina Colmenero's avatar
      fix: export-genesis-state command (#1521) · 2ca30ed1
      José Molina Colmenero authored
      # Description
      
      Currently the `ExportGenesisState` command in polkadot parachain uses an
      asynchronous context to run, which seems to display some warnings. See
      the screenshot below:
      
      ![Screenshot 2023-09-12 at 17 12
      15](https://github.com/paritytech/polkadot-sdk/assets/2722756/0140b48a-2edb-41fa-b046-579d526f8305)
      
      After the changes in this PR, which essentially runs the command in a
      synchronous context, the command works properly without any warning.
      
      ![Screenshot 2023-09-12 at 18 23
      46](https://github.com/paritytech/polkadot-sdk/assets/2722756/31506917-ece2-4a5f-8909-f215cc1ac0de)
      
      The remaining runtimes were added to `construct_benchmark_partials`
      macro in order not to fail if the runtime was not included in the
      non-exhaustive initial list, similarly to the `construct_async_run` one.
      
      For completeness: tests were made following this
      [tutorial](https://docs.substrate.io/tutorials/build-a-parachain/connect-a-local-parachain/).
      2ca30ed1
    • Davide Galassi's avatar
      Babe epoch newtype (#1596) · c7dbfc21
      Davide Galassi authored
      Removal of verbatim duplication of BABE's `Epoch` struct in the client.
      
      I think is better to have one single definition and wrap the primitive
      `Epoch` in a newtype (required because we need to implement the `Epoch`
      trait).
      c7dbfc21
    • Gavin Wood's avatar
      FRAME: Revamp Preimage pallet to use Consideration (#1363) · d787269c
      Gavin Wood authored
      
      
      Make Preimage pallet use Consideration instead of handling deposits
      directly.
      
      Other half of paritytech/substrate#13666.
      Depends/based on #1361.
      
      Script for the lazy migration that should be run manually once:
      [migrate-preimage-lazy.py](https://github.com/ggwpez/substrate-scripts/blob/master/migrate-preimage-lazy.py).
      
      ## TODO
      
      - [x] Migration code.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      d787269c
  5. Sep 16, 2023
    • joe petrowski's avatar
      Include `bitvec` in `std` for Broker Pallet (#1558) · 11d1a395
      joe petrowski authored
      When adding this pallet to the [Coretime
      Chain](https://github.com/paritytech/polkadot-sdk/pull/1479), this
      dependency results in conflicting implementations (rustc error below).
      This toml change fixes it.
      
      ```
      error: failed to run custom build command for `coretime-rococo-runtime v1.0.0 (/home/joe/parity/polkadot-sdk/cumulus/parachains/runtimes/coretime/coretime-rococo)`
      
      Caused by:
        process didn't exit successfully: `/home/joe/parity/polkadot-sdk/target/debug/build/coretime-rococo-runtime-7943703d2770a119/build-script-build` (exit status: 1)
        --- stdout
        Information that should be included in a bug report.
        Executing build command: RUSTFLAGS="-C target-cpu=mvp -C target-feature=-sign-ext -C link-arg=--export-table -Clink-arg=--export=__heap_base -C link-arg=--import-memory  " SKIP_WASM_BUILD="" "/home/joe/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/joe/parity/polkadot-sdk/target/debug/wbuild/coretime-rococo-runtime/Cargo.toml" "--color=always" "--profile" "release"
        Using rustc version: rustc 1.71.1 (eb26296b5 2023-08-03)
      
      
        --- stderr
           Compiling sp-io v23.0.0 (/home/joe/parity/polkadot-sdk/substrate/primitives/io)
           Compiling coretime-rococo-runtime v1.0.0 (/home/joe/parity/polkadot-sdk/cumulus/parachains/runtimes/coretime/coretime-rococo)
        error[E0152]: found duplicate lang item `panic_impl`
            --> /home/joe/parity/polkadot-sdk/substrate/primitives/io/src/lib.rs:1749:1
             |
        1749 | pub fn panic(info: &core::panic::PanicInfo) -> ! {
             | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = note: the lang item is first defined in crate `std` (which `bitvec` depends on)
             = note: first definition in `std` loaded from /home/joe/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-unknown-unknown/lib/libstd-67dfbacfb4b441ef.rlib
             = note: second definition in the local crate (`sp_io`)
      
        For more information about this error, try `rustc --explain E0152`.
      ```
      11d1a395
  6. Sep 15, 2023
    • Alexandru Vasile's avatar
      rpc-v2: Change method name for provided events (#1593) · 76c68ee2
      Alexandru Vasile authored
      
      
      This PR changes the method name of the subscription that provides
      JSON-RPC notifications (ie subscription events).
      This brings the raw JSON response in sync with the rpc-spec-v2 format.
      
      Changes:
      - `chainHead_unstable_follow` to `chainHead_unstable_followEvent`
      [spec/chainHead](https://github.com/paritytech/json-rpc-interface-spec/blob/main/src/api/chainHead_unstable_follow.md#notifications-format)
      - `transaction_unstable_submitAndWatch` to
      `transaction_unstable_watchEvent`
      [spec/tx](https://github.com/paritytech/json-rpc-interface-spec/blob/main/src/api/transaction_unstable_submitAndWatch.md#notifications-format)
      
      @paritytech/subxt-team
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      76c68ee2
    • Muharem Ismailov's avatar
      asset-rate pallet: box asset kind parameter (#1545) · 841a33ed
      Muharem Ismailov authored
      
      
      The `AssetKind` type parameter of a dispatchable, defined by the user,
      might be large — like `xcm::MultiLocation`. To prevent inflating the
      size of the `Call` type, we `Box` it.
      
      This changes required for
      https://github.com/paritytech/polkadot-sdk/pull/1333
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      841a33ed
    • Lulu's avatar
    • dependabot[bot]'s avatar
      Bump the known_good_semver group with 2 updates (#1553) · 1882e9e4
      dependabot[bot] authored
      
      
      Bumps the known_good_semver group with 2 updates:
      [serde_json](https://github.com/serde-rs/json) and
      [syn](https://github.com/dtolnay/syn).
      
      Updates `serde_json` from 1.0.106 to 1.0.107
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/serde-rs/json/releases">serde_json's
      releases</a>.</em></p>
      <blockquote>
      <h2>v1.0.107</h2>
      <ul>
      <li>impl IntoDeserializer for &amp;RawValue (<a
      href="https://redirect.github.com/serde-rs/json/issues/1071">#1071</a>)</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/serde-rs/json/commit/b6e113f2036c52e994ca805e530ee4ffae791f71"><code>b6e113f</code></a>
      Release 1.0.107</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/00626a0a95b3d4cee8d57709f0acc804c1296716"><code>00626a0</code></a>
      Merge pull request <a
      href="https://redirect.github.com/serde-rs/json/issues/1073">#1073</a>
      from dtolnay/rawvalue</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/b9d296f87d6081afdd590d5a6006737db961302b"><code>b9d296f</code></a>
      IntoDeserializer for &amp;RawValue</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/4ea34a2566ba82a2e602526d0919d23e88c9e5ef"><code>4ea34a2</code></a>
      Merge pull request <a
      href="https://redirect.github.com/serde-rs/json/issues/1072">#1072</a>
      from dtolnay/rawvalue</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/fe30766ae5c79bfb670b2de1c5596e6e11e22f8c"><code>fe30766</code></a>
      Support deserializing from &amp;RawValue</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/2c22077f0e2decfda5cdfd5821c5f9547d584b76"><code>2c22077</code></a>
      Merge pull request <a
      href="https://redirect.github.com/serde-rs/json/issues/1062">#1062</a>
      from osiewicz/remove_build_rs</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/04f7758b6eae935237574b25a1e63cf5e281e19e"><code>04f7758</code></a>
      fixup! chore: Remove no_btreemap_get_key_value and
      no_btreemap_remove_entry.</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/83bdc5fd4213d94201a3d9ad0f2943da7eba1dd6"><code>83bdc5f</code></a>
      Omit return keyword in <code>remove_entry</code></li>
      <li><a
      href="https://github.com/serde-rs/json/commit/89a274195680d3ea6a2b442ff633b81ccf60bbe4"><code>89a2741</code></a>
      Revert &quot;Remove limb_width32 and limb_width64 features&quot;</li>
      <li><a
      href="https://github.com/serde-rs/json/commit/16e04ceeddfdfad18fb1ae8530695a318fa9bc02"><code>16e04ce</code></a>
      fixup! Remove limb_width32 and limb_width64 features</li>
      <li>See full diff in <a
      href="https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      Updates `syn` from 2.0.32 to 2.0.33
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/dtolnay/syn/releases">syn's
      releases</a>.</em></p>
      <blockquote>
      <h2>2.0.33</h2>
      <ul>
      <li>Special handling for the <code>(/*ERROR*/)</code> placeholder that
      rustc uses for macros that fail to expand</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/dtolnay/syn/commit/5e3f55e684b7e33424b9f551105463418b196eb4"><code>5e3f55e</code></a>
      Release 2.0.33</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/3e04809f5218c6d5fb2b09a6c55933e785825c75"><code>3e04809</code></a>
      Pull in proc-macro2 error placeholder change</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/2cd5608a4c37810bb0947b0c161a20695b3ce487"><code>2cd5608</code></a>
      Merge pull request <a
      href="https://redirect.github.com/dtolnay/syn/issues/1508">#1508</a>
      from dtolnay/error</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/84cfe09484f6468bc85fb01db11c6a10fcb2d988"><code>84cfe09</code></a>
      Fall through to 'Unrecognized literal' error</li>
      <li><a
      href="https://github.com/dtolnay/syn/commit/a80570c81bf15c9afcf8e2470ab06f60f7a8183d"><code>a80570c</code></a>
      Parse rustc's representation of macro expansion error</li>
      <li>See full diff in <a
      href="https://github.com/dtolnay/syn/compare/2.0.32...2.0.33">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      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-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      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 show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore <dependency name> major version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's major version (unless you unignore this specific
      dependency's major version or upgrade to it yourself)
      - `@dependabot ignore <dependency name> minor version` will close this
      group update PR and stop Dependabot creating any more for the specific
      dependency's minor version (unless you unignore this specific
      dependency's minor version or upgrade to it yourself)
      - `@dependabot ignore <dependency name>` will close this group update PR
      and stop Dependabot creating any more for the specific dependency
      (unless you unignore this specific dependency or upgrade to it yourself)
      - `@dependabot unignore <dependency name>` will remove all of the ignore
      conditions of the specified dependency
      - `@dependabot unignore <dependency name> <ignore condition>` will
      remove the ignore condition of the specified dependency and ignore
      conditions
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      1882e9e4
    • Branislav Kontur's avatar
      Added `xcmp_queue_send_xcm_works` test (#1422) · 11088bcf
      Branislav Kontur authored
      This PR adds test case for successful `send_xcm` for `XcmpQueue`
      according to the opened HRMP channel to the sibling parachain.
      11088bcf