Skip to content
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. Sep 11, 2023
    • Alexander Theißen's avatar
      contracts: Run start function (#1367) · c879d1d5
      Alexander Theißen authored
      Fixes #116 
      
      Start function wasn't allowed in a contract. Now it is allowed and is
      being run.
      
      It was disallowed because it is not used by Rust and supporting it made
      the code more complex. However, not running the start function violates
      the wasm standard. This makes life harder for some languages (see linked
      ticket).
      c879d1d5