Skip to content
Snippets Groups Projects
  1. Mar 19, 2025
    • dependabot[bot]'s avatar
      Bump openssl from 0.10.64 to 0.10.70 (#7442) · d1dcd161
      dependabot[bot] authored
      
      Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64
      to 0.10.70.
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/sfackler/rust-openssl/releases">openssl's
      releases</a>.</em></p>
      <blockquote>
      <h2>openssl v0.10.70</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Attempt to fix CI by pinning to the Ubuntu 22.04 image by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2357">sfackler/rust-openssl#2357</a></li>
      <li>Remove EC_METHOD and EC_GROUP_new for LibreSSL 4.1 by <a
      href="https://github.com/botovq"><code>@​botovq</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2356">sfackler/rust-openssl#2356</a></li>
      <li>Test against 3.4.0 final release by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2359">sfackler/rust-openssl#2359</a></li>
      <li>Expose <code>SslMethod::{dtls_client,dtls_server}</code> by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2358">sfackler/rust-openssl#2358</a></li>
      <li>Fix lifetimes in ssl::select_next_proto by <a
      href="https://github.com/sfackler"><code>@​sfackler</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2360">sfackler/rust-openssl#2360</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.69...openssl-v0.10.70">https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.69...openssl-v0.10.70</a></p>
      <h2>openssl v0.10.69</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>build(deps): Update <code>openssl-macro</code> to version
      <code>0.1.1</code> by <a
      href="https://github.com/caspermeijn"><code>@​caspermeijn</code></a> in
      <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2324">sfackler/rust-openssl#2324</a></li>
      <li>Enable set_alpn_select_callback for BoringSSL by <a
      href="https://github.com/ViktoriiaKovalova"><code>@​ViktoriiaKovalova</code></a>
      in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2327">sfackler/rust-openssl#2327</a></li>
      <li>Switch the test to use prime256v1 based key by <a
      href="https://github.com/dcermak"><code>@​dcermak</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2330">sfackler/rust-openssl#2330</a></li>
      <li>Expose EVP_DigestSqueeze from Hasher by <a
      href="https://github.com/initsecret"><code>@​initsecret</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2275">sfackler/rust-openssl#2275</a></li>
      <li>Expose SSL_CTX_load_verify_locations by <a
      href="https://github.com/sfackler"><code>@​sfackler</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2353">sfackler/rust-openssl#2353</a></li>
      </ul>
      <h2>New Contributors</h2>
      <ul>
      <li><a
      href="https://github.com/caspermeijn"><code>@​caspermeijn</code></a>
      made their first contribution in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2324">sfackler/rust-openssl#2324</a></li>
      <li><a
      href="https://github.com/ViktoriiaKovalova"><code>@​ViktoriiaKovalova</code></a>
      made their first contribution in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2327">sfackler/rust-openssl#2327</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.68...openssl-v0.10.69">https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.68...openssl-v0.10.69</a></p>
      <h2>openssl-v0.10.68</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>fixes <a
      href="https://redirect.github.com/sfackler/rust-openssl/issues/2317">#2317</a>
      -- restore compatibility with our MSRV and release openssl 0.9.68 by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2318">sfackler/rust-openssl#2318</a></li>
      </ul>
      <p><strong>Full Changelog</strong>: <a
      href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.67...openssl-v0.10.68">https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.67...openssl-v0.10.68</a></p>
      <h2>openssl-v0.10.67</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>Added a utility function to ensure we never have an issue with
      0-length slices from pointers again by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2268">sfackler/rust-openssl#2268</a></li>
      <li>Fix CI for the latest rustc by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2271">sfackler/rust-openssl#2271</a></li>
      <li>Add binding for EVP_DigestSqueeze by <a
      href="https://github.com/initsecret"><code>@​initsecret</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2270">sfackler/rust-openssl#2270</a></li>
      <li>libressl 4.0: const correctness for X509_LOOKUP_METHOD by <a
      href="https://github.com/botovq"><code>@​botovq</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2276">sfackler/rust-openssl#2276</a></li>
      <li>Bump hex dev-dependency version by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2277">sfackler/rust-openssl#2277</a></li>
      <li>Raise bindgen version by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2278">sfackler/rust-openssl#2278</a></li>
      <li>Ensure Rsa::check_key doesn't leave errors on the stack by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2279">sfackler/rust-openssl#2279</a></li>
      <li>Update some docs to use the corresponds macro by <a
      href="https://github.com/rushilmehra"><code>@​rushilmehra</code></a> in
      <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2282">sfackler/rust-openssl#2282</a></li>
      <li>Don't leave errors on the stack in
      <code>MdCtxRef::digest_verify_final</code> by <a
      href="https://github.com/alex"><code>@​alex</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2283">sfackler/rust-openssl#2283</a></li>
      <li>Adjustments for LibreSSL 4 by <a
      href="https://github.com/botovq"><code>@​botovq</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2287">sfackler/rust-openssl#2287</a></li>
      <li>Explicit rustfmt config by <a
      href="https://github.com/kornelski"><code>@​kornelski</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2285">sfackler/rust-openssl#2285</a></li>
      <li>add basic EVP_KDF bindings by <a
      href="https://github.com/reaperhulk"><code>@​reaperhulk</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2289">sfackler/rust-openssl#2289</a></li>
      <li>add ossl3 thread pool bindings by <a
      href="https://github.com/reaperhulk"><code>@​reaperhulk</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2293">sfackler/rust-openssl#2293</a></li>
      <li>add argon2id support for ossl 3.2+ by <a
      href="https://github.com/reaperhulk"><code>@​reaperhulk</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2290">sfackler/rust-openssl#2290</a></li>
      <li>fix 3.2.0 thread support and simplify by <a
      href="https://github.com/reaperhulk"><code>@​reaperhulk</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2294">sfackler/rust-openssl#2294</a></li>
      <li>add libctx arg to argon2id by <a
      href="https://github.com/reaperhulk"><code>@​reaperhulk</code></a> in <a
      href="https://redirect.github.com/sfackler/rust-openssl/pull/2295">sfackler/rust-openssl#2295</a></li>
      </ul>
      <!-- raw HTML omitted -->
      </blockquote>
      <p>... (truncated)</p>
      </details>
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/a4d399b0f1a3694cb2d1728edf74d318a3cac890"><code>a4d399b</code></a>
      Release openssl v0.10.70</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/c9a33e286023f92b869c5f157b349be15985a799"><code>c9a33e2</code></a>
      Release openssl-sys v0.9.105</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/f014afb230de4d77bc79dea60e7e58c2f47b60f2"><code>f014afb</code></a>
      Merge pull request <a
      href="https://redirect.github.com/sfackler/rust-openssl/issues/2360">#2360</a>
      from sfackler/fix-alpn-lifetimes</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/8e6e30bbf7e7627845b801f83a3810d6ffc1f157"><code>8e6e30b</code></a>
      Fix lifetimes in ssl::select_next_proto</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/1aff2801ca1dd756a0566a4d4fa9a00967280114"><code>1aff280</code></a>
      Merge pull request <a
      href="https://redirect.github.com/sfackler/rust-openssl/issues/2358">#2358</a>
      from alex/expose-dlts</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/16ca5b278b99bb667321b4d88da230ee8f820e08"><code>16ca5b2</code></a>
      Merge pull request <a
      href="https://redirect.github.com/sfackler/rust-openssl/issues/2359">#2359</a>
      from sfackler/alex-patch-1</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/4c9fbb0c18e8a3ac1de9671d7828862b49c1cb87"><code>4c9fbb0</code></a>
      Test against 3.4.0 final release</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/5ecb31d3fd252c54dbae5e0b5b7ad495b26ac339"><code>5ecb31d</code></a>
      Update openssl/src/ssl/mod.rs</li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/4830f5bb93dafeeeddf32bf41dda83e2560f3d49"><code>4830f5b</code></a>
      Expose <code>SslMethod::{dtls_client,dtls_server}</code></li>
      <li><a
      href="https://github.com/sfackler/rust-openssl/commit/bab03c4093ef626c9564354ae7c2484f4f9ad6a9"><code>bab03c4</code></a>
      Merge pull request <a
      href="https://redirect.github.com/sfackler/rust-openssl/issues/2356">#2356</a>
      from botovq/rm-ec-method</li>
      <li>Additional commits viewable in <a
      href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.70">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=openssl&package-manager=cargo&previous-version=0.10.64&new-version=0.10.70)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      You can trigger a rebase of this PR 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)
      You can disable automated security fix PRs for this repo from the
      [Security Alerts
      page](https://github.com/paritytech/polkadot-sdk/network/alerts).
      
      </details>
      
      > **Note**
      > Automatic rebases have been disabled on this pull request as it has
      been open for over 30 days.
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
    • Stephane Gurgenidze's avatar
      runtime-api: remove redundant version checks (#7610) · 45492e39
      Stephane Gurgenidze authored
      
      ## Issue
      - [[#1940] Cleanup boilerplate code when DisabledValidators runtime api
      call is
      released](https://github.com/paritytech/polkadot-sdk/issues/1940)
      - Includes other runtime APIs, such as `MinimumBackingVotes` and
      `NodeFeatures`, that are already supported by Polkadot.
      
      ## Description
      This PR removes unnecessary runtime API version checks from
      `subsystem-util/src/runtime` for APIs supported by Polkadot (the most
      recent network to upgrade). Specifically, it applies to the
      `DisabledValidators`, `MinimumBackingVotes` and `NodeFeatures` APIs.
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
  2. Mar 18, 2025
    • Sebastian Kunert's avatar
      Upgrade link-checker cache to v4 (#7874) · 1abdb7f3
      Sebastian Kunert authored
      Link-checker broke once more.
      
      To get it green, cache action needs to upgrade to v4
    • seemantaggarwal's avatar
      Updating readmes (#7950) · 28a7ae71
      seemantaggarwal authored
      README for all templates still points to polkadot.network.
      update them to:
      
      1. point to [docs.polkadot.com](http://docs.polkadot.com/)
      2. point to official polkadot discord and @substratedevs in TG for
      support
    • Bastian Köcher's avatar
    • Tiago Tavares ⭕️'s avatar
      pallet-bounties: allow bounties to never expire (#7723) · e4f7814c
      Tiago Tavares ⭕️ authored
      # Description
      
      Fixes polkadot-fellows/runtimes#509
      
      The Bounties expiration and renewal heavily depends on manual
      interactions through UI. This PR refactors the duration of the bounty to
      be an optional configuration constant. If set to None, bounties remain
      active indefinitely, removing the need for calling`extend_bounty_expiry`
      and preventing automatic curator slashing for inactivity, which often
      penalises unnecessarily.
      
      ## Integration
      
      Remove
      [BountyUpdatePeriod](https://github.com/polkadot-fellows/runtimes/blob/db4bb534cb411c0d6a2fe57eb331e6ec93ace825/relay/polkadot/src/lib.rs#L774)
      
      ## Review Notes
      
      Modifies how bounty expiry is handled
      <details>
      <summary>:mag: Code Diff Summary</summary>
      
      ```diff
      - #[pallet::constant]
      - type BountyUpdatePeriod: Get<BlockNumberFor<Self, I>>;
      + #[pallet::constant]
      + type BountyUpdatePeriod: Get<Option<BlockNumberFor<Self, I>>>;
      
      - *update_due = (Self::treasury_block_number() + T::BountyUpdatePeriod::get()).max(*update_due);
      + *update_due = Self::treasury_block_number().saturating_add(
      +     T::BountyUpdatePeriod::get().unwrap_or(BlockNumberFor::<T, I>::MAX)
      + ); 
      ```
      </details>
  3. Mar 17, 2025
  4. Mar 15, 2025
    • dependabot[bot]'s avatar
      Bump the ci_dependencies group across 1 directory with 4 updates (#7855) · 88a31f2d
      dependabot[bot] authored
      Bumps the ci_dependencies group with 4 updates in the / directory:
      [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain),
      [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request),
      [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)
      and
      [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance).
      
      Updates `actions-rust-lang/setup-rust-toolchain` from 1.10.1 to 1.11.0
      <details>
      <summary>Release notes</summary>
      <p><em>Sourced from <a
      href="https://github.com/actions-rust-lang/setup-rust-toolchain/releases">actions-rust-lang/setup-rust-toolchain's
      releases</a>.</em></p>
      <blockquote>
      <h2>v1.11.0</h2>
      <h2>What's Changed</h2>
      <ul>
      <li>feat: add shared-cache-key to inputs by <a
      href="https://github.com/skanehira"><code>@​skanehira</code></a> in <a
      href="https://redirect.github.com/actions-rust-lang/setup-rust-toolcha...
    • Eugen Snitko's avatar
      remove compromised action (#7934) · d3f68513
      Eugen Snitko authored
      remove compromised tj-actions/changed-files
      set all related vars to 'true' for now
      https://news.ycombinator.com/item?id=43368870
  5. Mar 14, 2025
  6. Mar 13, 2025
  7. Mar 12, 2025
  8. Mar 11, 2025
    • Alexandru Vasile's avatar
      network: Make litep2p the default backend in Kusama (#7866) · bcc272a1
      Alexandru Vasile authored
      This PR makes the litep2p backend the default network backend in Kusama.
      
      We performed a gradual rollout in Kusama by asking validators to
      manually switch to litep2p. The rollout went smoothly, with 250
      validators running litep2p without issues. This PR represents the next
      step in testing the backend at scale.
      
      Thanks to everyone who contributed to making this happen! A special
      shoutout to the validators for their prompt support and cooperation :pray:
      
      While at it, the litep2p release is bumped to the latest 0.9.2, which
      downgrades a spamming log to debug.
      
      
      ### CLI Testing Done
      
      
      ```
      ### Kusama without network backend specified
      RUST_LOG=info ./target/release/polkadot --chain kusama --pruning=1000 --in-peers 50 --out-peers 50 --sync=warp --detailed-log-output
      2025-03-10 14:24:18.503  INFO main sub-libp2p: Running litep2p network backend
      
      ### Kusama with libp2p
      RUST_LOG=info ./target/release/polkadot --chain kusama --pruning=1000 --in-peers 50 --out...
    • Egor_P's avatar
      [Release|CI/CD] Fixes for the promote rc to final flow (#7877) · 544fefac
      Egor_P authored
      This PR contains few fixes for the Promote RC to final flow:
      - Now the `polkadot-preapre-worker` and `polkadot-execute-worker`
      artefacts will be uploaded alongside with the `polakdot` artefact (it
      was missing before)
      - Added missing upload of the deb package 
      - Few typos fixed
      
      Closes: https://github.com/paritytech/release-engineering/issues/241
    • Egor_P's avatar
    • PG Herveou's avatar
      [pallet-revive] Add support for eip1898 block notation (#7848) · fb98291e
      PG Herveou authored
      
      [pallet-revive] Add support for eip1898 block notation
      https://eips.ethereum.org/EIPS/eip-1898
      
      ---------
      
      Co-authored-by: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    • Serban Iorga's avatar
      Fix XCM decoding inconsistencies (#7856) · 2a239206
      Serban Iorga authored
      This PR includes:
      
      - deduplicating some XCM decoding logic
      - making use of `decode_with_depth_limit` consistently for
      `VersionedXcm`
      - some cleanup
    • Sebastian Kunert's avatar
      slot-based-collator: Allow multiple blocks per slot (#7569) · 8ddb0714
      Sebastian Kunert authored
      **Summary:** This PR enables authoring of multiple blocks in one AURA
      slot in the slot-based collator and stabilizes the slot-based collator.
      
      ## CLI Changes
      The flag `--experimental-use-slot-based` is now marked as deprecated. I
      opted to introduce `--authoring slot-based` instead of just removing the
      `experimental` prefix. By introducing the `authoring` variant, we get
      some future-proofing in case we want to introduce further options.
      
      ## Change Description
      With elastic-scaling, we are able to author multiple blocks with a
      single relay-chain parent. In the initial iteration, the interval
      between two blocks was determined by the `slot_duration` of the
      parachain. This PR introduces a more flexible model, where we try to
      author multiple blocks in a single slot if the runtime allows it.
      
      The block authoring loop is largely the same. The
      [`SlotTimer`](https://github.com/paritytech/polkadot-sdk/blob/f1935bd9/cumulus/cli...
  9. Mar 10, 2025