Skip to content
  1. Sep 18, 2023
    • 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
  2. 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
  3. 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
  4. 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
    • Rahul Subramaniyam's avatar
      Modular block request handler (#1524) · b35b28ca
      Rahul Subramaniyam authored
      
      
      Submit the outstanding PRs from the old repos(these were already
      reviewed and approved before the repo rorg, but not yet submitted):
      Main PR: https://github.com/paritytech/substrate/pull/14014
      Companion PRs: https://github.com/paritytech/polkadot/pull/7134,
      https://github.com/paritytech/cumulus/pull/2489
      
      The changes in the PR:
      1. ChainSync currently calls into the block request handler directly.
      Instead, move the block request handler behind a trait. This allows new
      protocols to be plugged into ChainSync.
      2. BuildNetworkParams is changed so that custom relay protocol
      implementations can be (optionally) passed in during network creation
      time. If custom protocol is not specified, it defaults to the existing
      block handler
      3. BlockServer and BlockDownloader traits are introduced for the
      protocol implementation. The existing block handler has been changed to
      implement these traits
      4. Other changes:
      [X] Make TxHash serializable. This is needed for exchanging the
      serialized hash in the relay protocol messages
      [X] Clean up types no longer used(OpaqueBlockRequest,
      OpaqueBlockResponse)
      
      ---------
      
      Co-authored-by: default avatarDmitry Markin <[email protected]>
      Co-authored-by: command-bot <>
      b35b28ca
    • Sam Johnson's avatar
      upgrade to docify v0.2.3 (#1555) · c6df3641
      Sam Johnson authored
      Upgrades to docify v0.2.3, which includes a fix for
      https://github.com/sam0x17/docify/issues/7 and full support for
      multi-byte UTF-8 characters
      c6df3641
  5. Sep 14, 2023
    • Tsvetomir Dimitrov's avatar
      Fix code duplication in tests (#1575) · d81a2e2f
      Tsvetomir Dimitrov authored
      d81a2e2f
    • Maciej's avatar
      Inclusion pruning tweaks (#1550) · 756347ab
      Maciej authored
      
      
      In follow-up to https://github.com/paritytech/polkadot-sdk/pull/1518
      
      Adding extra tests for inclusion pruning. Primarily focusing on various
      cases surrounding candidates included in different forks (with different
      relay parents).
      
      All cases fall into a few buckets based on 3 degrees of freedom - number
      of candidates, number of blocks (height), number of forks + extra case
      for pruning multiple heights at once.
      
      Added small tweak to the original pruning function to disregard stale
      candidate duplicates which should keep the same behaviour.
      
      ---------
      
      Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
      756347ab
    • Muharem Ismailov's avatar
      Enable `runtime-benchmarks` feature for crates (#1544) · 49c4b201
      Muharem Ismailov authored
      Enable `runtime-benchmarks` feature for `parachain-common` and
      `cumulus-primitives-utility` crates' dependencies.
      
      After adding `runtime-benchmarks = []` under `features` category in
      `Cargo.toml` files for the creates, I did run,
      > zepter lint propagate-feature --feature runtime-benchmarks --workspace
      --fix --feature-enables-dep="runtime-benchmarks:frame-benchmarking"
      
      This changes required for
      https://github.com/paritytech/polkadot-sdk/pull/1333
      49c4b201
    • Branislav Kontur's avatar
      [xcm_builder]: Do not consume `msg` on `NotApplicable` for remote exporters (#1519) · 76724ce9
      Branislav Kontur authored
      ## Summary
      
      Implementations of `SendXcm`'s `validate` should not consume `dest`
      and/or `msg` parameters in case of `NotApplicable` error.
      This commit aligns expected behavior for `UnpaidRemoteExporter` and
      `SovereignPaidRemoteExporter`.
      
      ## Testing
      
      Added `remote_exporters_does_not_consume_dest_or_msg_on_not_applicable`
      test which checks two possible cases:
      - `dest` is local
      - no configured exporter for `dest`
      76724ce9
    • Adrian Catangiu's avatar
      frame/beefy: add privileged call to reset BEEFY consensus (#1534) · bdb3f98d
      Adrian Catangiu authored
      
      
      We want to be able to (re)set BEEFY genesis in order to (re)start BEEFY
      consensus on chains which didn't run it since genesis.
      
      This commit adds privileged helper call to (re)set BEEFY genesis to some
      block in the future.
      
      Signed-off-by: default avatarAdrian Catangiu <[email protected]>
      bdb3f98d
    • Liam Aharon's avatar
      Add tolerance to nom pool pending rewards try-state (#1236) · cc39edd5
      Liam Aharon authored
      
      
      Closes https://github.com/paritytech/polkadot-sdk/issues/158
      
      In our last FRAME call it was discussed that a likely solution to the ED
      imbalances is lazily fixing the pools as they are interacted with.
      
      So, we should add some tiny tolerance to the try-state checks so next
      time there's an ED change they don't start failing until they've all
      been interacted with.
      
      ### Update 12 Sept
      
      Rather than adding tolerance, have replaced the `ensure` with a warning.
      
      ---------
      
      Co-authored-by: default avatarAnkan <[email protected]>
      cc39edd5
  6. Sep 13, 2023
    • Bastian Köcher's avatar
      wasm-builder: Disable building when running on docs.rs (#1540) · f1994c86
      Bastian Köcher authored
      This pull request changes the `wasm-builder` to skip building the wasm
      files when the build process is running on docs.rs.
      f1994c86
    • Davide Galassi's avatar
      61be78c6
    • Alexandru Vasile's avatar
      Update trie-db version to 0.28.0 (#1522) · 0bebc8ae
      Alexandru Vasile authored
      
      
      This PR updates:
      - trie-db from 0.27.1 to 0.28.0
      - trie-bench from 0.37.0 to 0.38.0 (deb-dependency)
      
      
      While at it, also adapts the recorder to take into account the newly
      added `TrieAccess::InlineValue`.
      
      Needed by:
      - https://github.com/paritytech/polkadot-sdk/pull/1153
      
      @paritytech/subxt-team
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      0bebc8ae
    • Chevdor's avatar
      Reintroduce and fix Docker image build for production (#1536) · 07bad23e
      Chevdor authored
      
      
      This PR brings back the GH Workflow step and some fixes to build the
      docker image from the Debian package.
      
      ---------
      
      Co-authored-by: default avatarEgorPopelyaev <[email protected]>
      07bad23e
    • Maciej's avatar
      Inclusions struct unit tests (#1518) · f7c95c5f
      Maciej authored
      In follow-up to https://github.com/paritytech/polkadot-sdk/pull/1432
      
      Some additional unit tests for the inclusion struct used in the scraper.
      f7c95c5f
    • Vladimir Istyufeev's avatar
      6402ff91
    • Javier Viola's avatar
      fix(ci): Add logic to check and calculate secundary image to use (#1529) · 2daa4715
      Javier Viola authored
      Add logic to check if the `BUILD_RELEASE_VERSION` tag is available in
      docker registry, if not calculate the previous version to use as
      secondary image. This fix the issue in test using the `secondary image`
      and bumping the `NODE_VERSION`. (e.g #1495)
      2daa4715
    • dependabot[bot]'s avatar
      Bump the known_good_semver group with 1 update (#1530) · 71630dfb
      dependabot[bot] authored
      
      
      Bumps the known_good_semver group with 1 update:
      [clap](https://github.com/clap-rs/clap).
      
      <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.3</h2>
      <h2>[4.4.3] - 2023-09-12</h2>
      <h3>Documentation</h3>
      <ul>
      <li><em>(derive)</em> Clarify use of attributes within the tutorial</li>
      <li>Split sections in the builder and derive tutorials into separate
      modules</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.3] - 2023-09-12</h2>
      <h3>Documentation</h3>
      <ul>
      <li><em>(derive)</em> Clarify use of attributes within the tutorial</li>
      <li>Split sections in the builder and derive tutorials into separate
      modules</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/clap-rs/clap/commit/e9668b364c5a0d259780a3e6d8352203d6f329f5"><code>e9668b3</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/bc4986e01e4a6c817e4af8dbd91f96c6aae97107"><code>bc4986e</code></a>
      docs: Update changelog</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/3d53641ca1696fdeafb8e1e87def6b27f1a7d79d"><code>3d53641</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5122">#5122</a>
      from epage/docs</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/32586c7b6335f437e6f01a089e7664f9c88ddc09"><code>32586c7</code></a>
      docs(tutorial): Split into separate modules per section</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/5f6d4a3dadd436899923f27ea6ac62b26198ad91"><code>5f6d4a3</code></a>
      docs(tutorial): Split out into a module</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/20987de0bd2b9b2720771b0f0572745d2ee91433"><code>20987de</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5121">#5121</a>
      from epage/docs</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/9e7404b5996128efcf4d6098b7d4af4eacb04fca"><code>9e7404b</code></a>
      docs(tutorial): Attempt to clarify attributes</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/db97a2c5be69fa81af80e9cee5d3943bcfc664c4"><code>db97a2c</code></a>
      docs(derive): Clarify value attributes are for PossibleValue</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/37ba6075a9e3c968a196e73e78e95a1e7c6e9326"><code>37ba607</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/3234c74a886fdb14abc94b34413d8604d2da0e93"><code>3234c74</code></a>
      docs: Update changelog</li>
      <li>Additional commits viewable in <a
      href="https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=4.4.2&new-version=4.4.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 <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>
      71630dfb
    • Liam Aharon's avatar
      Stabilize `VersionedMigration` (#1503) · 72de70c7
      Liam Aharon authored
      `VersionedMigration` has become somewhat widely used for handling
      version bumps in migrations the last few months.
      
      It is currently behind the `experimental` feature flag, requiring every
      pallet that writes a new migration with version bumps to set up the
      `experimental` flag in their own Cargo.tomls, and also for every runtime
      using these pallets to explicitly enable the `experimental` flag for
      each pallet.
      
      This is becoming quite verbose, and I can only see the number of pallets
      requiring the experimental flag increasing for no other reason than
      using what has become a commonly used feature.
      
      Additionally, I'm writing migration docs and would like to avoid
      stepping through how to use the `experimental` feature to get
      `VersionedMigration` working.
      
      Since the feature has been used in production for some time now without
      any reported issues, is becoming commonly used and ready to advertise in
      docs, I feel this is a good time to make it non-experimental.
      72de70c7
    • Adrian Catangiu's avatar
      pallet-beefy-mmr: better logging on BEEFY key to ETH address conversion (#1520) · 35de1f27
      Adrian Catangiu authored
      
      
      # Description
      
      Each time the validator set changes, BEEFY validator keys are converted
      to ETH addresses and merkelised into a `keyset_commitment` to be used by
      light clients.
      
      This commit downgrades `error` to `debug` when individual conversions
      from BEEFY keys to ETH addresses fail, and adds cumulative check that
      reports total number of failed conversions, if any, on `error`
      log-level.
      
      Fixes https://github.com/paritytech/polkadot-sdk/issues/1305
      
      Signed-off-by: default avatarAdrian Catangiu <[email protected]>
      35de1f27
  7. Sep 12, 2023