Skip to content
  1. Sep 14, 2023
    • 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
  2. 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
  3. Sep 12, 2023
    • Oleg Plakida's avatar
      Oleg/ci cd/add new tag (#1427) · f204e326
      Oleg Plakida authored
      
      
      Update CI tag for docker vm runners
      
      ---------
      
      Co-authored-by: default avataralvicsam <[email protected]>
      f204e326
    • Nazar Mokrynskyi's avatar
      Allow justifications on non-finalized blocks (#1211) · ee6eeb74
      Nazar Mokrynskyi authored
      
      
      One assertion was unnecessary because of the check right above it,
      second assertion resolves
      https://github.com/paritytech/polkadot-sdk/issues/1159
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      ee6eeb74
    • Chris Sosnin's avatar
      lookahead collator: only build on top of scheduled relay parents (#1429) · 09630fc3
      Chris Sosnin authored
      
      
      Partially addresses #1400
      
      ---------
      
      Co-authored-by: default avatarAndrei Sandu <[email protected]>
      09630fc3
    • Chris Sosnin's avatar
      add tests for `find_potential_parents` (#1338) · 730edeb6
      Chris Sosnin authored
      (would have closed) https://github.com/paritytech/cumulus/issues/2831
      730edeb6
    • Bastian Köcher's avatar
    • Oliver Tale-Yazdi's avatar
      [CI] Disable runtime logging for benchmarks (#1463) · fea7bcd6
      Oliver Tale-Yazdi authored
      
      
      Changes:
      - Disable runtime logging in benchmarks by building with a specific
      profile
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      fea7bcd6
    • Dmitry Markin's avatar
    • Lulu's avatar
      Fix mistakes in Cargo.toml (#1504) · 391591b6
      Lulu authored
      391591b6
    • dependabot[bot]'s avatar
      Bump cfg-expr from 0.15.4 to 0.15.5 (#1502) · f551f52e
      dependabot[bot] authored
      
      
      Bumps [cfg-expr](https://github.com/EmbarkStudios/cfg-expr) from 0.15.4
      to 0.15.5.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/EmbarkStudios/cfg-expr/releases">cfg-expr's
      releases</a>.</em></p>
      <blockquote>
      <h2>Release 0.15.5</h2>
      <h3>Changed</h3>
      <ul>
      <li><a
      href="https://redirect.github.com/EmbarkStudios/cfg-expr/pull/64">PR#64</a>
      updated the builtin target list to 1.72.0. It also changed the MSRV to
      1.70.0.</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Changelog</summary>
      <p><em>Sourced from <a
      href="https://github.com/EmbarkStudios/cfg-expr/blob/main/CHANGELOG.md">cfg-expr's
      changelog</a>.</em></p>
      <blockquote>
      <h2>[0.15.5] - 2023-09-08</h2>
      <h3>Changed</h3>
      <ul>
      <li><a
      href="https://redirect.github.com/EmbarkStudios/cfg-expr/pull/64">PR#64</a>
      updated the builtin target list to 1.72.0. It also changed the MSRV to
      1.70.0.</li>
      </ul>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/EmbarkStudios/cfg-expr/commit/2ba00cc821bf47fe0c44f09159486dcddd387e68"><code>2ba00cc</code></a>
      Release 0.15.5</li>
      <li><a
      href="https://github.com/EmbarkStudios/cfg-expr/commit/2ba956f7ce7feb01a8852285d7f25db0fd7b2ba2"><code>2ba956f</code></a>
      Update to 1.72.0 targets (<a
      href="https://redirect.github.com/EmbarkStudios/cfg-expr/issues/64">#64</a>)</li>
      <li>See full diff in <a
      href="https://github.com/EmbarkStudios/cfg-expr/compare/0.15.4...0.15.5">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cfg-expr&package-manager=cargo&previous-version=0.15.4&new-version=0.15.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 <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>
      f551f52e
    • Tsvetomir Dimitrov's avatar
    • Liam Aharon's avatar
      fix simple analytics injection script (#1501) · 77c867ba
      Liam Aharon authored
      When `process_file` is run by `xargs`, it is executed inside a new shell
      without access to variables defined outside of its scope.
      
      This resulted in `script_content` being an empty string.
      
      By exporting `script_content` prior to running `xargs` it is available
      inside the new shells.
      77c867ba
  4. Sep 11, 2023
  5. Sep 09, 2023
  6. Sep 08, 2023