Skip to content
  1. Sep 28, 2023
    • Michal Kucharczyk's avatar
      rococo-runtime: `RococoGenesisExt` removed (#1490) · 50242a61
      Michal Kucharczyk authored
      [`RococoGenesisExt`](https://github.com/paritytech/polkadot-sdk/blob/a414ea75
      
      /polkadot/node/service/src/chain_spec.rs#L152-L171)
      is removed. It was the hack to allow overwriting
      `EpochDurationInBlocks`. Removal of `RococGenesisExt` prevents from
      manipulating the state to change the runtime constants.
      
      Changes:
      - Environment variable which controls the `time::EpochDurationInBlocks`
      value was added: `ROCOCO_EPOCH_DURATION` (epoch duration will be set to
      the value of env),
      - `10,100,600` versions of rococo-runtime are built in CI and put into `polkadot-debug` docker image.
      
      `rococo-runtime` building examples:
      - to build runtime for `versi_staging_testnet` which had
      EpochDurationInBlocks set to 100:
        ```
      ROCOCO_EPOCH_DURATION=100 cargo build --features=fast-runtime -p
      rococo-runtime
        ```
      - to build runtime for `wococo_development`
        ```
      ROCOCO_EPOCH_DURATION=10 cargo build --features=fast-runtime -p
      rococo-runtime
        ```
      - to build `versi-staging` chain spec:
        ```
      ROCOCO_EPOCH_DURATION=100 cargo run -p polkadot --features=fast-runtime
      -- build-spec --chain versi-staging --raw
        ```
      - to build `wococo-dev` chain spec:
        ```
      ROCOCO_EPOCH_DURATION=10 cargo run -p polkadot --features=fast-runtime
      -- build-spec --chain wococo-dev --raw
        ```
      
      It is also possible to change the epoch duration by replacing the `code` field in the chain spec with the hex dump of pre-built runtime wasm blob (because the epoch duration is hard-coded into wasm blob).
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      50242a61
    • Marcin S.'s avatar
      PVF: more filesystem sandboxing (#1373) · c1eb342b
      Marcin S. authored
      c1eb342b
    • Xavier Lau's avatar
      Add `MaxTipAmount` for pallet-tips (#1709) · de71fecc
      Xavier Lau authored
      Last week we experienced a governance attack.
      Surprisingly, there was no upper limit on the tip amount.
      
      Due to the mechanism of pallet-fragment-election, the council members
      will be refreshed immediately. Attacker is easy to control the council
      and give a large tip amount.
      de71fecc
    • Xiliang Chen's avatar
      add some events for pallet-bounties (#1706) · b50d8e6f
      Xiliang Chen authored
      Add missing events for pallet-bounties
      b50d8e6f
    • Javyer's avatar
      Added `review-bot` to fine tune review requirements (#1673) · 4384c613
      Javyer authored
      Created a Github Action that uses the [Review-Bot
      app](https://github.com/paritytech/review-bot) to require more fine
      tuned requirements to review pull requests before allowing the PR to be
      merged.
      
      This uses
      [`pull_request_target`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target)
      for the event, not `pull_request`. This is a security measure so that an
      attacker doesn’t have access to the secrets.
      
      All the rules have been copied from the original
      `.github/pr-custom-review.yml` file.
      
      I want to clarify, this particular commit is **not intended to replace
      PRCR yet**.
      
      # Advantages it brings over `PRCR`
      
      Most of the features available in `PRCR` have been duplicated and
      enhanced. For a complete detailed write up, please see:
      - paritytech/pr-custom-review#114 -> Proposal for the rewrite
      - [Review Bot
      Documentation](https://github.com/paritytech/review-bot/blob/main/README.md)
      
      The most important features are:
      - `include` and `exclude` fields now accept an array, making it easier
      to read the regular expressions.
      - Ability to skip a rule
      - We can set that PRs coming from a particular user or team will cause
      the rule to be skipped.
      - This is used in the `Audit rule`, which was requested by
      @the-right-joyce.
        - This resolves paritytech/pr-custom-review#136
      - Ability to request fellows instead of teams
      - As requested in polkadot-fellows/runtimes#7, this bot has the ability
      to request fellows by rank instead of users.
      - We currently have polkadot-fellows/runtimes#31 which is using that
      feature.
      
      Aside from all the rules available in `PRCR` I have added a particular
      rule to lock the review-bot files and require a review from the
      `locks-review` team, the @paritytech/ci team and the
      @paritytech/opstooling team to ensure that the file has been written
      correctly.
      
      ## Next steps
      
      The next steps will consist on paritytech/review-bot#53, once this issue
      has been resolved, and `review-bot` has worked without any issues on
      this repository for a while, we will upgrade it to be able to fully
      replace `PRCR`.
      4384c613
    • Dónal Murray's avatar
      Add event field names to HRMP Event variants (#1695) · 4bc97e48
      Dónal Murray authored
      Update the HRMP pallet to use field names for Event variants to improve
      metadata for a better client experience.
      Event variants are now structs instead of unnamed tuples.
      
      Partially implements Substrate issue
      [9903](https://github.com/paritytech/substrate/issues/9903) which
      doesn't appear to have been moved to the monorepo.
      4bc97e48
  2. Sep 27, 2023
  3. Sep 26, 2023
    • dependabot[bot]'s avatar
      Bump directories from 4.0.1 to 5.0.1 (#1656) · a846b746
      dependabot[bot] authored
      
      
      Bumps [directories](https://github.com/soc/directories-rs) from 4.0.1 to
      5.0.1.
      <details>
      <summary>Commits</summary>
      <ul>
      <li>See full diff in <a
      href="https://github.com/soc/directories-rs/commits">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=directories&package-manager=cargo&previous-version=4.0.1&new-version=5.0.1)](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>
      a846b746
    • Dónal Murray's avatar
      Allow debug_assertions in short-benchmarks CI job (#1711) · 7d3ce4df
      Dónal Murray authored
      Add debug_assertions to WASM builds in the short-benchmarks CI job.
      
      Disallow warnings, show a full backtrace and remove the WASM output
      colour to improve information from this CI step in the event of a failure.
      
      This is motivated by a
      [case](https://github.com/paritytech/polkadot-sdk/pull/1676/commits/23d64918)
      where a benchmark was misconfigured in master and failing to send
      notifications, but passing CI. We don't want this to fail if the problem
      happens in production, but ideally we'd know from the CI if it was
      misconfigured and the messages weren't getting sent, as that could
      (would?) affect the weights that the benchmark generates.
      
      Enabling debug-assertions in WASM builds for the short-benchmarks would
      catch "soft" failures like this in future.
      7d3ce4df
    • Alexandru Vasile's avatar
      chainHead/storage: Fix storage iteration using the query key (#1665) · cc50eda0
      Alexandru Vasile authored
      
      
      This PR ensures that all storage keys under a prefix are returned by the
      `chainHead_storage` method.
      
      Before this PR, the `storage_keys` was used with just the `start_key`.
      Before the pagination event was generated, the last reported key
      `last_key` was saved internally.
      When the pagination is resumed, the `last_key` will serve as the next
      `start_key` to the `storage_keys` API.
      
      However, this behavior does not function properly for non-prefixed
      storage keys.
      
      Entry keys `a`, `ab`, `abc` share a common prefix and therefore the `ab`
      key leads to `abc`.
      However, for `a`, `ab`, `aB` and `abc`, the `aB` key does not
      immediately lead to `abc`.
      
      To mitigate this, the PR saves the start key of the query, together with
      the next pagination key.
      Improve testing to ensure we have a key entry that doesn't share the
      prefix with the descendant key.
      
      @paritytech/subxt-team
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      cc50eda0
  4. Sep 25, 2023
    • Nazar Mokrynskyi's avatar
      Implement more useful traits in `Slot` type (#1595) · bc500521
      Nazar Mokrynskyi authored
      I had quite a few conversions to/from `u64` because these were lacking.
      
      Let me know if others are desirable as well for symmetry.
      bc500521
    • Javier Viola's avatar
      Make downloads in parallel and give more time to complete (#1699) · f209b31b
      Javier Viola authored
      Fix flaky test (e.g
      https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3787906).
      Sometimes just timeout when trying to download the artifacts from ci.
      This make the download in parallel and allow for more time to complete.
      
      Thx!
      
      cc: @michalkucharczyk
      f209b31b
    • dependabot[bot]'s avatar
      Bump actions/checkout from 4.0.0 to 4.1.0 (#1688) · b18fb35e
      dependabot[bot] authored
      
      
      Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0
      to 4.1.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/actions/checkout/releases">actions/checkout's
      releases</a>.</em></p>
      <blockquote>
      <h2>v4.1.0</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Update README.md for V4 by <a
      href="https://github.com/sivapalan"><code>@​sivapalan</code></a> in <a
      href="https://redirect.github.com/actions/checkout/pull/1452">actions/checkout#1452</a></li>
      <li>Add support for partial checkout filters by <a
      href="https://github.com/finleygn"><code>@​finleygn</code></a> in <a
      href="https://redirect.github.com/actions/checkout/pull/1396">actions/checkout#1396</a></li>
      <li>Prepare 4.1.0 release by <a
      href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
      <a
      href="https://redirect.github.com/actions/checkout/pull/1496">actions/checkout#1496</a></li>
      </ul>
      <h2>New Contributors</h2>
      <ul>
      <li><a href="https://github.com/sivapalan"><code>@​sivapalan</code></a>
      made their first contribution in <a
      href="https://redirect.github.com/actions/checkout/pull/1452">actions/checkout#1452</a></li>
      <li><a href="https://github.com/finleygn"><code>@​finleygn</code></a>
      made their first contribution in <a
      href="https://redirect.github.com/actions/checkout/pull/1396">actions/checkout#1396</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/actions/checkout/compare/v4.0.0...v4.1.0">https://github.com/actions/checkout/compare/v4.0.0...v4.1.0</a></p>
      </blockquote>
      </details>
      <details>
      <summary>Changelog</summary>
      <p><em>Sourced from <a
      href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
      changelog</a>.</em></p>
      <blockquote>
      <h1>Changelog</h1>
      <h2>v4.1.0</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1396">Add
      support for partial checkout filters</a></li>
      </ul>
      <h2>v4.0.0</h2>
      <ul>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1067">Support
      fetching without the --progress option</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1436">Update to
      node20</a></li>
      </ul>
      <h2>v3.6.0</h2>
      <ul>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark
      test scripts with Bash'isms to be run via Bash</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/579">Add
      option to fetch tags even if fetch-depth &gt; 0</a></li>
      </ul>
      <h2>v3.5.3</h2>
      <ul>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1196">Fix:
      Checkout fail in self-hosted runners when faulty submodule are
      checked-in</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix
      typos found by codespell</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add
      support for sparse checkouts</a></li>
      </ul>
      <h2>v3.5.2</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix
      api endpoint for GHES</a></li>
      </ul>
      <h2>v3.5.1</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix
      slow checkout on Windows</a></li>
      </ul>
      <h2>v3.5.0</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add
      new public key for known_hosts</a></li>
      </ul>
      <h2>v3.4.0</h2>
      <ul>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade
      codeql actions to v2</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade
      dependencies</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade
      <code>@​actions/io</code></a></li>
      </ul>
      <h2>v3.3.0</h2>
      <ul>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1045">Implement
      branch list using callbacks from exec function</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add
      in explicit reference to private checkout options</a></li>
      <li>[Fix comment typos (that got added in <a
      href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a
      href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li>
      </ul>
      <h2>v3.2.0</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/942">Add
      GitHub Action to perform release</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix
      status badge</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1002">Replace
      datadog/squid with ubuntu/squid Docker image</a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap
      pipeline commands for submoduleForeach in quotes</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1029">Update
      <code>@​actions/io</code> to 1.1.2</a></li>
      <li><a
      href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading
      version to 3.2.0</a></li>
      </ul>
      <h2>v3.1.0</h2>
      <ul>
      <li><a href="https://redirect.github.com/actions/checkout/pull/939">Use
      <code>@​actions/core</code> <code>saveState</code> and
      <code>getState</code></a></li>
      <li><a href="https://redirect.github.com/actions/checkout/pull/922">Add
      <code>github-server-url</code> input</a></li>
      </ul>
      <h2>v3.0.2</h2>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/actions/checkout/commit/8ade135a41bc03ea155e62e844d188df1ea18608"><code>8ade135</code></a>
      Prepare 4.1.0 release (<a
      href="https://redirect.github.com/actions/checkout/issues/1496">#1496</a>)</li>
      <li><a
      href="https://github.com/actions/checkout/commit/c533a0a4cfc4962971818edcfac47a2899e69799"><code>c533a0a</code></a>
      Add support for partial checkout filters (<a
      href="https://redirect.github.com/actions/checkout/issues/1396">#1396</a>)</li>
      <li><a
      href="https://github.com/actions/checkout/commit/72f2cec99f417b1a1c5e2e88945068983b7965f9"><code>72f2cec</code></a>
      Update README.md for V4 (<a
      href="https://redirect.github.com/actions/checkout/issues/1452">#1452</a>)</li>
      <li>See full diff in <a
      href="https://github.com/actions/checkout/compare/3df4ab11eba7bda6032a0b82a6bb43b11571feac...8ade135a41bc03ea155e62e844d188df1ea18608">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.0.0&new-version=4.1.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>
      b18fb35e
    • Kevin Wang's avatar
      contracts: Fix incorrect storage alias in mirgration (#1687) · e8da3207
      Kevin Wang authored
      
      
      # Description
      
      We are recently trying to upgrade our Substrate version from
      `polkadot-v0.9.43` to `polkadot-v1.0.0` and we noticed a critical issue:
      all deployed contracts seem to be experiencing a `CodeNotFound` error.
      After a thorough investigation, it appears that the root cause of this
      issue lies in the mismatch between the storage alias of `CodeInfoOf<T>`
      in the migration and its original definition.
      
      This PR corrects the storage alias to align it with its original
      definition
      
      I am uncertain about the proper approach for adding tests to this
      change. Would the team consider taking over this PR to bring it to
      completion?
      
      ---------
      
      Co-authored-by: default avatarpgherveou <[email protected]>
      e8da3207
    • Nazar Mokrynskyi's avatar
      Fix documentation about justification and `finalized == true` requirement (#1607) · c0a4ce1f
      Nazar Mokrynskyi authored
      I was reading source code and noticed these two places that are no
      longer true after https://github.com/paritytech/polkadot-sdk/pull/1211
      c0a4ce1f
    • Kian Paimani's avatar
      tweak pallet macro (genesis_config etc) to cater for RA users as well. (#1689) · b5fcdff9
      Kian Paimani authored
      Small tweak to https://github.com/paritytech/polkadot-sdk/pull/1642 to
      incorporate the ideas from
      https://github.com/paritytech/polkadot-sdk/issues/247.
      
      I think this is the good middle ground, where we have good rust-docs,
      and the RA users will also have some hope.
      
      cc @wentelteefje @aaronbassett @sam0x17
      b5fcdff9
    • Gabriel Facco de Arruda's avatar
  5. Sep 24, 2023
    • dependabot[bot]'s avatar
      Bump aes-gcm from 0.10.2 to 0.10.3 (#1681) · e67a879c
      dependabot[bot] authored
      
      
      Bumps [aes-gcm](https://github.com/RustCrypto/AEADs) from 0.10.2 to
      0.10.3.
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/7e82b01cd4901f6a35b5153536f11b87f5e4e622"><code>7e82b01</code></a>
      aes-gcm v0.10.3 (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/552">#552</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/b587b27270cc300d39c496a1ab06be80d72ac107"><code>b587b27</code></a>
      aes-gcm: avoid exposing plaintext on tag verification failure (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/551">#551</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/2209bcaa9edc65e9a60498e7ece5b50e66f32ebf"><code>2209bca</code></a>
      build(deps): bump actions/checkout from 3 to 4 (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/548">#548</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/035ec25362886735a0f44098f85ba0501a9b4038"><code>035ec25</code></a>
      build(deps): bump ascon from 0.3.1 to 0.4.0 (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/545">#545</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/e94ba5ab9fb2c7f3a18c92fb9dc8df14ac36f06b"><code>e94ba5a</code></a>
      xsalsa20poly1305: remove source code (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/543">#543</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/31240c1285144aeabef3e80eb9a1b4137dc2b43f"><code>31240c1</code></a>
      Update Cargo.lock</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/40240c4a852df21048830de4eed4782c0fbddaef"><code>40240c4</code></a>
      Update Cargo.lock</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/be4ea6fd3bcc1c8a5a23974a43e0fc35104d8cba"><code>be4ea6f</code></a>
      Update Cargo.lock</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/2aef39e90d39c247cc89ccc31628468c9a9f60de"><code>2aef39e</code></a>
      Update Clippy version (<a
      href="https://redirect.github.com/RustCrypto/AEADs/issues/534">#534</a>)</li>
      <li><a
      href="https://github.com/RustCrypto/AEADs/commit/50710da0cbd47a4614b6d37119877f206c207e95"><code>50710da</code></a>
      Update Cargo.lock</li>
      <li>Additional commits viewable in <a
      href="https://github.com/RustCrypto/AEADs/compare/aes-gcm-v0.10.2...aes-gcm-v0.10.3">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aes-gcm&package-manager=cargo&previous-version=0.10.2&new-version=0.10.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)
      You can disable automated security fix PRs for this repo from the
      [Security Alerts
      page](https://github.com/paritytech/polkadot-sdk/network/alerts).
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      e67a879c
    • Squirrel's avatar
      docs / Update PR template to reflect monorepo (#1674) · 6a897f06
      Squirrel authored
      
      
      Remove:
      
      ```
      Polkadot companion: (*if applicable*)
      
      Cumulus companion: (*if applicable*)
      ```
      
      ---------
      
      Co-authored-by: default avatarChevdor <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      6a897f06
  6. Sep 22, 2023
  7. Sep 21, 2023
    • dependabot[bot]'s avatar
      Bump quinn-proto from 0.9.4 to 0.9.5 (#1670) · cfc6cc65
      dependabot[bot] authored
      
      
      Bumps [quinn-proto](https://github.com/quinn-rs/quinn) from 0.9.4 to
      0.9.5.
      <details>
      <summary>Commits</summary>
      <ul>
      <li>See full diff in <a
      href="https://github.com/quinn-rs/quinn/commits">compare view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=quinn-proto&package-manager=cargo&previous-version=0.9.4&new-version=0.9.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)
      You can disable automated security fix PRs for this repo from the
      [Security Alerts
      page](https://github.com/paritytech/polkadot-sdk/network/alerts).
      
      </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 avatarLiam Aharon <[email protected]>
      cfc6cc65
    • Davide Galassi's avatar
      [Trivial] Use 'into_inner' for WeakBoundedVec (#1664) · cb7559f6
      Davide Galassi authored
      Prevents authority set clone
      cb7559f6
    • Javier Viola's avatar
      bump zombienet version (#1655) · 93bb4926
      Javier Viola authored
      Includes:
      - fix for https://github.com/paritytech/zombienet/issues/1360 (root
      cause of https://github.com/paritytech/polkadot-sdk/issues/1647)
      - Improve default concurrency to spawn nodes.
      
      Also, fix `var` name in CI file.
      
      cc @skunert
      93bb4926
    • tmpolaczyk's avatar
      Add graceful shutdown to prometheus server (#1637) · a56fd32e
      tmpolaczyk authored
      Fixes prometheus server not stopping if there are open connections
      a56fd32e
  8. 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