Skip to content
Snippets Groups Projects
  1. Sep 07, 2024
    • José Molina Colmenero's avatar
      Add debugging info for `StorageWeightReclaim` (#5594) · 016421ac
      José Molina Colmenero authored
      
      When inspecting the logs we often encounter the following message:
      
      `Benchmarked storage weight smaller than consumed storage weight.
      benchmarked: {benchmarked_weight} consumed: {consumed_weight} unspent:
      {unspent}`
      
      However, it is very hard to guess which call is causing the issue.
      
      With the changes proposed in this PR, information about the call is
      provided so that we can easily identify the source of the problem
      without further delay, and this way work more efficiently in solving the
      issue.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
    • clangenb's avatar
      Fix occasional `alloc` not found error in `format_runtime_string!` (#5632) · 96fecc3c
      clangenb authored
      The macro hygiene for the `format_runtime_string!` macro was broken
      since https://github.com/paritytech/polkadot-sdk/pull/5010, which
      resulted in the following build error under certain circumstances:
      
      ```console
        error[E0433]: failed to resolve: use of undeclared crate or module `alloc`
            --> /home/clang/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-benchmarking-36.0.0/src/v1.rs:1738:2
             |
        1738 | /     sp_runtime::format_runtime_string!(
        1739 | |         "\n* Pallet: {}\n\
        1740 | |         * Benchmark: {}\n\
        1741 | |         * Components: {:?}\n\
        ...    |
        1750 | |         error_message,
        1751 | |     )
             | |_____^ use of undeclared crate or module `alloc`
             |
             = note: this error originates in the macro `sp_runtime::format_runtime_string` (in Nightly builds, run with -Z macro-backtrace for more info)
      
        For more information about this error, try `rustc --explain E0433`.
      ```
      
      This bug has been known already, but hasn't been fixed so far, see
      https://github.com/paritytech/polkadot-sdk/issues/5213 and
      https://substrate.stackexchange.com/questions/11786/use-of-undeclared-crate-or-module-alloc-when-upgrade-to-v1-13-0.
      
      I have made a mini rust crate that can reproduce the bug, and it also
      shows that this PR will fix the issue:
      https://github.com/clangenb/sp-runtime-string-test.
  2. Sep 06, 2024
    • Maksym H's avatar
      Update tests-misc.yml (#5615) · 365d9928
      Maksym H authored
      
      Fixes https://github.com/paritytech/ci_cd/issues/1032
      
      ---------
      
      Co-authored-by: default avatarAlexander Samusev <41779041+alvicsam@users.noreply.github.com>
    • Alexander Samusev's avatar
      [ci] Fix final job for required workflows (#5619) · b2089d88
      Alexander Samusev authored
      Currently if a required job fails the final jobs is skipped which breaks
      the logic of required jobs.
      PR fixes it. 
      
      Closes https://github.com/paritytech/ci_cd/issues/1033
    • Andrei Eres's avatar
      Fix PVF precompilation for Kusama (#5606) · 5040b3c2
      Andrei Eres authored
      ![image](https://github.com/user-attachments/assets/2deaee85-67c3-4119-b0c0-d2e7f818b4ea)
      
      Because on Kusama validators.len() < discovery_keys.len() we can tweak
      the PVF precompilation to allow prepare PVFs when the node is an
      authority but not a validator.
    • Radha's avatar
      Update Templates Readme - Github Repo links (#5381) · 986e7ae4
      Radha authored
      
      When someone downloads the Polkadot SDK repo and navigates to the
      templates folder, the Readme instructions do not work. There is a
      getting started script of the Polkadot SDK readme which can be
      overlooked (and also it covers only minimal template and not the
      parachain/solochain templates).
      
      The instructions of the Readme files are updated such that they work for
      anyone on
      https://github.com/paritytech/polkadot-sdk
      https://github.com/paritytech/polkadot-sdk-minimal-template
      https://github.com/paritytech/polkadot-sdk-parachain-template
      https://github.com/paritytech/polkadot-sdk-solochain-template
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
    • Egor_P's avatar
      [CI/Release] Pipeline to create a stable release branch (#5598) · 76df1ae4
      Egor_P authored
      This PR contains a pipeline which is going to branch off the new stable
      release branch (e.g. `stab2412`, `stable2503`) and bump `polkadot`
      `NODE_VERSION`, `spec_version` of the runtimes and reorganisation of the
      `prdocs` related to the new stable release.
      
      This is a first step in the automated `polkadot-sdk` release flow as
      part of the task: https://github.com/paritytech/polkadot-sdk/issues/3291
      
      The pipeline is not supposed to be triggered in the main` polkadot-sdk`
      repo, but in the fork in the
      [`paritytech-release`](https://github.com/paritytech-release/polkadot-sdk)
      org, where the whole release flow is going to land.
      
      Closes: https://github.com/paritytech/release-engineering/issues/222
    • Liu-Cheng Xu's avatar
      Introduce `BlockGap` (#5592) · fdb4554e
      Liu-Cheng Xu authored
      Previously, block gaps could only be created by warp sync, but block
      gaps will also be generated by fast sync once #5406 is fixed. This PR is
      part 1 of the detailed implementation plan in
      https://github.com/paritytech/polkadot-sdk/issues/5406#issuecomment-2325064863:
      refactor `BlockGap`.
      
      This refactor converts the existing `(NumberFor<Block>,
      NumberFor<Block>)` into a dedicated `BlockGap<NumberFor<Block>>` struct.
      This change is purely structural and does not alter existing logic, but
      lays the groundwork for the follow-up PR.
      
      The compatibility concern caused by the new structure is addressed in
      the second commit.
      
      cc @dmitry-markin
      
      
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
  3. Sep 05, 2024
    • Maksym H's avatar
      /cmd followups (#5533) · 8d81f1e6
      Maksym H authored
      
      Closes: https://github.com/paritytech/polkadot-sdk/issues/5545
      
      - add missing template for frame & xcm benchmarks
      - fix `git pull` ->
      https://github.com/paritytech/polkadot-sdk/actions/runs/10644887539/job/29510118915
      - respect runtimes headers - use GNU instead of apache for runtimes
      - adds tests for cmd.py
      
      Tip: review this one with Whitespace hidden
      
      ![image](https://github.com/user-attachments/assets/3bcdc6c2-7371-428f-9962-556ca81c1467)
      
      ---------
      
      Co-authored-by: default avatarGitHub Action <action@github.com>
    • Maksym H's avatar
      minor fixes pipeline (#5607) · 702a15cb
      Maksym H authored
      - [return macos jobs to
      gitlab](https://github.com/paritytech/polkadot-sdk/commit/dcd44b1d)
      - [add benches to merge
      queue](https://github.com/paritytech/polkadot-sdk/commit/494eb21b)
      - [require test-deterministic-wasm and run it
      earlier](https://github.com/paritytech/polkadot-sdk/commit/ab9ae5ca)
    • Eugen Snitko's avatar
      Github actions coverage (#5148) · b9b34fb9
      Eugen Snitko authored
      Jobs for coverage collections and upload to codecov for github PR's
      Uses same test suit as test-linux-stable, splits tests into 5 parallel
      jobs, uploads to codecov, generates report comment and status checks
      (can be made required)
      | | |
      | --- | --- |
      | <img width="640" alt="image"
      src="https://github.com/user-attachments/assets/3790f255-27d1-46b9-8d25-2e40b3dcd844">
      | <img width="764" alt="image"
      src="https://github.com/user-attachments/assets/9e0c8cc7-3278-4b4e-9e28-d76cd57b9163">
      |
      
      Codecov behavior (required coverage, thresholds, comment info etc.) is
      highly customizable via `.github/codecov.yaml`
      ([reference](https://docs.codecov.com/docs/codecovyml-reference))
      
      Unfortunately, some tests are excluded because with `-C
      instrument-coverage` they run very slowly, flaky, or fail (see [nextest
      filter
      expression](https://github.com/paritytech/polkadot-sdk/pull/5148/files#diff-b19504a9520a2498d03020108344d8e6d93d254d812bfa26247faaa7f55263d6R80)
      of test-linux-stable-coverage). So for now, this workflow is optional,
      and will only run for pr's with the `GHA-coverage` label
    • Maksym H's avatar
      GHA Migration - test-misc (#5385) · 49a68132
      Maksym H authored
      
      Closes: https://github.com/paritytech/ci_cd/issues/1018
      
      
      ![image](https://github.com/user-attachments/assets/b434d809-2c38-47e9-8a62-448f32cf24cb)
      
      Added DAG similar to how it was on Gitlab
      
      ---------
      
      Co-authored-by: default avatarAlexander Samusev <41779041+alvicsam@users.noreply.github.com>
    • Alexandru Gheorghe's avatar
      Add benchmark for the number of minimum cpu cores (#5127) · a947cb83
      Alexandru Gheorghe authored
      
      Fixes: https://github.com/paritytech/polkadot-sdk/issues/5122.
      
      This PR extends the existing single core `benchmark_cpu` to also build a
      score of the entire processor by spawning `EXPECTED_NUM_CORES(8)`
      threads and averaging their throughput.
      
      This is better than simply checking the number of cores, because also
      covers multi-tenant environments where the OS sees a high number of
      available CPUs, but because it has to share it with the rest of his
      neighbours its total throughput does not satisfy the minimum
      requirements.
      
      
      ## TODO
      - [x] Obtain reference values on the reference hardware.
      
      ---------
      
      Signed-off-by: default avatarAlexandru Gheorghe <alexandru.gheorghe@parity.io>
    • Przemek Rzad's avatar
      Make the docs logo readable on light backgrounds (#5389) · f6fd5bc5
      Przemek Rzad authored
      
      Currently, the logo on the docs site blends into the background on the
      light theme:
      
      <img width="320px"
      src="https://github.com/user-attachments/assets/4cded445-d3af-4100-bd11-6a33da836cb1">
      
      
      [Here](https://internals.rust-lang.org/t/feedback-on-new-rust-documentation-logo-background/12787)
      is a discussion related to this. There doesn't seem to be a perfect way
      to handle this situation.
      
      ---
      
      Silent because the docs crate is not part of the regular release
      process.
      
      ---------
      
      Co-authored-by: default avatarordian <write@reusable.software>
    • Francisco Aguirre's avatar
      Clear other messages before dry-run to get only the ones produced during (#5581) · 8d9ebcd5
      Francisco Aguirre authored
      
      The dry-run shows in `forwarded_xcms` all the messages in the queues at
      the time of calling the API.
      Each time the API is called, the result could be different.
      You could get messages even if you dry-run something that doesn't send a
      message, like a `System::remark`.
      
      This PR fixes this by clearing the message queues before doing the
      dry-run, so the only messages left are the ones the users of the API
      actually care about.
      
      ---------
      
      Co-authored-by: default avatarAdrian Catangiu <adrian@parity.io>
    • Alexander Samusev's avatar
      [ci] Move test-linux-stable to GHA (#5571) · 6a1b200c
      Alexander Samusev authored
      PR moves jobs `test-linux-stable`, `test-linux-stable-int` and
      `test-linux-stable-runtime-benchmarks` to github actions
      
      cc https://github.com/paritytech/ci_cd/issues/1006
    • Przemek Rzad's avatar
      Update and test the `getting-started` script (#5446) · 5e0ec3e0
      Przemek Rzad authored
      
      Here are some changes to the `getting-started.sh` scripts we have
      advertised on top of the readme.
      
      ### Changes to the script
      
      1. Change `echo` to a more portable `printf`.
      
      On my machine, the script printed a literal `\n` string if run with
      `bash`.
      If I changed it to `echo -e`, then it printed a literal `-e` if run with
      `sh`.
      
      Changed it to `printf` which is more portable.
      
      ---
      
      2. Template selection
      
      The script proceeded to clone and build the `minimal` template, which is
      not always what we want.
      Added a selection prompt where the user can select one of the 3
      templates, and choose if it should be built&run or not.
      The user can also select no template at all - that way, we have a
      starter of a dependencies-installation script.
      
      ---
      
      3. Added some missing dependencies for some of the systems.
      
      ### A workflow testing the script
      
      I propose a workflow, that will test the script using the
      [expect](https://core.tcl-lang.org/expect/index) tool.
      For each OS mentioned in the script (macOS, Ubuntu, Debian, Arch,
      Fedora, OpenSUSE) we go through the script twice, and after that build
      and run the template binary.
      
      I'm using docker containers, so we start from scratch and make sure the
      scripts installs all required dependencies - with the exception of
      macOS, which I can't run from scratch in a container.
      
      The jobs use a selected combination of OSes, shell interpreters (`bash`
      or `sh`), and templates.
      There is too much combinations to run them all, but I have [run it
      once](https://github.com/paritytech-stg/polkadot-sdk/actions/runs/10509533645)
      in staging to make sure all pass.
      
      I'm adding a cron schedule because it can break without any code changes
      in this repository (e.g. new `latest` release of a container).
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    • PG Herveou's avatar
      [pallet-revive] refactor uapi with better types (#5555) · cf330ccd
      PG Herveou authored
      start using better type for address, code_hash, and salt in runtime and
      the uapi crate
      
      fix https://github.com/paritytech/polkadot-sdk/issues/5575
    • Shawn Tabrizi's avatar
      fix link check (#5590) · d5346e72
      Shawn Tabrizi authored
      PR Doc #5443 broke the link checker because it includes a link to this
      private repo:
      
      https://github.com/paritytech/devops/issues/3502
      
      This PR adds the `prdoc` folder to the excluded paths of the link
      checker to ensure that historical PR Docs do not break the pipeline.
      
      I think this makes sense over whitelisting the github link because we
      probably expect that in a long enough time period, links from old PR
      docs will start to break, but I don't think we intend to update those
      old PR docs, or start whitelisting lots of urls.
  4. Sep 04, 2024
    • Shawn Tabrizi's avatar
      Create a Basic Proving Trie for the Runtime (#3881) · 1cff666b
      Shawn Tabrizi authored
      
      This PR will introduce a `BasicProvingTrie` type, which makes it easy to
      construct and prove data in a base-16 merkle trie within the runtime.
      
      Data into the merkle trie only require that they implement `Encode` /
      `Decode`.
      
      A FRAME compatible `TrieError` was created and added to `DispatchError`.
      
      Expected usage is to construct the merkle trie with all data offline,
      and then place only the merkle root of that trie on-chain.
      
      Also offchain, a user is given a compact merkle proof of some data they
      want to prove exists on the blockchain.
      
      Then in the runtime, you can call `verify_single_value_proof` or
      `verify_proof` with the root, proof, and the keys and values you want to
      verify exists in the merkle trie.
      
      Closes https://github.com/paritytech/polkadot-sdk/issues/3880
      
      Contributes to #5400
      
      ---------
      
      Co-authored-by: default avatarAnkan <10196091+Ank4n@users.noreply.github.com>
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    • Eugen Snitko's avatar
      build and publish images migration (#5558) · 778a9e41
      Eugen Snitko authored
      migrate jobs to gha
      - build-linux-stable-cumulus
      - build-test-parachain
      - build-linux-stable
      - build-test-collators
      - build-malus
      - build-linux-substrate
      - prepare-bridges-zombienet-artifacts (might require help from zombienet
      team)
      - build-push-image-polkadot-parachain-debug
      - build-push-image-test-parachain
      - build-push-image-polkadot-debug
      - build-push-image-colander
      - build-push-image-malus
      - build-push-image-substrate-pr
      - build-push-image-bridges-zombienet-tests
      
      see [ci_cd#1013](https://github.com/paritytech/ci_cd/issues/1013)
    • ordian's avatar
      try making bench numbers make sense (#5526) · de0b6f25
      ordian authored
      Follow-up to #5270. The baseline numbers for Westend were too high to be
      representative of the reality as it seemed to do with how multi-variate
      linear regression is calculated.
      
      ---------
      
      Co-authored-by: command-bot <>
    • Muharem Ismailov's avatar
      Collective: dynamic deposit based on number of proposals (#3151) · cc3b7bbd
      Muharem Ismailov authored
      
      Introduce a dynamic proposal deposit mechanism influenced by the total
      number of active proposals, with the option to set the deposit to none.
      
      The potential cost (e.g., balance hold) for proposal submission and
      storage is determined by the implementation of the `Consideration`
      trait. The footprint is defined as `proposal_count`, representing the
      total number of active proposals in the system, excluding the one
      currently being proposed. This cost may vary based on the proposal
      count. The pallet also offers various types to define a cost strategy
      based on the number of proposals.
      
      Two new calls are introduced:
      - kill(origin, proposal_hash): the cancellation of a proposal,
      accompanied by the burning of the associated cost/consideration ticket.
      - release_proposal_cost(origin, proposal_hash): the release of the cost
      for a non-active proposal.
      
      Additionally change: 
      - benchmarks have been upgraded to benchmarks::v2 for collective pallet;
      - `ensure_successful` function added to the `Consideration` under
      `runtime-benchmarks` feature.
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarGitHub Action <action@github.com>
    • Egor_P's avatar
      Add badges with the release info to the README.md (#5518) · db41fab9
      Egor_P authored
      
      This PR adds the badges to the readme to show the info about the current
      stable release version and the version and date of the upcoming stable
      release. The idea here to give a possibility for people from the outside
      to have an overview about the current and upcoming release, until we
      have a proper public release calendar.
      
      <img width="1280" alt="Screenshot 2024-08-29 at 14 47 57"
      src="https://github.com/user-attachments/assets/8faff023-c4b2-444b-95a3-ce6d106e2a7a">
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    • Liu-Cheng Xu's avatar
      Avoid updating the block gap when it's unchanged (#5540) · 9b28a545
      Liu-Cheng Xu authored
      
      There are basically three commits in this PR. Since all these commits
      essentially have no logical changes, I packed them into one PR. Review
      by per-commit is recommended.
      - The first commit avoids unnecessarily updating the block gap storage
      when the value remains unchanged, as discovered when I worked on
      https://github.com/paritytech/polkadot-sdk/issues/5406.
      - The second commit is purely about format string style changes but
      deletes ~10 lines of code, which slightly helps me look into this file
      :P
      - The third commit is added to avoid the unnecessary block gap update in
      `BlockchainDb`.
      
      ---------
      
      Co-authored-by: default avatarDavide Galassi <davxy@datawok.net>
    • bader y's avatar
      Add parachain related parameters to `chain-spec-builder` (#4889) · 89b41c57
      bader y authored
      
      When using with `polkadot-parachain`, you usually need to specify the
      `relay_chain` and `para_id` fields in the chain spec.
      
      With this PR it can be achieved by specifying newly added `--para-id`
      and `--relay-chain` command line args, e.g:
      ```
      chain-spec-builder create -r _runtime.wasm  --para-id 100 --relay-chain xxx default
      ```
      
      This was implemented by simple _json_ blobs merging.
      
      Additionally unit tests covering basic functionality were added.
      
      Also adds a fix for not overwriting the chain spec with the default
      config each time, swallowing not standard fields is also fixed.
      
      Fixes: #4873
      
      ---------
      
      Co-authored-by: default avatarSebastian Kunert <skunert49@gmail.com>
      Co-authored-by: default avatarMichal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
  5. Sep 03, 2024
  6. Sep 02, 2024
    • dharjeezy's avatar
      [FRAME] MQ processor should be transactional (#5198) · f6eeca91
      dharjeezy authored
      
      closes https://github.com/paritytech/polkadot-sdk/issues/2441
      
      Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
    • Clara van Staden's avatar
      Snowbridge free consensus updates (#5201) · c8015b2e
      Clara van Staden authored
      
      Allow free Snowbridge consensus updates, if the header interval is
      larger than the configured value (set to 32, so once a epoch).
      
      This PR also moves the Rococo Snowbridge pallet config into its own
      module.
      
      Original PR: https://github.com/Snowfork/polkadot-sdk/pull/159
      
      ---------
      
      Co-authored-by: default avatarFrancisco Aguirre <franciscoaguirreperez@gmail.com>
    • PG Herveou's avatar
      [pallet-revive] Use address20 for contract's address (#5548) · 38355073
      PG Herveou authored
      
      Co-authored-by: default avatarAlexander Theißen <alex.theissen@me.com>
      Co-authored-by: command-bot <>
    • Andrei Sandu's avatar
      Elastic scaling: introduce new candidate receipt primitive (#5322) · ad2ac0db
      Andrei Sandu authored
      
      closes https://github.com/paritytech/polkadot-sdk/issues/5044
      
      This PR switches the runtime to the new receipts format (vstaging
      primitives). I've implemented `From` to convert from new primitives to
      `v7` primitives and used them in the node runtime api client
      implementation. Until we implement the support in the node, it will
      continue e to use the v7 primitives but the runtime apis already use the
      new primitives.
      
      
      An expected downside of RFC103 is decoding V2 receipts shows garbage
      values if the input is V1:
      
      _![ima_9ce77de](https://github.com/user-attachments/assets/71d80e78-e238-4518-8cd1-548ae0d74b70)_
      
      TODO:
      - [x] fix tests
      - [x] A few more tests for the new primitives
      - [x] PRDoc
      
      ---------
      
      Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>
    • Alexander Theißen's avatar
      Update CODEOWNERS and review-bot for new contracts pallet (#5549) · 7d228d9b
      Alexander Theißen authored
      Created a new @paritytech/smart-contracts team that is now referenced in
      the review bot config and CODEOWNERS file. Also excluded the new pallet
      in the other review bot rules.
    • Branislav Kontur's avatar
      [bridges-v2] Permissionless lanes (#4949) · 22100999
      Branislav Kontur authored
      Relates to:
      https://github.com/paritytech/parity-bridges-common/issues/2451
      Closes: https://github.com/paritytech/parity-bridges-common/issues/2500
      
      ## Summary
      
      Now, the bridging pallet supports only static lanes, which means lanes
      that are hard-coded in the runtime files. This PR fixes that and adds
      support for dynamic, also known as permissionless, lanes. This means
      that allowed origins (relay chain, sibling parachains) can open and
      close bridges (through BridgeHubs) with another bridged (substrate-like)
      consensus using just `xcm::Transact` and `OriginKind::Xcm`.
      
      _This PR is based on the migrated code from the Bridges V2
      [branch](https://github.com/paritytech/polkadot-sdk/pull/4427) from the
      old `parity-bridges-common`
      [repo](https://github.com/paritytech/parity-bridges-common/tree/bridges-v2)._
      
      ## Explanation
      
      Please read
      [bridges/modules/xcm-bridge-hub/src/lib.rs](https://github.com/paritytech/polkadot-sdk/blob/149b0ac2
      
      /bridges/modules/xcm-bridge-hub/src/lib.rs#L17-L136)
      to understand how managing bridges works. The basic concepts around
      `BridgeId` and `LaneId` are also explained there.
      
      
      ## TODO
      
      - [x] search and fix for comment: `// TODO:(bridges-v2) - most of that
      stuff was introduced with free header execution:
      https://github.com/paritytech/polkadot-sdk/pull/4102` - more info in the
      comment
      [bellow](https://github.com/paritytech/polkadot-sdk/pull/4427#issuecomment-2126625043)
      - [x] TODO: there's only one impl of `EnsureOrigin<Success = Location>`
      
      ## TODO - not blocking review
      
      **benchmarking:**
      - [x] regenerate all relevant weights for BH/AH runtimes
      - [ ] regenerate default weights for bridging pallets e.g.
      `modules/messages/src/weights.rs`
      - [ ] add benchmarks for `xcm-bridge-hub` pallet
      https://github.com/paritytech/polkadot-sdk/issues/5550
      
      **testing:**
      - [ ] add xcm-emulator tests for Rococo/Penpal to Westend/Penpal with
      full opening channel and sending/receiving `xcm::Transact`
      
      **migrations:**
      - [x] add migrations for BridgeHubRococo/Westend
      https://github.com/paritytech/parity-bridges-common/issues/2794 (to be
      reusable for P/K bridge)
        - [x] check also storage migration, if needed for pallets
        - [ ] migration for XCM type (optional)
        - [x] migration for static lanes to the dynamic (reuse for fellows)
      
      **investigation:**
      - [ ] revisit
      https://github.com/paritytech/parity-bridges-common/issues/2380
      - [ ] check congestion around `LocalXcmChannelManager` and
      `OutboundLanesCongestedSignals` impls -
      https://github.com/paritytech/polkadot-sdk/issues/5551
        - to be reusable for polkadot-fellows
      - return `report_bridge_status` was remove, so we need to `XcmpQueue`
      alternative?
      
      ---------
      
      Signed-off-by: default avatarBranislav Kontur <bkontur@gmail.com>
      Co-authored-by: default avatarSvyatoslav Nikolsky <svyatonik@gmail.com>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarFrancisco Aguirre <franciscoaguirreperez@gmail.com>
    • dependabot[bot]'s avatar
      Bump toml from 0.8.8 to 0.8.12 (#5542) · 7c46b28d
      dependabot[bot] authored
      
      Bumps [toml](https://github.com/toml-rs/toml) from 0.8.8 to 0.8.12.
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/toml-rs/toml/commit/3a777b326b8c91f48c79ea6fc21aabc695f7dc3d"><code>3a777b3</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/79799052128f3ea64316d3acc4c54e63fc6f285c"><code>7979905</code></a>
      docs: Update changelog</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/487768d8d7c41b12eb7547cab4e964b3dede002b"><code>487768d</code></a>
      Merge pull request <a
      href="https://redirect.github.com/toml-rs/toml/issues/703">#703</a> from
      epage/overflow</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/6987f77649aacc7a6cc2b9cff0d1f22c260f9643"><code>6987f77</code></a>
      chore(ci): Run with default opt-level</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/21f545d05ca57560485f24cbf78aaf8478a52c5d"><code>21f545d</code></a>
      fix(parser): Don't stackoverflow on opt-level=0</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/af1f97dbf5a40740e26eb4f705a0bd744744807b"><code>af1f97d</code></a>
      refactor(parser): Pull recursion limit out to variable</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/eb865434a251b30ca1a9699b8762a1f5f4670c1c"><code>eb86543</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/246b2920e28919e02a94c0b3eab8e55c7742f5d0"><code>246b292</code></a>
      docs: Update changelog</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/d41c62ca5d09c50064905f7da04fc103d78ff566"><code>d41c62c</code></a>
      Merge pull request <a
      href="https://redirect.github.com/toml-rs/toml/issues/701">#701</a> from
      epage/cleanup</li>
      <li><a
      href="https://github.com/toml-rs/toml/commit/31457b3aedcddae92549b5fe19c1938d29a73a2d"><code>31457b3</code></a>
      refactor(error): Clean up highlight code</li>
      <li>Additional commits viewable in <a
      href="https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.12">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=toml&package-manager=cargo&previous-version=0.8.8&new-version=0.8.12)](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] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
    • dependabot[bot]'s avatar
      Bump clap_complete from 4.4.0 to 4.5.13 (#5541) · da11c7e9
      dependabot[bot] authored
      
      Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.4.0 to
      4.5.13.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/clap-rs/clap/releases">clap_complete's
      releases</a>.</em></p>
      <blockquote>
      <h2>v4.5.13</h2>
      <h2>[4.5.13] - 2024-07-31</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(derive)</em> Improve error message when
      <code>#[flatten]</code>ing an optional <code>#[group(skip)]</code></li>
      <li><em>(help)</em> Properly wrap long subcommand descriptions in
      help</li>
      </ul>
      <h2>v4.5.12</h2>
      <h2>[4.5.12] - 2024-07-31</h2>
      <h2>v4.5.10</h2>
      <h2>[4.5.10] - 2024-07-23</h2>
      <h2>v4.5.9</h2>
      <h2>[4.5.9] - 2024-07-09</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(error)</em> When defining a custom help flag, be sure to
      suggest it like we do the built-in one</li>
      </ul>
      <h2>v4.5.8</h2>
      <h2>[4.5.8] - 2024-06-28</h2>
      <h3>Fixes</h3>
      <ul>
      <li>Reduce extra flushes</li>
      </ul>
      <h2>v4.5.7</h2>
      <h2>[4.5.7] - 2024-06-10</h2>
      <h3>Fixes</h3>
      <ul>
      <li>Clean up error message when too few arguments for
      <code>num_args</code></li>
      </ul>
      <h2>v4.5.6</h2>
      <h2>[4.5.6] - 2024-06-06</h2>
      <h2>v4.5.4</h2>
      <h2>[4.5.4] - 2024-03-25</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code>
      attributes again</li>
      </ul>
      <h2>v4.5.3</h2>
      <h2>[4.5.3] - 2024-03-15</h2>
      <h3>Internal</h3>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Changelog</summary>
      <p><em>Sourced from <a
      href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap_complete's
      changelog</a>.</em></p>
      <blockquote>
      <h2>[4.5.13] - 2024-07-31</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(derive)</em> Improve error message when
      <code>#[flatten]</code>ing an optional <code>#[group(skip)]</code></li>
      <li><em>(help)</em> Properly wrap long subcommand descriptions in
      help</li>
      </ul>
      <h2>[4.5.12] - 2024-07-31</h2>
      <h2>[4.5.11] - 2024-07-25</h2>
      <h2>[4.5.10] - 2024-07-23</h2>
      <h2>[4.5.9] - 2024-07-09</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(error)</em> When defining a custom help flag, be sure to
      suggest it like we do the built-in one</li>
      </ul>
      <h2>[4.5.8] - 2024-06-28</h2>
      <h3>Fixes</h3>
      <ul>
      <li>Reduce extra flushes</li>
      </ul>
      <h2>[4.5.7] - 2024-06-10</h2>
      <h3>Fixes</h3>
      <ul>
      <li>Clean up error message when too few arguments for
      <code>num_args</code></li>
      </ul>
      <h2>[4.5.6] - 2024-06-06</h2>
      <h2>[4.5.5] - 2024-06-06</h2>
      <h3>Fixes</h3>
      <ul>
      <li>Allow <code>exclusive</code> to override
      <code>required_unless_present</code>,
      <code>required_unless_present_any</code>,
      <code>required_unless_present_all</code></li>
      </ul>
      <h2>[4.5.4] - 2024-03-25</h2>
      <h3>Fixes</h3>
      <ul>
      <li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code>
      attributes again</li>
      </ul>
      <h2>[4.5.3] - 2024-03-15</h2>
      <h3>Internal</h3>
      <ul>
      <li><em>(derive)</em> Update <code>heck</code></li>
      </ul>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/clap-rs/clap/commit/d222ae4cb62d08b4d8f635aa80ddb3c880b82e6e"><code>d222ae4</code></a>
      chore: Release</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/a8abcb40c5f2628bfa671adf61a090a1bbfbcfa2"><code>a8abcb4</code></a>
      docs: Update changelog</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/2690e1bdb19df3e4dde7a50fc33b14a3bf6f0b8a"><code>2690e1b</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5621">#5621</a>
      from shannmu/dynamic_valuehint</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/7fd7b3e40bd835070253432accf4076bb020beda"><code>7fd7b3e</code></a>
      feat(clap_complete): Support to complete custom value of argument</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/fc6aaca52b42d0e4ae13805e7480cbb05f63a0ca"><code>fc6aaca</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5638">#5638</a>
      from epage/cargo</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/631e54bc715ed2fa53d8457dc273a25b92d3b354"><code>631e54b</code></a>
      docs(cookbook): Style cargo plugin</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/6fb49d08bb2acfbc2f2aa5f717ccd4a4018ca872"><code>6fb49d0</code></a>
      Merge pull request <a
      href="https://redirect.github.com/clap-rs/clap/issues/5636">#5636</a>
      from gibfahn/styles_const</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/6f215eee98c4f73099b0ede2ac62ba019ada24ce"><code>6f215ee</code></a>
      refactor(styles): make styles example use a const</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/bbb2e6fdde1c724e39c2f2616332310252c12ab8"><code>bbb2e6f</code></a>
      test: Add test case for completing custom value of argument</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/999071c46dca0367d93f66ecd97b2e3507963284"><code>999071c</code></a>
      fix: Change <code>visible</code> to <code>hidden</code></li>
      <li>Additional commits viewable in <a
      href="https://github.com/clap-rs/clap/compare/clap_complete-v4.4.0...clap_complete-v4.5.13">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap_complete&package-manager=cargo&previous-version=4.4.0&new-version=4.5.13)](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] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>