Skip to content
Snippets Groups Projects
  1. Jun 26, 2024
    • Anton Vilhelm Ásgeirsson's avatar
      Coretime: Add request revenue info (#3940) · f1db2c6e
      Anton Vilhelm Ásgeirsson authored
      
      Enables the `request_revenue` and `notify_revenue` parts of [RFC 5 -
      Coretime
      Interface](https://polkadot-fellows.github.io/RFCs/approved/0005-coretime-interface.html)
      
      TODO:
      - [x] Finish first pass at implementation
      - [x] ~~Need to explicitly burn uncollected and dropped revenue~~
      Accumulate it instead
      - [x] Confirm working on zombienet
      - [x] Tests 
      - [ ] Enable XCM `request_revenue` sending on Coretime chain on Kusama
      and Polkadot
      
      Fixes: #2209
      
      ---------
      
      Co-authored-by: default avatarDmitry Sinyavin <dmitry.sinyavin@parity.io>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatars0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com>
      Co-authored-by: default avatarDónal Murray <donal.murray@parity.io>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      f1db2c6e
    • Dmitry Markin's avatar
      network: Upgrade `litep2p` to v0.6.2 (#4799) · 4a7155e5
      Dmitry Markin authored
      
      This PR upgrades `litep2p` to the latest version and includes the two
      fixes:
      
      1. Enables incoming DHT record validation with `litep2p` network
      backend.
      2. Sets `TCP_NODELAY` flag on TCP & WS sockets in `litep2p` backend, as
      it is currently done in `libp2p` backend.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      4a7155e5
    • Oliver Tale-Yazdi's avatar
      Fellowship-core: add fast promote (#4877) · b4ae5b01
      Oliver Tale-Yazdi authored
      
      Add a `promote_fast` extrinsic to the `core-fellowship` pallet to allow
      promotions that ignore the promotion cooldown. It comes with a new
      `FastPromoteOrigin`.
      
      Supersedes https://github.com/paritytech/polkadot-sdk/pull/4778
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      Co-authored-by: default avatarjoe petrowski <25483142+joepetrowski@users.noreply.github.com>
      Co-authored-by: command-bot <>
      b4ae5b01
    • Branislav Kontur's avatar
      [xcm] runtime api for LocationToAccount conversions (#4857) · 75069569
      Branislav Kontur authored
      
      Closes: https://github.com/paritytech/polkadot-sdk/issues/4298
      
      This PR also merges `xcm-fee-payment-runtime-api` module to the
      `xcm-runtime-api`.
      
      
      ## TODO
      
      - [x] rename `convert` to `convert_location` and add new one
      `convert_account` (opposite direction)
      - [x] add to the all testnet runtimes
      - [x] check polkadot-js if supports that automatically or if needs to be
      added manually https://github.com/polkadot-js/api/pull/5917
      - [ ] backport/patch for fellows and release (asap)
      
      ## Open questions
      - [x] should we merge `xcm-runtime-api` and
      `xcm-fee-payment-runtime-api` to the one module `xcm-runtime-api` ?
      
      ## Usage
      Input:
       - `location:  VersionedLocation`
       
      Output:
       - account_id bytes
      
      
      ![image](https://github.com/paritytech/polkadot-sdk/assets/8159517/4607b15a-77d2-462b-806c-606107776c0d)
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      75069569
    • Lulu's avatar
      Update parity publish (#4878) · 7084463a
      Lulu authored
      
      Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      7084463a
    • Niklas Adolfsson's avatar
      rpc: upgrade jsonrpsee v0.23 (#4730) · 7a2592e8
      Niklas Adolfsson authored
      
      This is PR updates jsonrpsee v0.23 which mainly changes:
      - Add `Extensions` which we now is using to get the connection id (used
      by the rpc spec v2 impl)
      - Update hyper to v1.0, http v1.0, soketto and related crates
      (hyper::service::make_service_fn is removed)
      - The subscription API for the client is modified to know why a
      subscription was closed.
      
      Full changelog here:
      https://github.com/paritytech/jsonrpsee/releases/tag/v0.23.0
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      7a2592e8
    • Muharem Ismailov's avatar
      [FRAME] Remove storage migration type (#3828) · 20aecadb
      Muharem Ismailov authored
      
      Introduce migration type to remove data associated with a specific
      storage of a pallet.
      
      Based on existing `RemovePallet` migration type.
      
      Required for https://github.com/paritytech/polkadot-sdk/pull/3820
      
      ---------
      
      Co-authored-by: default avatarLiam Aharon <liam.aharon@hotmail.com>
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      20aecadb
    • Nazar Mokrynskyi's avatar
      Block import and verification refactoring (#4844) · 0ed3f04d
      Nazar Mokrynskyi authored
      A few refactorings to block import and block verification that should
      not be controversial.
      
      Block verification before block import is stateless by design as
      described in https://substrate.stackexchange.com/a/1322/25 and the fact
      that it wasn't yet I consider to be a bug. Some code that requires it
      had to use `Mutex`, but I do not expect it to have a measurable
      performance impact.
      
      Similarly with block import checking whether block preconditions should
      not be an exclusive operation, there is nothing fundamentally wrong with
      checking a few competing blocks whose parent blocks exist at the same
      time (and even import them concurrently later, though IIRC this is not
      yet implemented either).
      
      They were originally a part of
      https://github.com/paritytech/polkadot-sdk/pull/4842 and upstreaming
      will help us to reduce the size of the patch we need to apply on top of
      upstream code at Subspace every time we upgrade. There are no new
      features introduced here, just refactoring to get rid of unnecessary
      requirements.
      0ed3f04d
  2. Jun 25, 2024
    • gupnik's avatar
      Use real rust type for pallet alias in `runtime` macro (#4769) · 2f3a1bf8
      gupnik authored
      Fixes https://github.com/paritytech/polkadot-sdk/issues/4723. Also,
      closes https://github.com/paritytech/polkadot-sdk/issues/4622
      
      As stated in the linked issue, this PR adds the ability to use a real
      rust type for pallet alias in the new `runtime` macro:
      ```rust
      #[runtime::pallet_index(0)]
      pub type System = frame_system::Pallet<Runtime>;
      ```
      
      Please note that the current syntax still continues to be supported.
      
      CC: @shawntabrizi @Kianenigma
      
      
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      2f3a1bf8
    • Aaro Altonen's avatar
      Upgrade libp2p to 0.52.4 (#1631) · 414a8fc2
      Aaro Altonen authored
      Upgrade libp2p to 0.52.4, including a fix: 
      
      * Set Kademlia to server mode
      (https://github.com/paritytech/substrate/pull/14703)
      
      ### TODO
      - [x] Fix 3 zombienet tests failing:
        - [x] `zombienet-substrate-0002-validators-warp-sync`
      - [ ]
      ~`zombienet-polkadot-functional-0005-parachains-disputes-past-session`~
      The test is also flaky in other PRs and is not required for CI to
      succeed.
        - [x] `zombienet-polkadot-functional-0009-approval-voting-coalescing`
      - [x] Uncomment and update to the actual libp2p API tests in
      [`substrate/client/network/src/protocol/notifications/handler.rs`](https://github.com/paritytech/polkadot-sdk/blob/7331f179/substrate/client/network/src/protocol/notifications/handler.rs#L1009).
      - [x] When upgrading `multihash` crate as part of libp2p upgrade to
      version v0.19.1, uncomment the conversion code at
      https://github.com/paritytech/polkadot-sdk/blob/7547c494
      
      /substrate/client/network/types/src/multihash.rs#L159
      - [x] Perform a burn-in.
      
      ---------
      
      Co-authored-by: default avatarAnton <anton.kalyaev@gmail.com>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarDmitry Markin <dmitry@markin.tech>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      414a8fc2
    • Sebastian Kunert's avatar
      chain-spec-builder: Add support for `codeSubstitutes` (#4685) · 3c213726
      Sebastian Kunert authored
      While working on https://github.com/paritytech/polkadot-sdk/pull/4600 I
      found that it would be nice if `chain-spec-builder` supported
      `codeSubstitutes`. After this PR is merged you can do:
      
      ```
      chain-spec-builder add-code-substitute chain_spec.json my_runtime.compact.compressed.wasm 1234
      ```
      
      In addition, the `chain-spec-builder` was silently removing
      `relay_chain` and `para_id` fields when used on parachain chain-specs.
      This is now fixed by providing a custom chain-spec extension that has
      these fields marked as optional.
      3c213726
    • yjh's avatar
      chore: remove unused rustc-hex deps; enable rustc-hex for primitive-types in sp-core (#4860) · a406dd52
      yjh authored
      
      Some primitives have impl Hex related traits enabled by `rustc-hex`
      feature. People wanna use H256/H160 maybe need these trait impls
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      a406dd52
    • Andrei Eres's avatar
    • Bastian Köcher's avatar
      rpc2: Finalized event doesn't indicate that the best block changes (#4872) · a0fc3b54
      Bastian Köcher authored
      We should not print a warning if the best block stays the same between
      two finality events. There is no requirement that this changes. For sure
      this doesn't need to be an error message.
      a0fc3b54
  3. Jun 24, 2024
    • dashangcun's avatar
      chore: remove repeat words (#4869) · 63e26444
      dashangcun authored
      
      Signed-off-by: default avatardashangcun <jchaodaohang@foxmail.com>
      Co-authored-by: default avatardashangcun <jchaodaohang@foxmail.com>
      63e26444
    • Muharem Ismailov's avatar
      treasury pallet: remove unused config parameters (#4831) · 5e62782d
      Muharem Ismailov authored
      Remove unused config parameters `ApproveOrigin` and `OnSlash` from the
      treasury pallet. Add `OnSlash` config parameter to the bounties and tips
      pallets.
      
      part of https://github.com/paritytech/polkadot-sdk/issues/3800
      5e62782d
    • Oliver Tale-Yazdi's avatar
      CI quick-checks: Pull Rust deps in advance (#4867) · 10b68db9
      Oliver Tale-Yazdi authored
      
      Pull the Rust dependencies in advance to see if there is an issue with
      timeouts.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      10b68db9
    • Muharem Ismailov's avatar
      pallet ranked collective: max member count per rank (#4807) · 0b11c27e
      Muharem Ismailov authored
      Configuration for the maximum member count per rank, with the option for
      no limit.
      0b11c27e
    • Oliver Tale-Yazdi's avatar
      Lift all dependencies (the big one) (#4716) · 8efa0544
      Oliver Tale-Yazdi authored
      
      After preparing in https://github.com/paritytech/polkadot-sdk/pull/4633,
      we can lift also all internal dependencies up to the workspace.
      
      This does not actually change anything, but uses `workspace = true` for
      all dependencies. You can check it with:
      ```bash
      git checkout -q $(git merge-base oty-lift-all-deps origin/master)
      cargo tree -e features > master.out
      
      git checkout -q oty-lift-all-deps
      cargo tree -e features > new.out
      diff master.out new.out
      ```
      
      It did not yet lift 100% of dependencies, some inside of `target.*` or
      some that had conflicting aliases introduced recently. But i will do
      these together in a follow-up with CI checks.
      
      Can be reproduced with [zepter](https://github.com/ggwpez/zepter/):
      `zepter transpose d lift-to-workspace "regex:.*" --version-resolver
      highest --skip-package "polkadot-sdk" --ignore-errors --fix`.
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
      8efa0544
    • Bastian Köcher's avatar
      Ensure earliest allowed block is at minimum the next block (#4823) · b7767168
      Bastian Köcher authored
      When `min_enactment_period == 0` and `desired == At(n)` where `n` is
      smaller than the current block number, the scheduling would fail. This
      happened for example here:
      https://collectives.subsquare.io/fellowship/referenda/126
      
      To ensure that this doesn't happen again, ensure that the earliest
      allowed block is at minimum the next block.
      b7767168
    • Deepak Chaudhary's avatar
      pallet-membership should implement ContainsLengthBound (#4865) · fed81f7e
      Deepak Chaudhary authored
      
      ### ISSUE
      Link to the issue:
      https://github.com/paritytech/polkadot-sdk/issues/1143
      
      Deliverables
       - Implement trait `ContainsLengthBound` for pallet-membership
       
      
      ### Test Outcomes
      ___
      Successful tests by running `cargo test -p pallet-membership --features
      runtime-benchmarks`
      
      
      
      running 22 tests
      test tests::__construct_runtime_integrity_test::runtime_integrity_tests
      ... ok
      test benchmark::bench_clear_prime ... ok
      test tests::add_member_works ... ok
      test tests::change_key_with_same_caller_as_argument_changes_nothing ...
      ok
      test tests::change_key_works ... ok
      test benchmark::bench_set_prime ... ok
      test benchmark::bench_remove_member ... ok
      test benchmark::bench_change_key ... ok
      test tests::change_key_works_that_does_not_change_order ... ok
      test benchmark::bench_reset_members ... ok
      test benchmark::bench_add_member ... ok
      test tests::genesis_build_panics_with_duplicate_members - should panic
      ... ok
      test benchmark::bench_swap_member ... ok
      test tests::query_membership_works ... ok
      test tests::prime_member_works ... ok
      test tests::test_genesis_config_builds ... ok
      test tests::remove_member_works ... ok
      test tests::migration_v4 ... ok
      test tests::swap_member_with_identical_arguments_changes_nothing ... ok
      test tests::swap_member_works_that_does_not_change_order ... ok
      test tests::swap_member_works ... ok
      test tests::reset_members_works ... ok
      
      test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered
      out; finished in 0.01s
      
         Doc-tests pallet_membership
      
      running 0 tests
      
      test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered
      out; finished in 0.00s
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      fed81f7e
    • Oliver Tale-Yazdi's avatar
  4. Jun 23, 2024
  5. Jun 22, 2024
    • Muharem Ismailov's avatar
      Frame: `Consideration` trait generic over `Footprint` and indicates zero cost (#4596) · 812dbff1
      Muharem Ismailov authored
      `Consideration` trait generic over `Footprint` and indicates zero cost
      for a give footprint.
      
      `Consideration` trait is generic over `Footprint` (currently defined
      over the type with the same name). This makes it possible to setup a
      custom footprint (e.g. current number of proposals in the storage).
      
      `Consideration::new` and `Consideration::update` return an
      `Option<Self>` instead `Self`, this make it possible to indicate a no
      cost for a specific footprint (e.g. if current number of proposals in
      the storage < max_proposal_count / 2 then no cost).
      
      These cases need to be handled for
      https://github.com/paritytech/polkadot-sdk/pull/3151
      812dbff1
  6. Jun 21, 2024
  7. Jun 20, 2024
    • dependabot[bot]'s avatar
      Bump curve25519-dalek from 4.1.2 to 4.1.3 (#4824) · 74decbbd
      dependabot[bot] authored
      
      Bumps
      [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek)
      from 4.1.2 to 4.1.3.
      <details>
      <summary>Commits</summary>
      <ul>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/5312a0311ec40df95be953eacfa8a11b9a34bc54"><code>5312a03</code></a>
      curve: Bump version to 4.1.3 (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/660">#660</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/b4f9e4df92a4689fb59e312a21f940ba06ba7013"><code>b4f9e4d</code></a>
      SECURITY: fix timing variability in backend/serial/u32/scalar.rs (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/661">#661</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/415892acf1cdf9161bd6a4c99bc2f4cb8fae5e6a"><code>415892a</code></a>
      SECURITY: fix timing variability in backend/serial/u64/scalar.rs (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/659">#659</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/56bf398d0caed63ef1d1edfbd35eb5335132aba2"><code>56bf398</code></a>
      Updates license field to valid SPDX format (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/647">#647</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/9252fa5c0d09054fed4ac4d649e63c40fad7abaf"><code>9252fa5</code></a>
      Mitigate check-cfg until MSRV 1.77 (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/652">#652</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/1efe6a93b176c4389b78e81e52b2cf85d728aac6"><code>1efe6a9</code></a>
      Fix a minor typo in signing.rs (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/649">#649</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/cc3421a22fa7ee1f557cbe9243b450da53bbe962"><code>cc3421a</code></a>
      Indicate that the rand_core feature is required (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/641">#641</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/858c4ca8ae03d33fe8b71b4504c4d3f5ff5b45c0"><code>858c4ca</code></a>
      Address new nightly clippy unnecessary qualifications (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/639">#639</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/31ccb6705067d68782cb135e23c79b640a6a06ee"><code>31ccb67</code></a>
      Remove platforms in favor using CARGO_CFG_TARGET_POINTER_WIDTH (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/636">#636</a>)</li>
      <li><a
      href="https://github.com/dalek-cryptography/curve25519-dalek/commit/19c7f4a5d5e577adc9cc65a837abef9ed7ebf0a4"><code>19c7f4a</code></a>
      Fix new nightly redundant import lint warns (<a
      href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/638">#638</a>)</li>
      <li>Additional commits viewable in <a
      href="https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3">compare
      view</a></li>
      </ul>
      </details>
      <br />
      
      
      [![Dependabot compatibility
      score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=curve25519-dalek&package-manager=cargo&previous-version=4.1.2&new-version=4.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
      
      Dependabot will resolve any conflicts with this PR as long as you don't
      alter it yourself. You can also trigger a rebase manually by commenting
      `@dependabot rebase`.
      
      [//]: # (dependabot-automerge-start)
      [//]: # (dependabot-automerge-end)
      
      ---
      
      <details>
      <summary>Dependabot commands and options</summary>
      <br />
      
      You can trigger Dependabot actions by commenting on this PR:
      - `@dependabot rebase` will rebase this PR
      - `@dependabot recreate` will recreate this PR, overwriting any edits
      that have been made to it
      - `@dependabot merge` will merge this PR after your CI passes on it
      - `@dependabot squash and merge` will squash and merge this PR after
      your CI passes on it
      - `@dependabot cancel merge` will cancel a previously requested merge
      and block automerging
      - `@dependabot reopen` will reopen this PR if it is closed
      - `@dependabot close` will close this PR and stop Dependabot recreating
      it. You can achieve the same result by closing it manually
      - `@dependabot show <dependency name> ignore conditions` will show all
      of the ignore conditions of the specified dependency
      - `@dependabot ignore 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>
      
      Signed-off-by: default avatardependabot[bot] <support@github.com>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      74decbbd
  8. Jun 19, 2024
    • Niklas Adolfsson's avatar
      rpc server: add `health/readiness endpoint` (#4802) · 6c857609
      Niklas Adolfsson authored
      Previous attempt https://github.com/paritytech/substrate/pull/14314
      
      Close #4443 
      
      Ideally, we should move /health and /health/readiness to the prometheus
      server but because it's was quite easy to implement on the RPC server
      and that RPC server already exposes /health.
      
      Manual tests on a polkadot node syncing:
      
      ```bash
      ➜ polkadot-sdk (na-fix-4443) ✗ curl -v localhost:9944/health
      * Host localhost:9944 was resolved.
      * IPv6: ::1
      * IPv4: 127.0.0.1
      *   Trying [::1]:9944...
      * connect to ::1 port 9944 from ::1 port 55024 failed: Connection refused
      *   Trying 127.0.0.1:9944...
      * Connected to localhost (127.0.0.1) port 9944
      > GET /health HTTP/1.1
      > Host: localhost:9944
      > User-Agent: curl/8.5.0
      > Accept: */*
      >
      < HTTP/1.1 200 OK
      < content-type: application/json; charset=utf-8
      < content-length: 53
      < date: Fri, 14 Jun 2024 16:12:23 GMT
      <
      * Connection #0 to host localhost left intact
      {"peers":0,"isSyncing":false,"shouldHavePeers":false}%
      ➜ polkadot-sdk (na-fix-4443) ✗ curl -v localhost:9944/health/readiness
      * Host localhost:9944 was resolved.
      * IPv6: ::1
      * IPv4: 127.0.0.1
      *   Trying [::1]:9944...
      * connect to ::1 port 9944 from ::1 port 54328 failed: Connection refused
      *   Trying 127.0.0.1:9944...
      * Connected to localhost (127.0.0.1) port 9944
      > GET /health/readiness HTTP/1.1
      > Host: localhost:9944
      > User-Agent: curl/8.5.0
      > Accept: */*
      >
      < HTTP/1.1 500 Internal Server Error
      < content-type: application/json; charset=utf-8
      < content-length: 0
      < date: Fri, 14 Jun 2024 16:12:36 GMT
      <
      * Connection #0 to host localhost left intact
      ```
      
      //cc @BulatSaif
      
       you may be interested in this..
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      6c857609
    • Bastian Köcher's avatar
      Fix CLI pruning params (#4836) · 9f09169e
      Bastian Köcher authored
      `ValueEnum` is apparently not using the `from_str`...
      
      Closes: https://github.com/paritytech/polkadot-sdk/issues/4828
      9f09169e
    • Branislav Kontur's avatar
    • Tsvetomir Dimitrov's avatar
      Fix core sharing and make use of scheduling_lookahead (#4724) · 739c37bf
      Tsvetomir Dimitrov authored
      
      Implements most of
      https://github.com/paritytech/polkadot-sdk/issues/1797
      
      Core sharing (two parachains or more marachains scheduled on the same
      core with the same `PartsOf57600` value) was not working correctly. The
      expected behaviour is to have Backed and Included event in each block
      for the paras sharing the core and the paras should take turns. E.g. for
      two cores we expect: Backed(a); Included(a)+Backed(b);
      Included(b)+Backed(a); etc. Instead of this each block contains just one
      event and there are a lot of gaps (blocks w/o events) during the
      session.
      
      Core sharing should also work when collators are building collations
      ahead of time
      
      TODOs:
      
      - [x] Add a zombienet test verifying that the behaviour mentioned above
      works.
      - [x] prdoc
      
      ---------
      
      Co-authored-by: default avataralindima <alin@parity.io>
      739c37bf
  9. Jun 18, 2024