Skip to content
  1. Jul 26, 2024
    • Sebastian Kunert's avatar
      BEEFY: Disarm finality notifications to prevent pinning (#5129) · 5dc0670a
      Sebastian Kunert authored
      
      
      This should prevent excessive pinning of blocks while we are waiting for
      the block ancestry to be downloaded after gap sync.
      We spawn a new task that gets polled to transform finality notifications
      into an unpinned counterpart. Before this PR, finality notifications
      were kept in the notification channel. This led to pinning cache
      overflows.
      
      fixes #4389
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      5dc0670a
    • Alin Dima's avatar
      runtime: make the candidate relay parent progression check more strict (#5113) · fc07bdad
      Alin Dima authored
      Previously, we were checking if the relay parent of a new candidate does
      not move backwards from the latest included on-chain candidate. This was
      fine prior to elastic scaling. We now need to also check that the relay
      parent progresses from the latest pending availability candidate, as
      well as check the progression within the candidate chain in the inherent
      data.
      
      Prospective-parachains is already doing this check but we should also
      add it in the runtime
      fc07bdad
    • Joseph Zhao's avatar
      Backport xcmpayment-fee tests from polkadot-fellows repo (#5100) · 7eb946c7
      Joseph Zhao authored
      # Description
      This is continue of the work to backport
      `emulated-integration-tests-common`, if you want to understand the full
      context start with reading
      [#4930](https://github.com/paritytech/polkadot-sdk/pull/4930)
      7eb946c7
    • PG Herveou's avatar
      Umbrella crate: Add polkadot-sdk-frame/?runtime (#5151) · 20063214
      PG Herveou authored
      This should make it possible to use the umbrella crate alone for
      templates/*/runtime crate of the repo
      20063214
    • Jun Jiang's avatar
      Upgrade time crate, fix compilation on Rust 1.80 (#5149) · 326342fe
      Jun Jiang authored
      This will fix the compilation on the latest Rust 1.80.0
      
      PS. There are tons of new warnings about feature gates and annotations,
      it would be nice you guys to investigate them
      326342fe
    • Oliver Tale-Yazdi's avatar
      CI: Prevent breaking backports (#4812) · 0d7d2177
      Oliver Tale-Yazdi authored
      
      
      - Prevent `major` changes to be merged into a `stable` branch.
      - Place a comment on backport MRs to provide context of what it means.
      
      Comment looks like this:
      
      ![Screenshot 2024-07-24 at 17 36
      35](https://github.com/user-attachments/assets/6393549b-7b15-41e5-a804-8581c625ceff)
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      0d7d2177
    • Shawn Tabrizi's avatar
      Add `from_mel` for `Footprint` with a Test (#5132) · 90b55337
      Shawn Tabrizi authored
      
      
      We may want to construct a `Footprint` by taking the `max_encoded_len`
      of a type, without having to construct the type.
      
      This impl allows easy access to that.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: command-bot <>
      90b55337
    • dependabot[bot]'s avatar
      Bump walkdir from 2.4.0 to 2.5.0 (#5135) · 6efa1ee8
      dependabot[bot] authored
      
      
      Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.4.0 to
      2.5.0.
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/BurntSushi/walkdir/commit/4f26be4d450910916ea11533b2efc52b9a6483bc"><code>4f26be4</code></a>
      2.5.0</li>
      <li><a
      href="https://github.com/BurntSushi/walkdir/commit/3be5734033b20c2476e6ca9154c3bb0e0ed840b2"><code>3be5734</code></a>
      api: implement <code>FusedIterator</code></li>
      <li><a
      href="https://github.com/BurntSushi/walkdir/commit/b0d16b759a59836756f8d0ec637f7f8d121a48cd"><code>b0d16b7</code></a>
      ci: fix it</li>
      <li>See full diff in <a
      href="https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=walkdir&package-manager=cargo&previous-version=2.4.0&new-version=2.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      6efa1ee8
  2. Jul 25, 2024
    • Jun Jiang's avatar
      enhancing solochain template (#5143) · 18db5021
      Jun Jiang authored
      
      
      Since we have a minimal template, I propose enhancing the solochain
      template, which would be easier for startup projects.
      
      - Sync separates `api`, `configs`, and `benchmarks` from the parachain
      template
      - introducing `frame-metadata-hash-extension`
      - Some style update
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      18db5021
    • Alexandru Gheorghe's avatar
      authorithy-discovery: Make changing of peer-id while active a bit more robust (#3786) · 6720279f
      Alexandru Gheorghe authored
      
      
      In the case when nodes don't persist their node-key or they want to
      generate a new one while being in the active set, things go wrong
      because both the old addresses and the new ones will still be present in
      DHT, so because of the distributed nature of the DHT both will survive
      in the network untill the old ones expires which is 36 hours. Nodes in
      the network will randomly resolve the authorithy-id to the old address
      or the new one.
      
      More details in: https://github.com/paritytech/polkadot-sdk/issues/3673
      
      This PR proposes we mitigate this problem, by:
      
      1. Let the query for a DHT key retrieve more than one results(4), that
      is also bounded by the replication factor which is 20, currently we
      interrupt the querry on the first result.
      ~2. Modify the authority-discovery service to keep all the discovered
      addresses around for 24h since they last seen an address.~
      ~3. Plumb through other subsystems where the assumption was that an
      authorithy-id will resolve only to one PeerId. Currently, the
      authorithy-discovery keeps just the last record it received from DHT and
      queries the DHT every 10 minutes. But they could always receive only the
      old address, only the new address or a flip-flop between them depending
      on what node wins the race to provide the record~
      
      2. Extend the `SignedAuthorityRecord` with a signed creation_time.
      3. Modify authority discovery to keep track of nodes that sent us old
      record and once we are made aware of a new record update the nodes we
      know about with the new record.
      4. Update gossip-support to try resolve authorities more often than
      every session.
      
      ~This would gives us a lot more chances for the nodes in the networks to
      also discover not only the old address of the node but also the new one
      and should improve the time it takes for a node to be properly connected
      in the network. The behaviour won't be deterministic because there is no
      guarantee the all nodes will see the new record at least once, since
      they could query only nodes that have the old one.~
      
      
      ## TODO
      - [x] Add unittests for the new paths.
      - [x] Make sure the implementation is backwards compatible
      - [x] Evaluate if there are any bad consequence of letting the query
      continue rather than finish it at first record found.
      - [x] Bake in versi the new changes.
      
      ---------
      
      Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>
      Co-authored-by: default avatarDmitry Markin <[email protected]>
      Co-authored-by: default avatarAlexandru Vasile <[email protected]>
      6720279f
    • Oliver Tale-Yazdi's avatar
      Dependabot: Group all CI dependencies (#5145) · 3b9c9098
      Oliver Tale-Yazdi authored
      
      
      Dependabot is going a bit crazy lately and spamming up a lot of merge
      requests. Going to group all the CI deps into one and reducing the
      frequency to weekly.
      Maybe we can do some more aggressive batching for the Rust deps as well.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      3b9c9098
    • Alexander Popiak's avatar
      Getting Started Script (#4879) · 8c61dbad
      Alexander Popiak authored
      
      
      closes https://github.com/paritytech/polkadot-sdk/pull/4879
      
      Provide a fast and easy way for people to get started developing with
      Polkadot SDK.
      
      Sets up a development environment (including Rust) and clones and builds
      the minimal template.
      
      Polkadot address: 16xyKzix34WZ4um8C3xzMdjKhrAQe9DjCf4KxuHsmTjdcEd
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      8c61dbad
    • Dónal Murray's avatar
      Add people polkadot genesis chainspec (#5124) · d6f7f495
      Dónal Murray authored
      Published as part of the fellowship
      [v1.2.6](https://github.com/polkadot-fellows/runtimes/releases/tag/v1.2.6)
      release and originally intentionally left out of the repo as the
      hardcoded system chains will soon be removed from the
      `polkadot-parachain`.
      
      After a conversation in
      https://github.com/paritytech/polkadot-sdk/issues/5112 it was pointed
      out by @josepot that there should be a single authoritative source for
      these chainspecs. Since this is already the place for these it will
      serve until something more fitting can be worked out.
      d6f7f495
    • Andrei Sandu's avatar
      CandidateDescriptor: disable collator signature and collator id usage (#4665) · 48afbe35
      Andrei Sandu authored
      
      
      Collator id and collator signature do not serve any useful purpose.
      Removing the signature check from runtime but keeping the checks in the
      node until the runtime is upgraded.
      
      TODO: 
      - [x] PRDoc
      - [x] Add node feature for core index commitment enablement
      
      ---------
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      48afbe35
    • Branislav Kontur's avatar
      Bridges improved tests and nits (#5128) · de6733ba
      Branislav Kontur authored
      
      
      This PR adds `exporter_is_compatible_with_pallet_xcm_bridge_hub_router`,
      which ensures that our `pallet_xcm_bridge_hub` and
      `pallet_xcm_bridge_hub_router` are compatible when handling
      `ExportMessage`. Other changes are just small nits and cosmetics which
      makes others stuff easier.
      
      ---------
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      de6733ba
  3. Jul 24, 2024
    • btwiuse's avatar
      Fix misleading comment about RewardHandler in epm config (#3095) · 240b374e
      btwiuse authored
      
      
      In pallet_election_provider_multi_phase::Config, the effect of
      
             type RewardHandler = ()
      
      is to mint rewards from the void, not "nothing to do upon rewards"
      
      Co-authored-by: default avatarnavigaid <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      240b374e
    • Przemek Rzad's avatar
      Introduce a workflow updating the wishlist leaderboards (#5085) · 60d21e9c
      Przemek Rzad authored
      - Closes https://github.com/paritytech/eng-automation/issues/11
      
      The workflow periodically updates the leaderboards of the wishlist
      issues: https://github.com/paritytech/polkadot-sdk/issues/3900 and
      https://github.com/paritytech/polkadot-sdk/issues/3901
      
      The code is adopted from
      [here](https://github.com/kianenigma/wishlist-tracker), with slight
      modifications.
      
      Previously, the score could be increased by the same person adding
      different reactions. Also, some wishes have a score of 0 - even thought
      there is a wish for them, because the author was not counted.
      
      Now, the score is a unique count of upvoters of the desired issue,
      upvoters of the wish comment, and the author of the wish comment.
      
      I changed the format to include the `Last updated:` at the bottom - it
      will be automatically updated.
      60d21e9c
    • Shree Vatsa N's avatar
      membership: Restructure pallet into separate files (#4536) · f5e7eaf6
      Shree Vatsa N authored
      
      
      - What does this PR do?
      This PR separates `membership` pallet into separate files for `lib`,
      `mock` & `tests`.
         
      - Why are these changes needed?
      Currently `membership` pallet consists of `lib`, `mock` & `tests`
      written into a single file.
      Refactor it into separate files which makes it inline to other pallets
      and improves readability.
      
      - How were these changes implemented and what do they affect?
         The PR will not have any affect.
      
      Signed-off-by: default avatarShreevatsa N <[email protected]>
      
      ---------
      
      Signed-off-by: default avatarShreevatsa N <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      f5e7eaf6
    • Davide Galassi's avatar
      Fix after ring-proof api change (#5126) · f4fccd60
      Davide Galassi authored
      Ring-proof backend API changed to take some params by ref.
      Bandersnatch-VRF was not updated
      
      (Fixed by: https://github.com/w3f/ring-vrf/pull/92 and
      https://github.com/w3f/ring-vrf/pull/93)
      f4fccd60
    • dependabot[bot]'s avatar
      Bump paritytech/review-bot from 2.4.0 to 2.5.0 (#5057) · a164639f
      dependabot[bot] authored
      
      
      Bumps [paritytech/review-bot](https://github.com/paritytech/review-bot)
      from 2.4.0 to 2.5.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/paritytech/review-bot/releases">paritytech/review-bot's
      releases</a>.</em></p>
      <blockquote>
      <h2>v2.5.0</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Upgraded dependencies of actions by <a
      href="https://github.com/Bullrich"><code>@​Bullrich</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/120">paritytech/review-bot#120</a></li>
      <li>Bump ws from 8.16.0 to 8.17.1 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/124">paritytech/review-bot#124</a></li>
      <li>Bump braces from 3.0.2 to 3.0.3 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/125">paritytech/review-bot#125</a></li>
      <li>Yarn &amp; Node.js upgrade by <a
      href="https://github.com/mutantcornholio"><code>@​mutantcornholio</code></a>
      in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/126">paritytech/review-bot#126</a></li>
      <li>v2.5.0 by <a
      href="https://github.com/mutantcornholio"><code>@​mutantcornholio</code></a>
      in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/127">paritytech/review-bot#127</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/paritytech/review-bot/compare/v2.4.1...v2.5.0">https://github.com/paritytech/review-bot/compare/v2.4.1...v2.5.0</a></p>
      <h2>v2.4.1</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Bump undici from 5.26.3 to 5.28.3 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/114">paritytech/review-bot#114</a></li>
      <li>Add terminating dots in sentences. by <a
      href="https://github.com/rzadp"><code>@​rzadp</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/116">paritytech/review-bot#116</a></li>
      <li>Bump undici from 5.28.3 to 5.28.4 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/117">paritytech/review-bot#117</a></li>
      <li>Fix IdentityOf tuple introduced in v1.2.0 by <a
      href="https://github.com/Bullrich"><code>@​Bullrich</code></a> in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/119">paritytech/review-bot#119</a></li>
      </ul>
      <h2>New Contributors</h2>
      <ul>
      <li><a href="https://github.com/rzadp"><code>@​rzadp</code></a> made
      their first contribution in <a
      href="https://redirect.github.com/paritytech/review-bot/pull/116">paritytech/review-bot#116</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/paritytech/review-bot/compare/v2.4.0...v2.4.1">https://github.com/paritytech/review-bot/compare/v2.4.0...v2.4.1</a></p>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/04d633ea6b1edb748974d192e55b168b870150e2"><code>04d633e</code></a>
      v2.5.0 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/127">#127</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/6132aa29f3544fc49319d37d612354e8c2e759b3"><code>6132aa2</code></a>
      Yarn &amp; Node.js upgrade (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/126">#126</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/8c7a2842e0074af1af5e64e4033be3d896f2f444"><code>8c7a284</code></a>
      Bump braces from 3.0.2 to 3.0.3 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/125">#125</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/625303e5cf93a079e0e3c1f73e7b3f6eeab24648"><code>625303e</code></a>
      Bump ws from 8.16.0 to 8.17.1 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/124">#124</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/8a67d67e39f16cd92bae100a02fe7f0b230a6e31"><code>8a67d67</code></a>
      Upgraded dependencies of actions (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/120">#120</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/29e944c422279d1d648428375fbcb2d1d48e2c10"><code>29e944c</code></a>
      Fix IdentityOf tuple introduced in v1.2.0 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/119">#119</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/6134083c1cb95c0d5e617230848051765f8e8c40"><code>6134083</code></a>
      Bump undici from 5.28.3 to 5.28.4 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/117">#117</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/876731de3f8c4ecebf1969baddd99a9fa84dd6ee"><code>876731d</code></a>
      Add terminating dots in sentences. (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/116">#116</a>)</li>
      <li><a
      href="https://github.com/paritytech/review-bot/commit/80d543ce060632fbcd2fa05a8148d23e1ace62b0"><code>80d543c</code></a>
      Bump undici from 5.26.3 to 5.28.3 (<a
      href="https://redirect.github.com/paritytech/review-bot/issues/114">#114</a>)</li>
      <li>See full diff in <a
      href="https://github.com/paritytech/review-bot/compare/v2.4.0...v2.5.0">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=paritytech/review-bot&package-manager=github_actions&previous-version=2.4.0&new-version=2.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      a164639f
    • dependabot[bot]'s avatar
      Bump docker/login-action from 3.0.0 to 3.3.0 (#5109) · 4c0918c9
      dependabot[bot] authored
      
      
      Bumps [docker/login-action](https://github.com/docker/login-action) from
      3.0.0 to 3.3.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/docker/login-action/releases">docker/login-action's
      releases</a>.</em></p>
      <blockquote>
      <h2>v3.3.0</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.24.0 to 0.35.0 in
      <a
      href="https://redirect.github.com/docker/login-action/pull/754">docker/login-action#754</a></li>
      <li>Bump https-proxy-agent from 7.0.4 to 7.0.5 in <a
      href="https://redirect.github.com/docker/login-action/pull/741">docker/login-action#741</a></li>
      <li>Bump braces from 3.0.2 to 3.0.3 in <a
      href="https://redirect.github.com/docker/login-action/pull/730">docker/login-action#730</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v3.2.0...v3.3.0">https://github.com/docker/login-action/compare/v3.2.0...v3.3.0</a></p>
      <h2>v3.2.0</h2>
      <ul>
      <li>Improve missing username/password by <a
      href="https://github.com/Frankkkkk"><code>@​Frankkkkk</code></a> in <a
      href="https://redirect.github.com/docker/login-action/pull/706">docker/login-action#706</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.18.0 to 0.24.0 in
      <a
      href="https://redirect.github.com/docker/login-action/pull/715">docker/login-action#715</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/721">docker/login-action#721</a></li>
      <li>Bump aws-sdk-dependencies to 3.583.0 in <a
      href="https://redirect.github.com/docker/login-action/pull/720">docker/login-action#720</a></li>
      <li>Bump undici from 5.28.3 to 5.28.4 in <a
      href="https://redirect.github.com/docker/login-action/pull/694">docker/login-action#694</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v3.1.0...v3.2.0">https://github.com/docker/login-action/compare/v3.1.0...v3.2.0</a></p>
      <h2>v3.1.0</h2>
      <ul>
      <li>Bump <code>@​babel/traverse</code> from 7.17.3 to 7.23.2 in <a
      href="https://redirect.github.com/docker/login-action/pull/618">docker/login-action#618</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.12.0 to 0.18.0 in
      <a
      href="https://redirect.github.com/docker/login-action/pull/616">docker/login-action#616</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/636">docker/login-action#636</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/682">docker/login-action#682</a></li>
      <li>Bump aws-sdk dependencies to 3.529.1 in <a
      href="https://redirect.github.com/docker/login-action/pull/624">docker/login-action#624</a>
      <a
      href="https://redirect.github.com/docker/login-action/pull/685">docker/login-action#685</a></li>
      <li>Bump http-proxy-agent to 7.0.2 in <a
      href="https://redirect.github.com/docker/login-action/pull/676">docker/login-action#676</a></li>
      <li>Bump https-proxy-agent to 7.0.4 in <a
      href="https://redirect.github.com/docker/login-action/pull/676">docker/login-action#676</a></li>
      <li>Bump undici from 5.26.5 to 5.28.3 in <a
      href="https://redirect.github.com/docker/login-action/pull/677">docker/login-action#677</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/login-action/compare/v3.0.0...v3.1.0">https://github.com/docker/login-action/compare/v3.0.0...v3.1.0</a></p>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/docker/login-action/commit/9780b0c442fbb1117ed29e0efdff1e18412f7567"><code>9780b0c</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/741">#741</a>
      from docker/dependabot/npm_and_yarn/proxy-agent-depen...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/2fa130caf4961ac37a295018c0f97fa9da3e1f52"><code>2fa130c</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/login-action/commit/5e87b2aca7d49b75a206090eca3b79f40316332b"><code>5e87b2a</code></a>
      build(deps): bump https-proxy-agent</li>
      <li><a
      href="https://github.com/docker/login-action/commit/e0394952cebdc98290d4844a810ce80c18a05e48"><code>e039495</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/754">#754</a>
      from docker/dependabot/npm_and_yarn/docker/actions-to...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/9af18aa7d8432fc31be2d1180f4bd68f162efb1c"><code>9af18aa</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/login-action/commit/668190adc5b80f56970e2513a4c8783c3b738c80"><code>668190a</code></a>
      switch to Docker exec</li>
      <li><a
      href="https://github.com/docker/login-action/commit/be5150d9fe8f63dc1e2f68759894be69bac660c3"><code>be5150d</code></a>
      build(deps): bump <code>@​docker/actions-toolkit</code> from 0.24.0 to
      0.35.0</li>
      <li><a
      href="https://github.com/docker/login-action/commit/e80ebcad716081acf5e6f0df3180e53a003ee605"><code>e80ebca</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/730">#730</a>
      from docker/dependabot/npm_and_yarn/braces-3.0.3</li>
      <li><a
      href="https://github.com/docker/login-action/commit/75ee3eaf5349e1d9e6aae6b1969b8a30368dd421"><code>75ee3ea</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/login-action/issues/733">#733</a>
      from docker/dependabot/github_actions/docker/bake-act...</li>
      <li><a
      href="https://github.com/docker/login-action/commit/793c19c8fc1a0a6e836dc7ff6d64f331d131a3fb"><code>793c19c</code></a>
      build(deps): bump docker/bake-action from 4 to 5</li>
      <li>Additional commits viewable in <a
      href="https://github.com/docker/login-action/compare/343f7c4344506bcbf9b4de18042ae17996df046d...9780b0c442fbb1117ed29e0efdff1e18412f7567">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/login-action&package-manager=github_actions&previous-version=3.0.0&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      4c0918c9
    • dependabot[bot]'s avatar
      Bump docker/build-push-action from 5.1.0 to 6.5.0 (#5108) · 2c175a9f
      dependabot[bot] authored
      
      
      Bumps
      [docker/build-push-action](https://github.com/docker/build-push-action)
      from 5.1.0 to 6.5.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/docker/build-push-action/releases">docker/build-push-action's
      releases</a>.</em></p>
      <blockquote>
      <h2>v6.5.0</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.33.0 to 0.35.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1186">docker/build-push-action#1186</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1191">docker/build-push-action#1191</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.4.1...v6.5.0">https://github.com/docker/build-push-action/compare/v6.4.1...v6.5.0</a></p>
      <h2>v6.4.1</h2>
      <ul>
      <li>revert &quot;Set <code>repository</code> and <code>ghtoken</code>
      attributes for <a
      href="https://docs.docker.com/build/cache/backends/gha/#avoid-github-actions-cache-api-throttling">GitHub
      Actions cache backend</a>&quot; by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1183">docker/build-push-action#1183</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.4.0...v6.4.1">https://github.com/docker/build-push-action/compare/v6.4.0...v6.4.1</a></p>
      <h2>v6.4.0</h2>
      <ul>
      <li>Set <code>repository</code> and <code>ghtoken</code> attributes for
      <a
      href="https://docs.docker.com/build/cache/backends/gha/#avoid-github-actions-cache-api-throttling">GitHub
      Actions cache backend</a> by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1133">docker/build-push-action#1133</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.31.0 to 0.33.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1179">docker/build-push-action#1179</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.0">https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.0</a></p>
      <h2>v6.3.0</h2>
      <ul>
      <li><code>DOCKER_BUILD_RECORD_UPLOAD</code> environment variable to
      enable/disable build record upload by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1172">docker/build-push-action#1172</a></li>
      <li><code>DOCKER_BUILD_NO_SUMMARY</code> has been deprecated. Set
      <code>DOCKER_BUILD_SUMMARY</code> to <code>false</code> instead by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1170">docker/build-push-action#1170</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1173">docker/build-push-action#1173</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.28.0 to 0.31.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1171">docker/build-push-action#1171</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1159">docker/build-push-action#1159</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1169">docker/build-push-action#1169</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.2.0...v6.3.0">https://github.com/docker/build-push-action/compare/v6.2.0...v6.3.0</a></p>
      <h2>v6.2.0</h2>
      <ul>
      <li>Use default retention days for build export artifact by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1153">docker/build-push-action#1153</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.27.0 to 0.28.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1158">docker/build-push-action#1158</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.1.0...v6.2.0">https://github.com/docker/build-push-action/compare/v6.1.0...v6.2.0</a></p>
      <h2>v6.1.0</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.26.2 to 0.27.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1149">docker/build-push-action#1149</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.0.2...v6.1.0">https://github.com/docker/build-push-action/compare/v6.0.2...v6.1.0</a></p>
      <h2>v6.0.2</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.26.1 to 0.26.2 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1147">docker/build-push-action#1147</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.0.1...v6.0.2">https://github.com/docker/build-push-action/compare/v6.0.1...v6.0.2</a></p>
      <h2>v6.0.1</h2>
      <ul>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.26.0 to 0.26.1 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1142">docker/build-push-action#1142</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/docker/build-push-action/compare/v6.0.0...v6.0.1">https://github.com/docker/build-push-action/compare/v6.0.0...v6.0.1</a></p>
      <h2>v6.0.0</h2>
      <ul>
      <li>Export build record and generate <a
      href="https://docs.docker.com/build/ci/github-actions/build-summary/">build
      summary</a> by <a
      href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1120">docker/build-push-action#1120</a></li>
      <li>Bump <code>@​docker/actions-toolkit</code> from 0.24.0 to 0.26.0 in
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1132">docker/build-push-action#1132</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1136">docker/build-push-action#1136</a>
      <a
      href="https://redirect.github.com/docker/build-push-action/pull/1138">docker/build-push-action#1138</a></li>
      <li>Bump braces from 3.0.2 to 3.0.3 in <a
      href="https://redirect.github.com/docker/build-push-action/pull/1137">docker/build-push-action#1137</a></li>
      </ul>
      <blockquote>
      <p>[!NOTE]</p>
      </blockquote>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/docker/build-push-action/commit/5176d81f87c23d6fc96624dfdbcd9f3830bbe445"><code>5176d81</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/1191">#1191</a>
      from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/ec10ae8f9620b3ff186577a79d805aba55e6f189"><code>ec10ae8</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/597e8fc4142a1a043ae022afc9184006fc25d448"><code>597e8fc</code></a>
      chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.34.0 to
      0.35.0</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/e050dfa622d93dfcc095192a984db567cb14f0f0"><code>e050dfa</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/1186">#1186</a>
      from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/d1fcdb6ee033b0415f4dc6ce5c6ea4475008f6e7"><code>d1fcdb6</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/a6067b9a1aaf9ff2710b9ddae4948955d83cd3dd"><code>a6067b9</code></a>
      chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.33.0 to
      0.34.0</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/1ca370b3a9802c92e886402e0dd88098a2533b12"><code>1ca370b</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/1183">#1183</a>
      from crazy-max/revert-gha-cache-to</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/2c95ebed5c303261a63c148b68f4ce3023814acc"><code>2c95ebe</code></a>
      chore: update generated content</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/d189d0ef33a3269ad4a3c50511f63fb7b6d63809"><code>d189d0e</code></a>
      Revert &quot;set repository and ghtoken attributes for gha cache
      type&quot;</li>
      <li><a
      href="https://github.com/docker/build-push-action/commit/a254f8ca60a858f3136a2f1f23a60969f2c402dd"><code>a254f8c</code></a>
      Merge pull request <a
      href="https://redirect.github.com/docker/build-push-action/issues/1179">#1179</a>
      from docker/dependabot/npm_and_yarn/docker/actions-t...</li>
      <li>Additional commits viewable in <a
      href="https://github.com/docker/build-push-action/compare/4a13e500e55cf31b7a5d59a38ab2040ab0f42f56...5176d81f87c23d6fc96624dfdbcd9f3830bbe445">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=5.1.0&new-version=6.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      2c175a9f
    • dependabot[bot]'s avatar
      Bump peter-evans/create-pull-request from 5.0.0 to 6.1.0 (#5093) · b5fdfe8f
      dependabot[bot] authored
      Bumps
      [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
      from 5.0.0 to 6.1.0.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
      releases</a>.</em></p>
      <blockquote>
      <h2>Create Pull Request v6.1.0</h2>
      <p> Adds <code>pull-request-branch</code> as an action output.</p>
      <h2>What's Changed</h2>
      <ul>
      <li>build(deps): bump undici from 6.14.1 to 6.15.0 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2873">peter-evans/create-pull-request#2873</a></li>
      <li>Update distribution by <a
      href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2878">peter-evans/create-pull-request#2878</a></li>
      <li>build(deps-dev): bump <code>@​types/node</code> from 18.19.31 to
      18.19.32 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2884">peter-evans/create-pull-request#2884</a></li>
      <li>build(deps-dev): bump <code>@​types/node</code> from 18.19.32 to
      18.19.33 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2890">peter-evans/create-pull-request#2890</a></li>
      <li>build(deps-dev): bump ts-jest from 29.1.2 to 29.1.3 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2892">peter-evans/create-pull-request#2892</a></li>
      <li>build(deps): bump undici from 6.15.0 to 6.18.0 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2891">peter-evans/create-pull-request#2891</a></li>
      <li>Update distribution by <a
      href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2907">peter-evans/create-pull-request#2907</a></li>
      <li>build(deps): bump undici from 6.18.0 to 6.18.1 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2913">peter-evans/create-pull-request#2913</a></li>
      <li>build(deps-dev): bump ts-jest from 29.1.3 to 29.1.4 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2914">peter-evans/create-pull-request#2914</a></li>
      <li>Update distribution by <a
      href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2921">peter-evans/create-pull-request#2921</a></li>
      <li>build(deps): bump undici from 6.18.1 to 6.18.2 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2934">peter-evans/create-pull-request#2934</a></li>
      <li>build(deps-dev): bump prettier from 3.2.5 to 3.3.0 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2936">peter-evans/create-pull-request#2936</a></li>
      <li>build(deps-dev): bump <code>@​types/node</code> from 18.19.33 to
      18.19.34 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2935">peter-evans/create-pull-request#2935</a></li>
      <li>Update distribution by <a
      href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2947">peter-evans/create-pull-request#2947</a></li>
      <li>build(deps-dev): bump prettier from 3.3.0 to 3.3.2 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2959">peter-evans/create-pull-request#2959</a></li>
      <li>build(deps-dev): bump braces from 3.0.2 to 3.0.3 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2962">peter-evans/create-pull-request#2962</a></li>
      <li>build(deps-dev): bump ws from 8.11.0 to 8.17.1 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2970">peter-evans/create-pull-request#2970</a></li>
      <li>build(deps-dev): bump ts-jest from 29.1.4 to 29.1.5 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2975">peter-evans/create-pull-request#2975</a></li>
      <li>build(deps-dev): bump <code>@​types/node</code> from 18.19.34 to
      18.19.36 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2976">peter-evans/create-pull-request#2976</a></li>
      <li>build(deps): bump undici from 6.18.2 to 6.19.2 by <a
      href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2977">peter-evans/create-pull-request#2977</a></li>
      <li>Update distribution by <a
      href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2990">peter-evans/create-pull-request#2990</a></li>
      <li>feat: add branch name output by <a
      href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2995">peter-evans/create-pull-request#2995</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/peter-evans/create-pull-request/compare/v6.0.5...v6.1.0">https://github.com/peter-evans/create-pull-request/compare/v6.0.5...v6.1.0</a></p>
      <h2>Create Pull Request v6.0.5</h2>
      <p>️ Fixes an issue with proxy support for users that run self-hosted
      behind a proxy.</p>
      <h2>What's Changed</h2>
      <ul>
      <li>fix: update proxy support to follow octokit change to fetch api by
      <a href="https://github.com/peter-evans"><code>@​peter-evans</code></a>
      in <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2867">peter-evans/create-pull-request#2867</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/peter-evans/create-pull-request/compare/v6.0.4...v6.0.5">https://github.com/peter-evans/create-pull-request/compare/v6.0.4...v6.0.5</a></p>
      <h2>Create Pull Request v6.0.4</h2>
      <p> Improves performance in some cases for very large git
      repositories.</p>
      <h2>What's Changed</h2>
      <ul>
      <li>perf: limit the fetch depth of pr branch by <a
      href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
      <a
      href="https://redirect.github.com/peter-evans/create-pull-request/pull/2857">peter-evans/create-pull-request#2857</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/peter-evans/create-pull-request/compare/v6.0.3...v6.0.4">https://github.com/peter-evans/create-pull-request/compare/v6.0.3...v6.0.4</a></p>
      <h2>Create Pull Request v6.0.3</h2>
      <p>
      
       Improves performance of the <code>push-to-fork</code> feature.</p>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/c5a7806660adbe173f04e3e038b0ccdcd758773c"><code>c5a7806</code></a>
      feat: add branch name output (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2995">#2995</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/4383ba9ef00dba2e170ae6fe3eb477b6b0eafa65"><code>4383ba9</code></a>
      build: update distribution (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2990">#2990</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/36f7648874f472efde0769f1fee777f86161cfb4"><code>36f7648</code></a>
      build(deps): bump undici from 6.18.2 to 6.19.2 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2977">#2977</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/5f7c1586fdafcea53df1c73a7e5b0a78d8e9a643"><code>5f7c158</code></a>
      build(deps-dev): bump <code>@​types/node</code> from 18.19.34 to
      18.19.36 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2976">#2976</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/db1713da3a7003971bce54a7a6c91de34081f726"><code>db1713d</code></a>
      build(deps-dev): bump ts-jest from 29.1.4 to 29.1.5 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2975">#2975</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/ca98a71ccc705c342f8ce2da65477ee957baf25c"><code>ca98a71</code></a>
      build(deps-dev): bump ws from 8.11.0 to 8.17.1 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2970">#2970</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/ce008085c89860856de52c613ad894311f83c931"><code>ce00808</code></a>
      build(deps-dev): bump braces from 3.0.2 to 3.0.3 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2962">#2962</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/7318c0b7b6c557038902b1096f1d79c878a561bc"><code>7318c0b</code></a>
      build(deps-dev): bump prettier from 3.3.0 to 3.3.2 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2959">#2959</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/e30bbbb3c94577a6d7716b09e7b77102d2f28ac3"><code>e30bbbb</code></a>
      build: update distribution (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2947">#2947</a>)</li>
      <li><a
      href="https://github.com/peter-evans/create-pull-request/commit/bad19b8e0bdb4a23e0fd723a76aa449674746ee4"><code>bad19b8</code></a>
      build(deps-dev): bump <code>@​types/node</code> from 18.19.33 to
      18.19.34 (<a
      href="https://redirect.github.com/peter-evans/create-pull-request/issues/2935">#2935</a>)</li>
      <li>Additional commits viewable in <a
      href="https://github.com/peter-evans/create-pull-request/compare/5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5...c5a7806660adbe173f04e3e038b0ccdcd758773c">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=5.0.0&new-version=6.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      b5fdfe8f
    • Muharem Ismailov's avatar
      Tx Payment: drop ED requirements for tx payments with exchangeable asset (#4488) · 5878ea27
      Muharem Ismailov authored
      Drop the Existential Deposit (ED) requirement for the asset amount
      exchangeable for the fee asset (eg. DOT/KSM) during transaction
      payments.
      
      This achieved by using `SwapCredit` implementation of swap, which works
      with imbalances and does not require a temporary balance account within
      the transaction payment.
      
      ### Problem
      Currently, every swap during transaction payment, processed with asset
      `A` for native asset, must be for an amount greater than the ED of a
      native asset if the user lacks a native asset account. Since fees are
      typically smaller, the current implementation necessitates additional
      swaps to meet the ED during `pre_dispatch`, with refunds for excess ED
      swap occurring during `post_dispatch`. Further details can be found
      [here](https://github.com/paritytech/polkadot-sdk/blob/115c2477
      
      /substrate/frame/transaction-payment/asset-conversion-tx-payment/src/payment.rs#L115).
      
      This setup presents an issue where a user is unable to transfer their
      entire balance and close the account. Instead, the user must transfer
      slightly less of asset `A` to ensure there is enough not only for the
      fee payment but also some extra to meet the ED requirement for their
      native account during `pre_dispatch`. In some cases during
      `post_dispatch`, the user will have the excess ED swapped back to asset
      `A`, while in other cases, it may not be sufficient to meet the ED
      requirement for asset `A`, leading it being left in the user's
      'temporary' native asset account.
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      5878ea27
    • Parth Mittal's avatar
      Remove `pallet-getter` usage from pallet-transaction-payment (#4970) · 71109c5f
      Parth Mittal authored
      
      
      As per #3326, removes usage of the `pallet::getter` macro from the
      `transaction-payment` pallet. The syntax `StorageItem::<T, I>::get()`
      should be used instead.
      
      Also, adds public functions for compatibility.
      
      NOTE: The `Releases` enum has been made public to transition
      `StorageVersion` from `pub(super) type` to `pub type`.
      
      cc @muraca
      
      polkadot address: 5GsLutpKjbzsbTphebs9Uy4YK6gTN47MAaz6njPktidjR5cp
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      71109c5f
    • thiolliere's avatar
      pallet macro: do not generate try-runtime related code when frame-support... · 8a96d07e
      thiolliere authored
      
      pallet macro: do not generate try-runtime related code when frame-support doesn't have try-runtime. (#5099)
      
      Status: Ready for review
      
      Fix https://github.com/paritytech/polkadot-sdk/issues/5092
      
      Introduce a new macro in frame-support which discard content if
      `try-runtime` is not enabled.
      
      Use this macro inside `frame-support-procedural` to generate code only
      when `frame-support` is compiled with `try-runtime`.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      8a96d07e
    • Luiz Carvalho's avatar
      fix(chain-spec): ChainSpecBuilder with object as default genesis (#4345) · b9aa8ab6
      Luiz Carvalho authored
      
      
      The current `json_patch::merge` function will replace the default
      configuration with the builder action if the action is not a JSON
      Object, which means, if not configured, the current code will try to use
      `Value::Null` as the config, which (almost?) always fails, making it
      mandatory to configure `with_genesis_config...`.
      
      This change uses a JSON Object as the default values, which means the
      code will continue using the default config if none is given.
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      b9aa8ab6
    • drskalman's avatar
      Migrate BEEFY BLS crypto to bls12-381 curve (#4931) · 76a6d478
      drskalman authored
      
      
      We are definitely going to use BLS12-381 for BEEFY and it is hard coded
      in JAM's spec. This PR implements missing tests for bls12-381 crypto,
      migrate BEEFY BLS crypto to bls12-381 and adapt the BEEFY primitive
      tests accordingly.
      
      ---------
      
      Co-authored-by: default avatarDavide Galassi <[email protected]>
      76a6d478
    • dependabot[bot]'s avatar
      Bump clap from 4.5.9 to 4.5.10 in the known_good_semver group (#5120) · 7f332cd3
      dependabot[bot] authored
      
      
      Bumps the known_good_semver group with 1 update:
      [clap](https://github.com/clap-rs/clap).
      
      Updates `clap` from 4.5.9 to 4.5.10
      <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.5.10</h2>
      <h2>[4.5.10] - 2024-07-23</h2>
      </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.5.10] - 2024-07-23</h2>
      </blockquote>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/clap-rs/clap/commit/6243d6546301855c6fc71680e2bf6976f064aee1"><code>6243d65</code></a>
      fix: Only generate stubs if has subcommands</li>
      <li><a
      href="https://github.com/clap-rs/clap/commit/f5965e586292d31b2a2cbd83f19d145180471012"><code>f5965e5</code></a>
      chore: Update dependencies</li>
      <li>See full diff in <a
      href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.9...v4.5.10">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.5.9&new-version=4.5.10)](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>
      7f332cd3
    • tmpolaczyk's avatar
      Use jobserver in wasm-builder to limit concurrency of spawned cargo processes (#4946) · fee481f9
      tmpolaczyk authored
      
      
      When building multiple runtimes in parallel, each of them will try to
      use the concurrency set by the parent cargo process. For example, in a
      system with 8 cpu cores, building 3 runtimes in parallel creates 8 * 3
      tasks. This results in the system hanging because of the high cpu and
      memory usage.
      
      This PR allows the substrate_wasm_builder to use the same [jobserver][1]
      as the parent cargo process, making all invocations of cargo share the
      same concurrency pool. So in a system with 8 cores, there will never be
      more than 8 tasks running at the same time.
      
      Implementation roughly based on [cargo][2] but with less unsafe.
      
      This can be tested by telling cargo to use half the cpu cores, like
      `cargo build -j4` in an 8 core machine. Before this PR it will use 100%
      cpu when building 2 runtimes in parallel, after this PR it will always
      use 50%.
      
      [1]:
      https://doc.rust-lang.org/cargo/reference/build-scripts.html#jobserver
      [2]:
      https://github.com/rust-lang/cargo/blob/d1b5f0759eedf5f1126c781c64232856956069ad/src/cargo/util/context/mod.rs#L271
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      fee481f9
    • dharjeezy's avatar
      include events for voting (#4613) · 2982bf3e
      dharjeezy authored
      
      
      closes https://github.com/paritytech/polkadot-sdk/issues/143
      
      Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW
      
      ---------
      
      Co-authored-by: default avatarMuharem <[email protected]>
      2982bf3e
    • Alexandru Gheorghe's avatar
      [subsystem-bench] Add mocks for own assignments triggering (#5042) · 82a30782
      Alexandru Gheorghe authored
      
      
      Since https://github.com/paritytech/polkadot-sdk/pull/4772, the
      benchamrks triggers its own assignments, but the mocks weren't properly
      hooked up, so that the approval is sent as well, so they would have
      counted as no-shows and impact the time it takes for a block to be
      approved.
      
      Fixed by adding mocks for availability recovery and candidate-validation
      and hook those into the benchmark.
      
      Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>
      82a30782
  4. Jul 23, 2024
    • Oliver Tale-Yazdi's avatar
      Remove not-audited warning (#5114) · 604f56f0
      Oliver Tale-Yazdi authored
      
      
      Pallet tx-pause and safe-mode are both audited, see: #4445
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      604f56f0
    • Alexandru Vasile's avatar
      hotfix: blockchain/backend: Skip genesis leaf to unblock syncing (#5103) · 6b506370
      Alexandru Vasile authored
      This PR effectively skips over cases where the blockchain reports the
      genesis block as leaf.
      
      The issue manifests as the blockchain getting stuck and not importing
      blocks after a while.
      Although the root-cause of why the blockchain reports the genesis as
      leaf is not scoped, this hot-fix is unblocking the new release.
      
      While at it, added some extra debug logs to identify issues more easily
      in the future.
      
      ### Issue
      
      ```
      2024-07-22 10:06:08.708 DEBUG tokio-runtime-worker db::blockchain: Checking for displaced leaves after finalization. leaves=[0xd62aea69664b74c55b7e79ab5855b117d213156a5e9ab05ad0737772aaf42c14, 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe] finalized_block_hash=0x8f8e…7f34 finalized_block_number=24148459
      2024-07-22 10:06:08.708 DEBUG tokio-runtime-worker db::blockchain: Handle displaced leaf 0xd62aea69664b74c55b7e79ab5855b117d213156a5e9ab05ad0737772aaf42c14 (elapsed 25.74µs) leaf_number=24148577
      2024-07-22 10:06:08.709 DEBUG tokio-runtime-worker db::blockchain: Leaf points to the finalized header 0xd62aea69664b74c55b7e79ab5855b117d213156a5e9ab05ad0737772aaf42c14, skipping for now (elapsed 70.72µs)
      
      
      // This is Kusama genesis
      2024-07-22 10:06:08.709 DEBUG tokio-runtime-worker db::blockchain: Handle displaced leaf 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe (elapsed 127.271µs) leaf_number=0
      2024-07-22 10:06:08.709 DEBUG tokio-runtime-worker db::blockchain: Skip more blocks until we get all blocks on finalized chain until the height of the parent block current_hash=0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe current_num=0 finalized_num=24148458
      ```
      
      ### Before
      
      ```
      2024-07-20 00:45:00.234  INFO tokio-runtime-worker substrate: ️  Preparing  0.0 bps, target=#24116589 (50 peers), best: #24116498 (0xb846…8720), finalized #24116493 (0x50b6…2445),  2.3MiB/s  2.6kiB/s    
         
      ...
      
      2024-07-20 14:05:18.572  INFO tokio-runtime-worker substrate: ️  Syncing  0.0 bps, target=#24124495 (51 peers), best: #24119976 (0x6970…aeb3), finalized #24119808 (0xd900…abe4),  2.2MiB/s  3.1kiB/s    
      2024-07-20 14:05:23.573  INFO tokio-runtime-worker substrate: ️  Syncing  0.0 bps, target=#24124495 (51 peers), best: #24119976 (0x6970…aeb3), finalized #24119808 (0xd900…abe4),  2.2MiB/s  5.8kiB/s    
      ```
      
      ### After
      
      ```
      2024-07-22 10:41:10.897 DEBUG tokio-runtime-worker db::blockchain: Handle displaced leaf 0x4e8cf3ff18e7d13ff7fec28f9fc8ce6eff5492ed8dc046e961b76dec5c0cfddf (elapsed 39.26µs) leaf_number=24150969
      2024-07-22 10:41:10.897 DEBUG tokio-runtime-worker db::blockchain: Leaf points to the finalized header 0x4e8cf3ff18e7d13ff7fec28f9fc8ce6eff5492ed8dc046e961b76dec5c0cfddf, skipping for now (elapsed 49.69µs)
      2024-07-22 10:41:10.897 DEBUG tokio-runtime-worker db::blockchain: Skip genesis block 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe reporterd as leaf (elapsed 54.57µs)
      2024-07-22 10:41:10.897 DEBUG tokio-runtime-worker db::blockchain: Finished with result DisplacedLeavesAfterFinalization { displaced_leaves: [], displaced_blocks: [] } (elapsed 58.78µs) finalized_block_hash=0x02b3…5338 finalized_block_number=24150967
      2024-07-22 10:41:12.357  INFO tokio-runtime-worker substrate: 🏆 Imported #24150970 (0x4e8c…fddf → 0x3637…56bb)
      2024-07-22 10:41:12.862  INFO tokio-runtime-worker substrate: 💤 Idle (50 peers), best: #24150970 (0x3637…56bb), finalized #24150967 (0x02b3…5338),  2.0MiB/s  804.7kiB/s
      2024-07-22 10:41:14.772 DEBUG tokio-runtime-worker db::blockchain: Checking for displaced leaves after finalization. leaves=[0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb, 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe] finalized_block_hash=0xa1534a105b90e7036a18ac1c646cd2bd6c41c66cc055817f4f51209ab9070e5c finalized_block_number=24150968
      2024-07-22 10:41:14.772 DEBUG tokio-runtime-worker db::blockchain: Handle displaced leaf 0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb (elapsed 62.48µs) leaf_number=24150970
      2024-07-22 10:41:14.772 DEBUG tokio-runtime-worker db::blockchain: Leaf points to the finalized header 0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb, skipping for now (elapsed 71.76µs)
      2024-07-22 10:41:14.772 DEBUG tokio-runtime-worker db::blockchain: Skip genesis block 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe reporterd as leaf (elapsed 75.96µs)
      2024-07-22 10:41:14.772 DEBUG tokio-runtime-worker db::blockchain: Finished with result DisplacedLeavesAfterFinalization { displaced_leaves: [], displaced_blocks: [] } (elapsed 80.27µs) finalized_block_hash=0xa153…0e5c finalized_block_number=24150968
      2024-07-22 10:41:14.795 DEBUG tokio-runtime-worker db::blockchain: Checking for displaced leaves after finalization. leaves=[0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb, 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe] finalized_block_hash=0xa1534a105b90e7036a18ac1c646cd2bd6c41c66cc055817f4f51209ab9070e5c finalized_block_number=24150968
      2024-07-22 10:41:14.795 DEBUG tokio-runtime-worker db::blockchain: Handle displaced leaf 0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb (elapsed 39.67µs) leaf_number=24150970
      2024-07-22 10:41:14.795 DEBUG tokio-runtime-worker db::blockchain: Leaf points to the finalized header 0x363763b16c23fc20a84f38f67014fa7ae6ba9c708fc074890016699e5ca756bb, skipping for now (elapsed 50.3µs)
      2024-07-22 10:41:14.795 DEBUG tokio-runtime-worker db::blockchain: Skip genesis block 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe reporterd as leaf (elapsed 54.52µs)
      2024-07-22 10:41:14.795 DEBUG tokio-runtime-worker db::blockchain: Finished with result DisplacedLeavesAfterFinalization { displaced_leaves: [], displaced_blocks: [] } (elapsed 58.66µs) finalized_block_hash=0xa153…0e5c finalized_block_number=24150968
      2024-07-22 10:41:17.863  INFO tokio-runtime-worker substrate: 💤 Idle (50 peers), best: #24150970 (0x3637…56bb), finalized #24150968 (0xa153…0e5c),  1.2MiB/s  815.0kiB/s
      2024-07-22 10:41:18.399  INFO tokio-runtime-worker substrate: 🏆
      
       Imported #24150971 (0x3637…56bb → 0x4ee3…5f7c)
      ```
      
      Closes: https://github.com/paritytech/polkadot-sdk/issues/5088
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      6b506370
    • Alexandru Vasile's avatar
      network/metrics: Expose number of banned peers from peerstore and enable litep2p metrics (#4977) · 7f905e28
      Alexandru Vasile authored
      
      
      This PR extends the metrics exposed by the peerstore with the total
      number of banned peers.
      
      The new metric is exposed under
      `substrate_sub_libp2p_peerset_num_banned_peers`.
      
      To easily extend metrics in the future, the `fn num_known_peers` is
      removed in favor of `fn status`.
      
      While at it, enable the metrics for litep2p:
      - total number of peers from peerstore (needed to debug memory
      consumption)
      - total number of banned peers from peerstore (needed to debug
      reputation bans and disconnects)
      
      Have added a couple of tests to validate that the number of banned peers
      is exposed properly.
      
      Part of: https://github.com/paritytech/polkadot-sdk/issues/4681
      
      
      ### Testing Done
      Using [subp2p-explorer](https://github.com/lexnv/subp2p-explorer) have
      submitted random data on tx protocol.
      The peer gets banned, the num of banned peers is incremented then the
      peer is disconnected.
      
      cc @paritytech/networking
      
      ---------
      
      Signed-off-by: default avatarAlexandru Vasile <[email protected]>
      Co-authored-by: default avatarDmitry Markin <[email protected]>
      7f905e28
    • polka.dom's avatar
      Remove pallet::getter macro from pallet-identity (#4586) · 9974a68c
      polka.dom authored
      
      
      As per #3326, removes pallet::getter macro usage from the
      pallet-identity. The syntax `StorageItem::<T, I>::get()` should be used
      instead.
      
      Also makes all storage values public
      
      cc @muraca
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: command-bot <>
      9974a68c
    • dependabot[bot]'s avatar
      Bump backtrace from 0.3.69 to 0.3.71 (#5110) · 11dd10b4
      dependabot[bot] authored
      
      
      Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.69
      to 0.3.71.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/rust-lang/backtrace-rs/releases">backtrace's
      releases</a>.</em></p>
      <blockquote>
      <h2>0.3.71</h2>
      <p>This is mostly CI changes, with a very mild bump to our effective cc
      crate version recorded, and a small modification to a previous changeset
      to allow backtrace to run at its current checked-in MSRV on Windows.
      Sorry about that! We will be getting 0.3.70 yanked shortly.</p>
      <h2>What's Changed</h2>
      <ul>
      <li>Make sgx functions exist with cfg(miri) by <a
      href="https://github.com/saethlin"><code>@​saethlin</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/591">rust-lang/backtrace-rs#591</a></li>
      <li>Update version of cc crate by <a
      href="https://github.com/jfgoog"><code>@​jfgoog</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/592">rust-lang/backtrace-rs#592</a></li>
      <li>Pull back MSRV on Windows by <a
      href="https://github.com/workingjubilee"><code>@​workingjubilee</code></a>
      in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/598">rust-lang/backtrace-rs#598</a></li>
      <li>Force frame pointers on all i686 tests by <a
      href="https://github.com/workingjubilee"><code>@​workingjubilee</code></a>
      in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/601">rust-lang/backtrace-rs#601</a></li>
      <li>Use rustc from stage0 instead of stage0-sysroot by <a
      href="https://github.com/Nilstrieb"><code>@​Nilstrieb</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/602">rust-lang/backtrace-rs#602</a></li>
      <li>Cut backtrace 0.3.71 by <a
      href="https://github.com/workingjubilee"><code>@​workingjubilee</code></a>
      in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/599">rust-lang/backtrace-rs#599</a></li>
      </ul>
      <h2>New Contributors</h2>
      <ul>
      <li><a href="https://github.com/jfgoog"><code>@​jfgoog</code></a> made
      their first contribution in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/592">rust-lang/backtrace-rs#592</a></li>
      <li><a href="https://github.com/Nilstrieb"><code>@​Nilstrieb</code></a>
      made their first contribution in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/602">rust-lang/backtrace-rs#602</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/rust-lang/backtrace-rs/compare/0.3.70...0.3.71">https://github.com/rust-lang/backtrace-rs/compare/0.3.70...0.3.71</a></p>
      <h2>0.3.70</h2>
      <h2>New API</h2>
      <ul>
      <li>A <code>BacktraceFrame</code> can now have <code>resolve(&amp;mut
      self)</code> called on it thanks to <a
      href="https://github.com/fraillt"><code>@​fraillt</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/526">rust-lang/backtrace-rs#526</a></li>
      </ul>
      <h2>Platform Support</h2>
      <p>We added support for new platforms in this release!</p>
      <ul>
      <li>Thanks to <a href="https://github.com/bzEq"><code>@​bzEq</code></a>
      in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/508">rust-lang/backtrace-rs#508</a>
      we now have AIX support!</li>
      <li>Thanks to <a
      href="https://github.com/sthibaul"><code>@​sthibaul</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/567">rust-lang/backtrace-rs#567</a>
      we now have GNU/Hurd support!</li>
      <li>Thanks to <a
      href="https://github.com/dpaoliello"><code>@​dpaoliello</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/587">rust-lang/backtrace-rs#587</a>
      we now support &quot;emulation-compatible&quot; AArch64 Windows (aka
      arm64ec)</li>
      </ul>
      <h3>Windows</h3>
      <ul>
      <li>Rewrite msvc backtrace support to be much faster on 64-bit platforms
      by <a
      href="https://github.com/wesleywiser"><code>@​wesleywiser</code></a> in
      <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/569">rust-lang/backtrace-rs#569</a></li>
      <li>Fix i686-pc-windows-gnu missing dbghelp module by <a
      href="https://github.com/wesleywiser"><code>@​wesleywiser</code></a> in
      <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/571">rust-lang/backtrace-rs#571</a></li>
      <li>Fix build errors on <code>thumbv7a-*-windows-msvc</code> targets by
      <a href="https://github.com/kleisauke"><code>@​kleisauke</code></a> in
      <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/573">rust-lang/backtrace-rs#573</a></li>
      <li>Fix panic in backtrace symbolication on win7 by <a
      href="https://github.com/roblabla"><code>@​roblabla</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/578">rust-lang/backtrace-rs#578</a></li>
      <li>remove few unused windows ffi fn by <a
      href="https://github.com/klensy"><code>@​klensy</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/576">rust-lang/backtrace-rs#576</a></li>
      <li>Make dbghelp look for PDBs next to their exe/dll. by <a
      href="https://github.com/michaelwoerister"><code>@​michaelwoerister</code></a>
      in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/584">rust-lang/backtrace-rs#584</a></li>
      <li>Revert 32-bit dbghelp to a version WINE (presumably) likes by <a
      href="https://github.com/ChrisDenton"><code>@​ChrisDenton</code></a> in
      <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/588">rust-lang/backtrace-rs#588</a></li>
      <li>Update for Win10+ by <a
      href="https://github.com/ChrisDenton"><code>@​ChrisDenton</code></a> in
      <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/589">rust-lang/backtrace-rs#589</a></li>
      </ul>
      <h3>SGX</h3>
      <p>Thanks to</p>
      <ul>
      <li>Adjust frame IP in SGX relative to image base by <a
      href="https://github.com/mzohreva"><code>@​mzohreva</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/566">rust-lang/backtrace-rs#566</a></li>
      </ul>
      <h2>Internals</h2>
      <p>We did a bunch more work on our CI and internal cleanups</p>
      <ul>
      <li>Modularise CI workflow and validate outputs for binary size checks.
      by <a href="https://github.com/detly"><code>@​detly</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/549">rust-lang/backtrace-rs#549</a></li>
      <li>Commit Cargo.lock by <a
      href="https://github.com/bjorn3"><code>@​bjorn3</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/562">rust-lang/backtrace-rs#562</a></li>
      <li>Enable calling build.rs externally v2 by <a
      href="https://github.com/pitaj"><code>@​pitaj</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/568">rust-lang/backtrace-rs#568</a></li>
      <li>Upgrade to 2021 ed and inline panics by <a
      href="https://github.com/nyurik"><code>@​nyurik</code></a> in <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/pull/538">rust-lang/backtrace-rs#538</a></li>
      </ul>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/7be8953188582ea83f1e88622ccdfcab1a49461c"><code>7be8953</code></a><code>rust-lang/backtrace-rs#599</code></li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/c31ea5ba7ac52f5c15c65cfec7d7b5d0bcf00eed"><code>c31ea5b</code></a><code>rust-lang/backtrace-rs#602</code></li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/193125abc094b433859c4fdb2e672d391a6bdf8d"><code>193125a</code></a><code>rust-lang/backtrace-rs#601</code></li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/bdc8b8241b16bb20124a3cec86e1b339e4c008a1"><code>bdc8b82</code></a>
      Merge pull request <a
      href="https://redirect.github.com/rust-lang/backtrace-rs/issues/598">#598</a>
      from workingjubilee/pull-back-msrv</li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/edc9f5cae874bf008e52558e4b2c6c86847c9575"><code>edc9f5c</code></a>
      hack out binary size checks</li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/4c8fe973eb39f4cd31c3d6dfd74c6b670de6911a"><code>4c8fe97</code></a>
      add Windows to MSRV tests</li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/84dfe2472456a000d7cced566b06f3bada898f8e"><code>84dfe24</code></a>
      hack CI</li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/3f08ec085fb5bb4edfb084cf9e3170e953a44107"><code>3f08ec0</code></a>
      Pull back MSRV-breaking ptr::from_ref</li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/6fa4b85b9962c3e1be8c2e5cc605cd078134152b"><code>6fa4b85</code></a><code>rust-lang/backtrace-rs#592</code></li>
      <li><a
      href="https://github.com/rust-lang/backtrace-rs/commit/ea7dc8e964d0046d92382e40308876130e5301ba"><code>ea7dc8e</code></a><code>rust-lang/backtrace-rs#591</code></li>
      <li>Additional commits viewable in <a
      href="https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.71">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=backtrace&package-manager=cargo&previous-version=0.3.69&new-version=0.3.71)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore this major version` will close this PR and stop
      Dependabot creating any more for this major version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this minor version` will close this PR and stop
      Dependabot creating any more for this minor version (unless you reopen
      the PR or upgrade to it yourself)
      - `@dependabot ignore this dependency` will close this PR and stop
      Dependabot creating any more for this dependency (unless you reopen the
      PR or upgrade to it yourself)
      
      
      </details>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      11dd10b4
    • Jun Jiang's avatar
      Replace all ansi_term crates (#2923) · bbb86686
      Jun Jiang authored
      
      
      Now Polkadot-SDK is ansi_term free
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      bbb86686
    • Serban Iorga's avatar
      Beefy equivocation: add runtime API methods (#4993) · 216e8fa1
      Serban Iorga authored
      Related to https://github.com/paritytech/polkadot-sdk/issues/4523
      
      Add runtime API methods for:
      - generating the ancestry proof
      - submiting a fork voting report
      - submitting a future voting report
      216e8fa1
    • Muharem Ismailov's avatar
      Make `on_unbalanceds` work with `fungibles` `imbalances` (#4564) · 6d0926e2
      Muharem Ismailov authored
      Make `on_unbalanceds` work with `fungibles` `imbalances`.
      
      The `fungibles` `imbalances` cannot be handled by the default
      implementation of `on_unbalanceds` from the `OnUnbalanced` trait. This
      is because the `fungibles` `imbalances` types do not implement the
      `Imbalance` trait (and cannot with its current semantics). The
      `on_unbalanceds` function requires only the `merge` function for the
      imbalance type. In this PR, we provide the `TryMerge` trait, which can
      be implemented by all imbalance types and make `OnUnbalanced` require it
      instead `Imbalance`.
      
      ### Migration for `OnUnbalanced` trait implementations:
      In case if you have a custom implementation of `on_unbalanceds` trait
      function, remove it's `<B>` type argument.
      
      ### Migration for custom imbalance types:
      If you have your own imbalance types implementations, implement the
      `TryMerge` trait for it introduced with this update.
              
      The applicability of the `on_unbalanceds` function to fungibles
      imbalances is useful in cases like -
      [link](https://github.com/paritytech/polkadot-sdk/blob/3a8e675e
      
      /substrate/frame/transaction-payment/asset-conversion-tx-payment/src/payment.rs#L267)
      from https://github.com/paritytech/polkadot-sdk/pull/4488.
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      6d0926e2