-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Nomination Pool to support multiple staking strategies #3905
Commits on Apr 3, 2024
-
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 77193e5 - Browse repository at this point
Copy the full SHA 77193e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65693d1 - Browse repository at this point
Copy the full SHA 65693d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff36302 - Browse repository at this point
Copy the full SHA ff36302View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 23c65c4 - Browse repository at this point
Copy the full SHA 23c65c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f441d5 - Browse repository at this point
Copy the full SHA 4f441d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b50c9 - Browse repository at this point
Copy the full SHA 58b50c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b946c4a - Browse repository at this point
Copy the full SHA b946c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa9006 - Browse repository at this point
Copy the full SHA 0aa9006View commit details -
Configuration menu - View commit details
-
Copy full SHA for d242356 - Browse repository at this point
Copy the full SHA d242356View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 4fcafd0 - Browse repository at this point
Copy the full SHA 4fcafd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bd5e2c - Browse repository at this point
Copy the full SHA 6bd5e2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb04c5 - Browse repository at this point
Copy the full SHA 2fb04c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7962aac - Browse repository at this point
Copy the full SHA 7962aacView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 83e417d - Browse repository at this point
Copy the full SHA 83e417dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69fddff - Browse repository at this point
Copy the full SHA 69fddffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bd3bc3 - Browse repository at this point
Copy the full SHA 8bd3bc3View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 11da089 - Browse repository at this point
Copy the full SHA 11da089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15a9fc6 - Browse repository at this point
Copy the full SHA 15a9fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a34d28 - Browse repository at this point
Copy the full SHA 1a34d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a75dc5 - Browse repository at this point
Copy the full SHA 2a75dc5View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 21828f3 - Browse repository at this point
Copy the full SHA 21828f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3c274d - Browse repository at this point
Copy the full SHA c3c274dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c85dde - Browse repository at this point
Copy the full SHA 0c85ddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f2d412 - Browse repository at this point
Copy the full SHA 8f2d412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf4dba - Browse repository at this point
Copy the full SHA 0bf4dbaView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for c311332 - Browse repository at this point
Copy the full SHA c311332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd35fe - Browse repository at this point
Copy the full SHA 4bd35feView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5879b71 - Browse repository at this point
Copy the full SHA 5879b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7a3002 - Browse repository at this point
Copy the full SHA e7a3002View commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7800446 - Browse repository at this point
Copy the full SHA 7800446View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 1d86812 - Browse repository at this point
Copy the full SHA 1d86812View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84fb918 - Browse repository at this point
Copy the full SHA 84fb918View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 0248cad - Browse repository at this point
Copy the full SHA 0248cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a7446e - Browse repository at this point
Copy the full SHA 1a7446eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e55cea3 - Browse repository at this point
Copy the full SHA e55cea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbccd0f - Browse repository at this point
Copy the full SHA fbccd0fView commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 0c83496 - Browse repository at this point
Copy the full SHA 0c83496View commit details -
Configuration menu - View commit details
-
Copy full SHA for a48b651 - Browse repository at this point
Copy the full SHA a48b651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8df0f0f - Browse repository at this point
Copy the full SHA 8df0f0fView commit details -
Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 8cd50d0 - Browse repository at this point
Copy the full SHA 8cd50d0View commit details -
Removed
pallet::getter
usage frompallet-alliance
(#3738)Part of #3326 cc @kianenigma @ggwpez @liamaharon polkadot address: 12poSUQPtcF1HUPQGY3zZu2P8emuW9YnsPduA4XG3oCEfJVp --------- Signed-off-by: Matteo Muraca <mmuraca247@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 398eb18 - Browse repository at this point
Copy the full SHA 398eb18View commit details -
network:bridge: fix peer_count metric (#3711)
The metric records the current protocol_version of the validator that just connected with the peer_map.len(), which contains all peers that connected, that has the effect the metric will be wrong since it won't tell us how many peers we have connected per version because it will always record the total number of peers Fix this by counting by version inside peer_map, additionally because that might be a bit heavier than len(), publish it only on-active leaves. --------- Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 140b0f5 - Browse repository at this point
Copy the full SHA 140b0f5View commit details -
[parachain-template] pallet configurations into
mod configs
(#3809)This PR introduces a refactor of the parachain runtime configuration by consolidating all pallet configurations into a new module named `configs`. This change aims to improve the readability and maintainability of the runtime configuration by centralizing all configuration parameters. ## Changes - **Creation of `configs.rs`**: A new file `configs.rs` has been added under `templates/parachain/runtime/src/`, containing all the runtime configurations previously scattered across `lib.rs`. - **Refactoring of `lib.rs`**: The `lib.rs` file has been significantly slimmed down by removing the inline pallet configurations and importing them from `configs.rs` instead. - **Optimization of Import Statements**: Reorganized import statements to clarify the runtime's dependency structure. ### Benefits - **Improved Readability**: With configurations being centralized, developers can now easily locate and review runtime parameters without navigating through the `lib.rs` file. This refactor does not introduce any changes to the runtime logic but improves the project structure for better development experience. --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 01d0b52 - Browse repository at this point
Copy the full SHA 01d0b52View commit details -
Improve
HostConfiguration
consistency check (#3897)fixes #3886 --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Configuration menu - View commit details
-
Copy full SHA for c861b78 - Browse repository at this point
Copy the full SHA c861b78View commit details -
Pools: Make
PermissionlessWithdraw
the default claim permission (#3438) Related Issue #3398 This PR makes permissionless withdrawing the default option, giving any network participant access to claim pool rewards on member's behalf. Of course, members can still opt out of this by setting a `Permissioned` claim permission. Permissionless claiming has been a part of the nomination pool pallet for around 9 months now, with very limited uptake (~4% of total pool members). 1.6% of pool members are using `PermissionlessAll`, strongly suggesting it is not wanted - it is too ambiguous and doesn't provide guidance to claimers. Stakers expect rewards to be claimed on their behalf by default - I have expanded upon this in detail within the [accompanying issue's discussion](#3398). Other protocols have this behaviour, whereby staking rewards are received without the staker having to take any action. From this perspective, permissionless claiming is not intuitive for pool members. As evidence of this, over 150,000 DOT is currently unclaimed on Polkadot, and is growing at a non-linear rate.
Configuration menu - View commit details
-
Copy full SHA for 2d82d2b - Browse repository at this point
Copy the full SHA 2d82d2bView commit details -
Fix 0007-dispute-freshly-finalized.zndsl failing (#3893)
Test started failing after 66051ad which enabled approval coalescing, that was expected to happen because the test required an polkadot_parachain_approval_checking_finality_lag of 0, which can't happen with max_approval_coalesce_count greater than 1 because we always delay the approval for no_show_duration_ticks/2 in case we can coalesce it with other approvals. So relax a bit the restrictions, since we don't actually care that the lags are 0, but the fact the finalities are progressing and are not stuck. Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 780e29d - Browse repository at this point
Copy the full SHA 780e29dView commit details -
primitives: Move out of staging released APIs (#3925)
Runtime release 1.2 includes bumping of the ParachainHost APIs up to v10, so let's move all the released APIs out of vstaging folder, this PR does not include any logic changes only renaming of the modules and some moving around. Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5a8f14b - Browse repository at this point
Copy the full SHA 5a8f14bView commit details -
Fix links Related CI failure: https://github.com/paritytech/polkadot-sdk/actions/runs/8455425042/job/23162858534?pr=3859
Configuration menu - View commit details
-
Copy full SHA for b4cb8d1 - Browse repository at this point
Copy the full SHA b4cb8d1View commit details -
pallet-scheduler: fix test (#3923)
fix #3921 --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Configuration menu - View commit details
-
Copy full SHA for be8bd2d - Browse repository at this point
Copy the full SHA be8bd2dView commit details -
im-online
removal final cleanup (#3902)Rejoice! Rejoice! The story is nearly over. This PR removes stale migrations, auxiliary structures, and package dependencies, thus making Rococo and Westend totally free from any `im-online`-related stuff. `im-online` still stays a part of the Substrate node and its runtime: https://github.com/paritytech/polkadot-sdk/blob/0d9324847391e902bb42f84f0e76096b1f764efe/substrate/bin/node/runtime/src/lib.rs#L2276-L2277 I'm not sure if it makes sense to remove it from there considering that we're not removing `im-online` from FRAME. Please share your opinion.
Configuration menu - View commit details
-
Copy full SHA for 5e3d97e - Browse repository at this point
Copy the full SHA 5e3d97eView commit details -
Update derive syn parse 0.2.0 (+ docify) (#3920)
derive-syn-parse v0.2.0 came out recently which (finally) adds support for syn 2x. Upgrading to this will remove many of the places where syn 1x was still compiling alongside syn 2x in the polkadot-sdk workspace. This also upgrades `docify` to 0.2.8 which is the version that upgrades derive-syn-pasre to 0.2.0. Additionally, this consolidates the `docify` versions in the repo to all use the latest, and in one case upgrades to the 0.2x syntax where 0.1.x was still being used. --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f2e654 - Browse repository at this point
Copy the full SHA 8f2e654View commit details -
pallet-xcm: fix weights for all XTs and deprecate unlimited weight on…
…es (#3927) Fix "double-weights" for extrinsics, use only the ones benchmarked in the runtime. Deprecate extrinsics that don't specify WeightLimit, remove their usage across the repo. --------- Signed-off-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 00529bc - Browse repository at this point
Copy the full SHA 00529bcView commit details -
Fix parachain upgrade scheduling when done by the owner/root (#3341)
When using `schedule_code_upgrade` to change the code of a parachain in the relay chain runtime, we had already fixed to not set the `GoAhead` signal. This was done to not brick any parachain after the upgrade, because they were seeing the signal without having any upgrade prepared. The remaining problem is that the parachain code is only upgraded after a parachain header was enacted, aka the parachain made some progress. However, this is quite complicated if the parachain is bricked (which is the most common scenario why to manually schedule a code upgrade). Thus, this pull request replaces `SetGoAhead` with `UpgradeStrategy` to signal to the logic kind of strategy want to use. The strategies are either `SetGoAheadSignal` or `ApplyAtExpectedBlock`. `SetGoAheadSignal` sets the go ahead signal as before and awaits a parachain block. `ApplyAtExpectedBlock` schedules the upgrade and applies it directly at the `expected_block` without waiting for the parachain to make any kind of progress.
Configuration menu - View commit details
-
Copy full SHA for 14603f2 - Browse repository at this point
Copy the full SHA 14603f2View commit details -
chore(zombienet): bump version (#3933)
This version includes: - Internal metrics of zombienet (used to benchmark with v2).
Configuration menu - View commit details
-
Copy full SHA for e43f54f - Browse repository at this point
Copy the full SHA e43f54fView commit details -
Update bridges subtree (#3938)
Pulling the latest changes from `parity-bridges-common`
Configuration menu - View commit details
-
Copy full SHA for ff1007e - Browse repository at this point
Copy the full SHA ff1007eView commit details -
beefy: error logs for validators with dummy keys (#3939)
This outputs: ``` 2024-04-02 14:36:02.135 ERROR tokio-runtime-worker beefy: 🥩 for session starting at block 21990151 no BEEFY authority key found in store, you must generate valid session keys (https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#generating-the-session-keys) ``` error log entry, once every session, for nodes running with `Role::Authority` that have no public BEEFY key in their keystore --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 3021cbc - Browse repository at this point
Copy the full SHA 3021cbcView commit details -
chainHead: Allow methods to be called from within a single connection…
… context and limit connections (#3481) This PR ensures that the chainHead RPC class can be called only from within the same connection context. The chainHead methods are now registered as raw methods. - paritytech/jsonrpsee#1297 The concept of raw methods is introduced in jsonrpsee, which is an async method that exposes the connection ID: The raw method doesn't have the concept of a blocking method. Previously blocking methods are now spawning a blocking task to handle their blocking (ie DB) access. We spawn the same number of tasks as before, however we do that explicitly. Another approach would be implementing a RPC middleware that captures and decodes the method parameters: - #3343 However, that approach is prone to errors since the methods are hardcoded by name. Performace is affected by the double deserialization that needs to happen to extract the subscription ID we'd like to limit. Once from the middleware, and once from the methods itself. This PR paves the way to implement the chainHead connection limiter: - #1505 Registering tokens (subscription ID / operation ID) on the `RpcConnections` could be extended to return an error when the maximum number of operations is reached. While at it, have added an integration-test to ensure that chainHead methods can be called from within the same connection context. Before this is merged, a new JsonRPC release should be made to expose the `raw-methods`: - [x] Use jsonrpsee from crates io (blocked by: paritytech/jsonrpsee#1297) Closes: #3207 cc @paritytech/subxt-team --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a1e6f04 - Browse repository at this point
Copy the full SHA a1e6f04View commit details -
Align dependencies with
parity-bridges-common
(#3937)Working towards migrating the `parity-bridges-common` repo inside `polkadot-sdk`. This PR upgrades some dependencies in order to align them with the versions used in `parity-bridges-common` Related to paritytech/parity-bridges-common#2538
Configuration menu - View commit details
-
Copy full SHA for 8164280 - Browse repository at this point
Copy the full SHA 8164280View commit details -
migrations: prevent accidentally using unversioned migrations instead…
… of `VersionedMigration` (#3835) closes #1324 #### Problem Currently, it is possible to accidentally use inner unversioned migration instead of `VersionedMigration` since both implement `OnRuntimeUpgrade`. #### Solution With this change, we make it clear that value of `Inner` is not intended to be used directly. It is achieved by bounding `Inner` to new trait `UncheckedOnRuntimeUpgrade`, which has the same interface (except `unchecked_` prefix) as `OnRuntimeUpgrade`. #### `try-runtime` functions Since developers can implement `try-runtime` for `Inner` value in `VersionedMigration` and have custom logic for it, I added the same `try-runtime` functions to `UncheckedOnRuntimeUpgrade`. I looked for a ways to not duplicate functions, but couldn't find anything that doesn't significantly change the codebase. So I would appreciate If you have any suggestions to improve this cc @liamaharon @xlc polkadot address: 16FqwPZ8GRC5U5D4Fu7W33nA55ZXzXGWHwmbnE1eT6pxuqcT --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for b659b7d - Browse repository at this point
Copy the full SHA b659b7dView commit details -
Snowbridge: Synchronize from Snowfork repository (#3761)
This PR includes the following 2 improvements: ## Ethereum Client Author: @yrong ### Original Upstream PRs - Snowfork#123 - Snowfork#125 ### Description The Ethereum client syncs beacon headers as they are finalized, and imports every execution header. When a message is received, it is verified against the import execution header. This is unnecessary, since the execution header can be sent with the message as proof. The recent Deneb Ethereum upgrade made it easier to locate the relevant beacon header from an execution header, and so this improvement was made possible. This resolves a concern @svyatonik had in our initial Rococo PR: #2522 (comment) ## Inbound Queue Author: @yrong ### Original Upstream PR - Snowfork#118 ### Description When the AH sovereign account (who pays relayer rewards) is depleted, the inbound message will not fail. The relayer just will not receive rewards. Both these changes were done by @yrong, many thanks. ❤️ --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Ron <yrong1997@gmail.com> Co-authored-by: Vincent Geddes <vincent@snowfork.com> Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0a98610 - Browse repository at this point
Copy the full SHA 0a98610View commit details -
sp_runtime: TryFrom<RuntimeString> for &str (#3942)
Added `TryFrom<&'a RuntimeString> for &'a str`
Configuration menu - View commit details
-
Copy full SHA for 7d6679e - Browse repository at this point
Copy the full SHA 7d6679eView commit details -
SortedMembers::add for pallet-membership benchmarks (#3729)
Adds implementation for `SortedMembers::add` for _pallet-membership_ benchmarks. --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 67de6ed - Browse repository at this point
Copy the full SHA 67de6edView commit details -
Remove nextest filtration (#3885)
Fixes #3884 (comment) After moving regression tests to benchmarks (#3741) we don't need to filter tests anymore. --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: Alin Dima <alin@parity.io> Co-authored-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com> Co-authored-by: Serban Iorga <serban@parity.io> Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: Dastan <88332432+dastansam@users.noreply.github.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Clara van Staden <claravanstaden64@gmail.com> Co-authored-by: Ron <yrong1997@gmail.com> Co-authored-by: Vincent Geddes <vincent@snowfork.com> Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com> Co-authored-by: Bastian Köcher <info@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for c47d5f4 - Browse repository at this point
Copy the full SHA c47d5f4View commit details -
statement-distribution: fix filtering of statements for elastic parac…
Configuration menu - View commit details
-
Copy full SHA for e4cd533 - Browse repository at this point
Copy the full SHA e4cd533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5536d86 - Browse repository at this point
Copy the full SHA 5536d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e437ad - Browse repository at this point
Copy the full SHA 7e437adView commit details -
chainHead: Ensure reasonable distance between leaf and finalized block (
#3562) This PR ensure that the distance between any leaf and the finalized block is within a reasonable distance. For a new subscription, the chainHead has to provide all blocks between the leaves of the chain and the finalized block. When the distance between a leaf and the finalized block is large: - The tree route is costly to compute - We could deliver an unbounded number of blocks (potentially millions) (For more details see #3445 (comment)) The configuration of the ChainHead is extended with: - suspend on lagging distance: When the distance between any leaf and the finalized block is greater than this number, the subscriptions are suspended for a given duration. - All active subscriptions are terminated with the `Stop` event, all blocks are unpinned and data discarded. - For incoming subscriptions, until the suspended period expires the subscriptions will immediately receive the `Stop` event. - Defaults to 128 blocks - suspended duration: The amount of time for which subscriptions are suspended - Defaults to 30 seconds cc @paritytech/subxt-team --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 743cfee - Browse repository at this point
Copy the full SHA 743cfeeView commit details -
Enable pov-reclaim on rococo and westend parachains (#3858)
Enables pov-reclaim on the rococo/westend parachains, part of #3622
Configuration menu - View commit details
-
Copy full SHA for c5a043f - Browse repository at this point
Copy the full SHA c5a043fView commit details -
Add ClaimQueue wrapper (#3950)
Remove `fetch_next_scheduled_on_core` in favor of new wrapper and methods for accessing it. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5a1b92d - Browse repository at this point
Copy the full SHA 5a1b92dView commit details -
Renames
frame
crate topolkadot-sdk-frame
(#3813)Step in #3155 Needed for paritytech/eng-automation#6 This PR renames `frame` crate to `polkadot-sdk-frame` as `frame` is not available on crates.io --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8518593 - Browse repository at this point
Copy the full SHA 8518593View commit details -
Convince GitLab not to crop collapsed multiline strings (#3971)
Use of `- >` instead of `- |` workarounds GitLab quirk when it crops collapsed multiline `script:` section commands in its CI job logs. This PR also fixes `- |` based `script:` steps to behave properly after `- >` conversion. Resolves paritytech/ci_cd#972.
Configuration menu - View commit details
-
Copy full SHA for 23860fc - Browse repository at this point
Copy the full SHA 23860fcView commit details -
Use 0.1.0 as minimum version for crates (#3941)
CI will be enforcing this with next parity-publish release
Configuration menu - View commit details
-
Copy full SHA for 73fdff8 - Browse repository at this point
Copy the full SHA 73fdff8View commit details -
Fix Mermaid diagram rendering (#3875)
Closes #2977 The issue appears to stem from the `aquamarine` crate failing to render diagrams in re-exported crates. e.g. as raised [here](#2977), diagrams would render at `frame_support::traits::Hooks` but not the re-exported doc `frame::traits::Hooks`, even if I added `aquamarine` as a `frame` crate dependency. To resolve this, I followed advice in mersinvald/aquamarine#20 to instead render mermaid diagrams directly using JS by adding an `after-content.js`. --- Also fixes compile warnings, enables `--all-features` and disallows future warnings in CI. --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 63064e6 - Browse repository at this point
Copy the full SHA 63064e6View commit details -
[doc] Example MBM pallet (#2119)
## Basic example showcasing a migration using the MBM framework This PR has been built on top of #1781 and adds two new example crates to the `examples` pallet ### Changes Made: Added the `pallet-example-mbm` crate: This crate provides a minimal example of a pallet that uses MBM. It showcases a storage migration where values are migrated from a `u32` to a `u64`. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f49bf6 - Browse repository at this point
Copy the full SHA 2f49bf6View commit details -
XCM builder pattern improvement - Accept
impl Into<T>
instead of ju……st `T` (#3708) The XCM builder pattern lets you build xcms like so: ```rust let xcm = Xcm::builder() .withdraw_asset((Parent, 100u128).into()) .buy_execution((Parent, 1u128).into()) .deposit_asset(All.into(), AccountId32 { id: [0u8; 32], network: None }.into()) .build(); ``` All the `.into()` become quite annoying to have to write. I accepted `impl Into<T>` instead of `T` in the generated methods from the macro. Now the previous example can be simplified as follows: ```rust let xcm = Xcm::builder() .withdraw_asset((Parent, 100u128)) .buy_execution((Parent, 1u128)) .deposit_asset(All, [0u8; 32]) .build(); ``` --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: command-bot <> Co-authored-by: Adrian Catangiu <adrian@parity.io>
Configuration menu - View commit details
-
Copy full SHA for fa02ada - Browse repository at this point
Copy the full SHA fa02adaView commit details -
Migrate fee payment from
Currency
tofungible
(#2292)Part of #226 Related #1833 - Deprecate `CurrencyAdapter` and introduce `FungibleAdapter` - Deprecate `ToStakingPot` and replace usage with `ResolveTo` - Required creating a new `StakingPotAccountId` struct that implements `TypedGet` for the staking pot account ID - Update parachain common utils `DealWithFees`, `ToAuthor` and `AssetsToBlockAuthor` implementations to use `fungible` - Update runtime XCM Weight Traders to use `ResolveTo` instead of `ToStakingPot` - Update runtime Transaction Payment pallets to use `FungibleAdapter` instead of `CurrencyAdapter` - [x] Blocked by #1296, needs the `Unbalanced::decrease_balance` fix
Configuration menu - View commit details
-
Copy full SHA for d199fd3 - Browse repository at this point
Copy the full SHA d199fd3View commit details -
Added support for coretime-kusama/polkadot and people-kusama/polkadot (…
…#3961) ## Running `./polkadot-parachain --chain coretime-kusama` works now: **Parachain genesis state and header** match expected ones from https://gist.github.com/bkontur/f74fc00fd726d09bc7f0f3a9f51ec113?permalink_comment_id=5009857#gistcomment-5009857 ``` 2024-04-03 12:03:58 [Parachain] 🔨 Initializing Genesis block/state (state: 0xc418…889c, header-hash: 0x638c…d050) ... 2024-04-03 12:04:04 [Parachain] 💤 Idle (0 peers), best: #0 (0x638c…d050), finalized #0 (0x638c…d050) ``` **Relaychain genesis state and header** match expected ones: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/explorer/query/0 ``` 2024-04-03 12:03:59 [Relaychain] 🔨 Initializing Genesis block/state (state: 0xb000…ef6b, header-hash: 0xb0a8…dafe) ``` **Full logs:** ``` bparity@bkontur-ThinkPad-P14s-Gen-2i:~/parity/polkadot-sdk$ ./target/debug/polkadot-parachain --chain coretime-kusama 2024-04-03 12:03:52 Polkadot parachain 2024-04-03 12:03:52 ✌️ version 4.0.0-665e3654cec 2024-04-03 12:03:52 ❤️ by Parity Technologies <admin@parity.io>, 2017-2024 2024-04-03 12:03:52 📋 Chain specification: Kusama Coretime 2024-04-03 12:03:52 🏷 Node name: subsequent-quicksand-2382 2024-04-03 12:03:52 👤 Role: FULL 2024-04-03 12:03:52 💾 Database: RocksDb at /home/bparity/.local/share/polkadot-parachain/chains/coretime-kusama/db/full 2024-04-03 12:03:54 Parachain id: Id(1005) 2024-04-03 12:03:54 Parachain Account: 5Ec4AhPakEiNWFbAd26nRrREnaGQZo3uukPDC5xLr6314Dwg 2024-04-03 12:03:54 Is collating: no 2024-04-03 12:03:58 [Parachain] 🔨 Initializing Genesis block/state (state: 0xc418…889c, header-hash: 0x638c…d050) 2024-04-03 12:03:59 [Relaychain] 🔨 Initializing Genesis block/state (state: 0xb000…ef6b, header-hash: 0xb0a8…dafe) 2024-04-03 12:03:59 [Relaychain] 👴 Loading GRANDPA authority set from genesis on what appears to be first startup. 2024-04-03 12:03:59 [Relaychain] 👶 Creating empty BABE epoch changes on what appears to be first startup. 2024-04-03 12:03:59 [Relaychain] 🏷 Local node identity is: 12D3KooWSfXNBZYimwSKBqfKf7F1X6adNQQD5HVQbdnvSyBFn8Wd 2024-04-03 12:03:59 [Relaychain] 💻 Operating system: linux 2024-04-03 12:03:59 [Relaychain] 💻 CPU architecture: x86_64 2024-04-03 12:03:59 [Relaychain] 💻 Target environment: gnu 2024-04-03 12:03:59 [Relaychain] 💻 CPU: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz 2024-04-03 12:03:59 [Relaychain] 💻 CPU cores: 4 2024-04-03 12:03:59 [Relaychain] 💻 Memory: 31797MB 2024-04-03 12:03:59 [Relaychain] 💻 Kernel: 5.15.0-101-generic 2024-04-03 12:03:59 [Relaychain] 💻 Linux distribution: Ubuntu 20.04.6 LTS 2024-04-03 12:03:59 [Relaychain] 💻 Virtual machine: no 2024-04-03 12:03:59 [Relaychain] 📦 Highest known block at #0 2024-04-03 12:03:59 [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616 2024-04-03 12:03:59 [Relaychain] Running JSON-RPC server: addr=127.0.0.1:9945, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"] 2024-04-03 12:03:59 [Relaychain] 🏁 CPU score: 1.40 GiBs 2024-04-03 12:03:59 [Relaychain] 🏁 Memory score: 15.42 GiBs 2024-04-03 12:03:59 [Relaychain] 🏁 Disk score (seq. writes): 1.39 GiBs 2024-04-03 12:03:59 [Relaychain] 🏁 Disk score (rand. writes): 690.56 MiBs 2024-04-03 12:03:59 [Parachain] Using default protocol ID "sup" because none is configured in the chain specs 2024-04-03 12:03:59 [Parachain] 🏷 Local node identity is: 12D3KooWAAvNqXn8WPmvnEj36j7HsdbtpRpmWDPT9xtp4CuphvxW 2024-04-03 12:03:59 [Parachain] 💻 Operating system: linux 2024-04-03 12:03:59 [Parachain] 💻 CPU architecture: x86_64 2024-04-03 12:03:59 [Parachain] 💻 Target environment: gnu 2024-04-03 12:03:59 [Parachain] 💻 CPU: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz 2024-04-03 12:03:59 [Parachain] 💻 CPU cores: 4 2024-04-03 12:03:59 [Parachain] 💻 Memory: 31797MB 2024-04-03 12:03:59 [Parachain] 💻 Kernel: 5.15.0-101-generic 2024-04-03 12:03:59 [Parachain] 💻 Linux distribution: Ubuntu 20.04.6 LTS 2024-04-03 12:03:59 [Parachain] 💻 Virtual machine: no 2024-04-03 12:03:59 [Parachain] 📦 Highest known block at #0 2024-04-03 12:03:59 [Parachain] 〽️ Prometheus exporter started at 127.0.0.1:9615 2024-04-03 12:03:59 [Parachain] Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"] 2024-04-03 12:03:59 [Parachain] 🏁 CPU score: 1.40 GiBs 2024-04-03 12:03:59 [Parachain] 🏁 Memory score: 15.42 GiBs 2024-04-03 12:03:59 [Parachain] 🏁 Disk score (seq. writes): 1.39 GiBs 2024-04-03 12:03:59 [Parachain] 🏁 Disk score (rand. writes): 690.56 MiBs 2024-04-03 12:03:59 [Parachain] discovered: 12D3KooWSfXNBZYimwSKBqfKf7F1X6adNQQD5HVQbdnvSyBFn8Wd /ip4/192.168.1.100/tcp/30334/ws 2024-04-03 12:03:59 [Relaychain] discovered: 12D3KooWAAvNqXn8WPmvnEj36j7HsdbtpRpmWDPT9xtp4CuphvxW /ip4/192.168.1.100/tcp/30333/ws 2024-04-03 12:03:59 [Relaychain] discovered: 12D3KooWAAvNqXn8WPmvnEj36j7HsdbtpRpmWDPT9xtp4CuphvxW /ip4/172.18.0.1/tcp/30333/ws 2024-04-03 12:03:59 [Parachain] discovered: 12D3KooWSfXNBZYimwSKBqfKf7F1X6adNQQD5HVQbdnvSyBFn8Wd /ip4/172.17.0.1/tcp/30334/ws 2024-04-03 12:03:59 [Relaychain] discovered: 12D3KooWAAvNqXn8WPmvnEj36j7HsdbtpRpmWDPT9xtp4CuphvxW /ip4/172.17.0.1/tcp/30333/ws 2024-04-03 12:03:59 [Parachain] discovered: 12D3KooWSfXNBZYimwSKBqfKf7F1X6adNQQD5HVQbdnvSyBFn8Wd /ip4/172.18.0.1/tcp/30334/ws 2024-04-03 12:04:00 [Relaychain] 🔍 Discovered new external address for our node: /ip4/178.41.176.246/tcp/30334/ws/p2p/12D3KooWSfXNBZYimwSKBqfKf7F1X6adNQQD5HVQbdnvSyBFn8Wd 2024-04-03 12:04:00 [Relaychain] Sending fatal alert BadCertificate 2024-04-03 12:04:00 [Relaychain] Sending fatal alert BadCertificate 2024-04-03 12:04:04 [Relaychain] ⚙️ Syncing, target=#22575321 (7 peers), best: #738 (0x1803…bbef), finalized #512 (0xb9b6…7014), ⬇ 328.5kiB/s ⬆ 102.9kiB/s 2024-04-03 12:04:04 [Parachain] 💤 Idle (0 peers), best: #0 (0x638c…d050), finalized #0 (0x638c…d050), ⬇ 0 ⬆ 0 2024-04-03 12:04:09 [Relaychain] ⚙️ Syncing 169.5 bps, target=#22575322 (8 peers), best: #1586 (0x405b…a8aa), finalized #1536 (0x55d1…fb04), ⬇ 232.3kiB/s ⬆ 55.9kiB/s 2024-04-03 12:04:09 [Parachain] 💤 Idle (0 peers), best: #0 (0x638c…d050), finalized #0 (0x638c…d050), ⬇ 0 ⬆ 0 2024-04-03 12:04:14 [Relaychain] ⚙️ Syncing 168.0 bps, target=#22575323 (8 peers), best: #2426 (0x155f…d083), finalized #2048 (0xede6…f879), ⬇ 235.8kiB/s ⬆ 67.2kiB/s 2024-04-03 12:04:14 [Parachain] 💤 Idle (0 peers), best: #0 (0x638c…d050), finalized #0 (0x638c…d050), ⬇ 0 ⬆ 0 2024-04-03 12:04:19 [Relaychain] ⚙️ Syncing 170.0 bps, target=#22575324 (8 peers), best: #3276 (0x94d8…097e), finalized #3072 (0x0e4c…f587), ⬇ 129.0kiB/s ⬆ 34.0kiB/s ... ``` ## Running `./polkadot-parachain --chain people-kusama` works now: **Parachain genesis state and header** match expected ones from https://gist.github.com/bkontur/f74fc00fd726d09bc7f0f3a9f51ec113?permalink_comment_id=5011798#gistcomment-5011798 ``` 2024-04-04 10:26:24 [Parachain] 🔨 Initializing Genesis block/state (state: 0x023a…2733, header-hash: 0x07b8…2645) ... 2024-04-04 10:26:30 [Parachain] 💤 Idle (0 peers), best: #0 (0x07b8…2645), finalized #0 (0x07b8…2645), ⬇ 0 ⬆ 0 ``` **Relaychain genesis state and header** match expected ones: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama-rpc.polkadot.io#/explorer/query/0 ``` 2024-04-04 10:26:25 [Relaychain] 🔨 Initializing Genesis block/state (state: 0xb000…ef6b, header-hash: 0xb0a8…dafe) ``` **Full logs:** ``` bparity@bkontur-ThinkPad-P14s-Gen-2i:~/parity/aaa/polkadot-sdk$ ./target/debug/polkadot-parachain --chain people-kusama 2024-04-04 10:26:18 Polkadot parachain 2024-04-04 10:26:18 ✌️ version 4.0.0-39274bb75fc 2024-04-04 10:26:18 ❤️ by Parity Technologies <admin@parity.io>, 2017-2024 2024-04-04 10:26:18 📋 Chain specification: Kusama People 2024-04-04 10:26:18 🏷 Node name: knotty-flight-5398 2024-04-04 10:26:18 👤 Role: FULL 2024-04-04 10:26:18 💾 Database: RocksDb at /home/bparity/.local/share/polkadot-parachain/chains/people-kusama/db/full 2024-04-04 10:26:21 Parachain id: Id(1004) 2024-04-04 10:26:21 Parachain Account: 5Ec4AhPaYcfBz8fMoPd4EfnAgwbzRS7np3APZUnnFo12qEYk 2024-04-04 10:26:21 Is collating: no 2024-04-04 10:26:24 [Parachain] 🔨 Initializing Genesis block/state (state: 0x023a…2733, header-hash: 0x07b8…2645) 2024-04-04 10:26:25 [Relaychain] 🔨 Initializing Genesis block/state (state: 0xb000…ef6b, header-hash: 0xb0a8…dafe) 2024-04-04 10:26:25 [Relaychain] 👴 Loading GRANDPA authority set from genesis on what appears to be first startup. 2024-04-04 10:26:25 [Relaychain] 👶 Creating empty BABE epoch changes on what appears to be first startup. 2024-04-04 10:26:25 [Relaychain] 🏷 Local node identity is: 12D3KooWPoTVhnrFNzVYJPR42HE9rYjXhkKHFDL9ut5nafDqJHKB 2024-04-04 10:26:25 [Relaychain] 💻 Operating system: linux 2024-04-04 10:26:25 [Relaychain] 💻 CPU architecture: x86_64 2024-04-04 10:26:25 [Relaychain] 💻 Target environment: gnu 2024-04-04 10:26:25 [Relaychain] 💻 CPU: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz 2024-04-04 10:26:25 [Relaychain] 💻 CPU cores: 4 2024-04-04 10:26:25 [Relaychain] 💻 Memory: 31797MB 2024-04-04 10:26:25 [Relaychain] 💻 Kernel: 5.15.0-101-generic 2024-04-04 10:26:25 [Relaychain] 💻 Linux distribution: Ubuntu 20.04.6 LTS 2024-04-04 10:26:25 [Relaychain] 💻 Virtual machine: no 2024-04-04 10:26:25 [Relaychain] 📦 Highest known block at #0 2024-04-04 10:26:25 [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616 2024-04-04 10:26:25 [Relaychain] Running JSON-RPC server: addr=127.0.0.1:9945, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"] 2024-04-04 10:26:25 [Relaychain] 🏁 CPU score: 1.18 GiBs 2024-04-04 10:26:25 [Relaychain] 🏁 Memory score: 15.61 GiBs 2024-04-04 10:26:25 [Relaychain] 🏁 Disk score (seq. writes): 1.49 GiBs 2024-04-04 10:26:25 [Relaychain] 🏁 Disk score (rand. writes): 650.01 MiBs 2024-04-04 10:26:25 [Parachain] Using default protocol ID "sup" because none is configured in the chain specs 2024-04-04 10:26:25 [Parachain] 🏷 Local node identity is: 12D3KooWS2WPQgtiZZYT6bLGjwGcJU7QVd5EeQvb4jHN3NVSWDdj 2024-04-04 10:26:25 [Parachain] 💻 Operating system: linux 2024-04-04 10:26:25 [Parachain] 💻 CPU architecture: x86_64 2024-04-04 10:26:25 [Parachain] 💻 Target environment: gnu 2024-04-04 10:26:25 [Parachain] 💻 CPU: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz 2024-04-04 10:26:25 [Parachain] 💻 CPU cores: 4 2024-04-04 10:26:25 [Parachain] 💻 Memory: 31797MB 2024-04-04 10:26:25 [Parachain] 💻 Kernel: 5.15.0-101-generic 2024-04-04 10:26:25 [Parachain] 💻 Linux distribution: Ubuntu 20.04.6 LTS 2024-04-04 10:26:25 [Parachain] 💻 Virtual machine: no 2024-04-04 10:26:25 [Parachain] 📦 Highest known block at #0 2024-04-04 10:26:25 [Parachain] 〽️ Prometheus exporter started at 127.0.0.1:9615 2024-04-04 10:26:25 [Parachain] Running JSON-RPC server: addr=127.0.0.1:9944, allowed origins=["http://localhost:*", "http://127.0.0.1:*", "https://localhost:*", "https://127.0.0.1:*", "https://polkadot.js.org"] 2024-04-04 10:26:25 [Parachain] 🏁 CPU score: 1.18 GiBs 2024-04-04 10:26:25 [Parachain] 🏁 Memory score: 15.61 GiBs 2024-04-04 10:26:25 [Parachain] 🏁 Disk score (seq. writes): 1.49 GiBs 2024-04-04 10:26:25 [Parachain] 🏁 Disk score (rand. writes): 650.01 MiBs 2024-04-04 10:26:25 [Parachain] discovered: 12D3KooWPoTVhnrFNzVYJPR42HE9rYjXhkKHFDL9ut5nafDqJHKB /ip4/172.17.0.1/tcp/30334/ws 2024-04-04 10:26:25 [Relaychain] discovered: 12D3KooWS2WPQgtiZZYT6bLGjwGcJU7QVd5EeQvb4jHN3NVSWDdj /ip4/172.18.0.1/tcp/30333/ws 2024-04-04 10:26:25 [Relaychain] discovered: 12D3KooWS2WPQgtiZZYT6bLGjwGcJU7QVd5EeQvb4jHN3NVSWDdj /ip4/192.168.1.100/tcp/30333/ws 2024-04-04 10:26:25 [Parachain] discovered: 12D3KooWPoTVhnrFNzVYJPR42HE9rYjXhkKHFDL9ut5nafDqJHKB /ip4/172.18.0.1/tcp/30334/ws 2024-04-04 10:26:25 [Relaychain] discovered: 12D3KooWS2WPQgtiZZYT6bLGjwGcJU7QVd5EeQvb4jHN3NVSWDdj /ip4/172.17.0.1/tcp/30333/ws 2024-04-04 10:26:25 [Parachain] discovered: 12D3KooWPoTVhnrFNzVYJPR42HE9rYjXhkKHFDL9ut5nafDqJHKB /ip4/192.168.1.100/tcp/30334/ws 2024-04-04 10:26:26 [Relaychain] 🔍 Discovered new external address for our node: /ip4/178.41.176.246/tcp/30334/ws/p2p/12D3KooWPoTVhnrFNzVYJPR42HE9rYjXhkKHFDL9ut5nafDqJHKB 2024-04-04 10:26:27 [Relaychain] Sending fatal alert BadCertificate 2024-04-04 10:26:27 [Relaychain] Sending fatal alert BadCertificate 2024-04-04 10:26:30 [Relaychain] ⚙️ Syncing, target=#22588722 (8 peers), best: #638 (0xa9cd…7c30), finalized #512 (0xb9b6…7014), ⬇ 345.6kiB/s ⬆ 108.7kiB/s 2024-04-04 10:26:30 [Parachain] 💤 Idle (0 peers), best: #0 (0x07b8…2645), finalized #0 (0x07b8…2645), ⬇ 0 ⬆ 0 2024-04-04 10:26:35 [Relaychain] ⚙️ Syncing 174.4 bps, target=#22588722 (9 peers), best: #1510 (0xec0b…72f0), finalized #1024 (0x3f17…fd7f), ⬇ 203.1kiB/s ⬆ 45.0kiB/s 2024-04-04 10:26:35 [Parachain] 💤 Idle (0 peers), best: #0 (0x07b8…2645), finalized #0 (0x07b8…2645), ⬇ 0 ⬆ 0 2024-04-04 10:26:40 [Relaychain] ⚙️ Syncing 168.9 bps, target=#22588723 (9 peers), best: #2355 (0xa68b…3a64), finalized #2048 (0xede6…f879), ⬇ 201.6kiB/s ⬆ 47.4kiB/s 2024-04-04 10:26:40 [Parachain] 💤 Idle (0 peers), best: #0 (0x07b8…2645), finalized #0 (0x07b8…2645), ⬇ 0 ⬆ 0 ``` ## TODO - [x] double check `cumulus/polkadot-parachain/chain-specs/coretime-kusama.json` (safeXcmVersion=3) see [comment](#3961 (comment)) - [x] check if ~~`start_generic_aura_node`~~ or `start_generic_aura_lookahead_node` - [x] generate chain-spec for `people-kusama` --------- Co-authored-by: Dónal Murray <donal.murray@parity.io>
Configuration menu - View commit details
-
Copy full SHA for e8db4e2 - Browse repository at this point
Copy the full SHA e8db4e2View commit details -
Make
BlockNumberProvider::set_block_number
available in tests / std (……#3974) This function is currently only exposed to runtime-benchmarks, where it should be available in all tests. Also made it available in `std` because this is how `set_block_number` works in FRAME System, however, not sure if it is needed in the latest std/no_std paradigm. --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 569a318 - Browse repository at this point
Copy the full SHA 569a318View commit details -
GenesisConfig
presets for runtime (#2714)The runtime now can provide a number of predefined presets of `RuntimeGenesisConfig` struct. This presets are intended to be used in different deployments, e.g.: `local`, `staging`, etc, and should be included into the corresponding chain-specs. Having `GenesisConfig` presets in runtime allows to fully decouple node from runtime types (the problem is described in #1984). **Summary of changes:** - The `GenesisBuilder` API was adjusted to enable this functionality (and provide better naming - #150): ```rust fn preset_names() -> Vec<PresetId>; fn get_preset(id: Option<PresetId>) -> Option<serde_json::Value>; //`None` means default fn build_state(value: serde_json::Value); pub struct PresetId(Vec<u8>); ``` - **Breaking change**: Old `create_default_config` method was removed, `build_config` was renamed to `build_state`. As a consequence a node won't be able to interact with genesis config for older runtimes. The cleanup was made for sake of API simplicity. Also IMO maintaining compatibility with old API is not so crucial. - Reference implementation was provided for `substrate-test-runtime` and `rococo` runtimes. For rococo new [`genesis_configs_presets`](https://github.com/paritytech/polkadot-sdk/blob/3b41d66b97c5ff0ec4a1989da5ffd8b9f3f588e3/polkadot/runtime/rococo/src/genesis_config_presets.rs#L530) module was added and is used in `GenesisBuilder` [_presets-related_](https://github.com/paritytech/polkadot-sdk/blob/3b41d66b97c5ff0ec4a1989da5ffd8b9f3f588e3/polkadot/runtime/rococo/src/lib.rs#L2462-L2485) methods. - The `chain-spec-builder` util was also improved and allows to ([_doc_](https://github.com/paritytech/polkadot-sdk/blob/3b41d66b97c5ff0ec4a1989da5ffd8b9f3f588e3/substrate/bin/utils/chain-spec-builder/src/lib.rs#L19)): - list presets provided by given runtime (`list-presets`), - display preset or default config provided by the runtime (`display-preset`), - build chain-spec using named preset (`create ... named-preset`), - The `ChainSpecBuilder` is extended with [`with_genesis_config_preset_name`](https://github.com/paritytech/polkadot-sdk/blob/3b41d66b97c5ff0ec4a1989da5ffd8b9f3f588e3/substrate/client/chain-spec/src/chain_spec.rs#L447) method which allows to build chain-spec using named preset provided by the runtime. Sample usage on the node side [here](https://github.com/paritytech/polkadot-sdk/blob/2caffaae803e08a3d5b46c860e8016da023ff4ce/polkadot/node/service/src/chain_spec.rs#L404). Implementation of #1984. fixes: #150 part of: #25 --------- Co-authored-by: Sebastian Kunert <skunert49@gmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b159df1 - Browse repository at this point
Copy the full SHA b159df1View commit details -
Add Helikon boot nodes for Coretime Westend and People Westend. (#3922)
## Verify Coretime Westend: ``` polkadot-parachain --chain=coretime-westend --tmp --relay-chain-rpc-url wss://rpc.ibp.network/westend --reserved-only --reserved-nodes /dns/boot-node.helikon.io/tcp/9420/p2p/12D3KooWFBPartM873MNm1AmVK3etUz34cAE9A9rwPztPno2epQ3 polkadot-parachain --chain=coretime-westend --tmp --relay-chain-rpc-url wss://rpc.ibp.network/westend --reserved-only --reserved-nodes /dns/boot-node.helikon.io/tcp/9422/wss/p2p/12D3KooWFBPartM873MNm1AmVK3etUz34cAE9A9rwPztPno2epQ3 ``` People Westend: ``` polkadot-parachain --chain=/path/to/people-westend.json --tmp --relay-chain-rpc-url wss://rpc.ibp.network/westend --reserved-only --reserved-nodes /dns/boot-node.helikon.io/tcp/9520/p2p/12D3KooWHhZk21Wzvsd3Un1Cp63diXqr6idbG1MEiUWaitUZuX4c polkadot-parachain --chain=/path/to/people-westend.json --tmp --relay-chain-rpc-url wss://rpc.ibp.network/westend --reserved-only --reserved-nodes /dns/boot-node.helikon.io/tcp/9522/wss/p2p/12D3KooWHhZk21Wzvsd3Un1Cp63diXqr6idbG1MEiUWaitUZuX4c ``` Thanks.
Configuration menu - View commit details
-
Copy full SHA for bb373ea - Browse repository at this point
Copy the full SHA bb373eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ae6ec0 - Browse repository at this point
Copy the full SHA 1ae6ec0View commit details -
Elastic scaling: add e2e test (#3929)
On top of #3879 I've also moved the previous test where we ensure multiple cores per para doesn't break non elastic parachains. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bfd7ae2 - Browse repository at this point
Copy the full SHA bfd7ae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04119b3 - Browse repository at this point
Copy the full SHA 04119b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76f0ce7 - Browse repository at this point
Copy the full SHA 76f0ce7View commit details -
[prdoc] Support multiple audiences (#3990)
Closes #3986 --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 047cfa8 - Browse repository at this point
Copy the full SHA 047cfa8View commit details -
[pallet-broker] Fix claim revenue behaviour for zero timeslices (#3997)
This PR adds a check that `max_timeslices > 0` and errors if not. It also adds a test for this behaviour and cleans up some misleading docs.
Configuration menu - View commit details
-
Copy full SHA for a961eb0 - Browse repository at this point
Copy the full SHA a961eb0View commit details -
[parachain-template] benchmarks into
mod benchmarks
(#3818)This PR introduces a dedicated module for benchmarks within the parachain runtime. By segregating benchmarks into their own module, we achieve a cleaner project structure and improved readability, facilitating easier maintenance and updates. ### Key Changes: - **New Benchmarks Module**: A new file `benchmarks.rs` is added, encapsulating the benchmarking code for various pallets. - **Refactoring `lib.rs`**: The main runtime library file (`lib.rs`) has been updated to reflect the extraction of benchmark definitions. By moving these definitions to `benchmarks.rs`, we reduce clutter in `lib.rs`, streamlining the runtime's core logic and configuration. ### Benefits of This Refactoring: - **Focused Benchmarking**: Developers can now easily locate and modify benchmarks without navigating through the core runtime logic, enabling targeted performance improvements. - **Cleaner Codebase**: Segregating benchmarks from the main runtime logic helps maintain a clean, well-organized codebase, simplifying navigation and maintenance. - **Scalability**: As the parachain evolves, adding or updating benchmarks becomes more straightforward, supporting scalability and adaptability of the runtime. ### Summary of Changes: - Created `benchmarks.rs` to house the benchmarking suite. - Streamlined `lib.rs` by removing the inlined benchmark definitions and linking to the new benchmarks module. --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d0a455 - Browse repository at this point
Copy the full SHA 9d0a455View commit details -
Rococo/Westend: publish
claim_queue
Runtime API (#4005)Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 03ca23d - Browse repository at this point
Copy the full SHA 03ca23dView commit details -
chore: fix some comments (#4004)
Signed-off-by: divdeploy <chenguangxue@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for a03040f - Browse repository at this point
Copy the full SHA a03040fView commit details -
Bump h2 from 0.3.24 to 0.3.26 (#4008)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hyperium/h2/releases">h2's releases</a>.</em></p> <blockquote> <h2>v0.3.26</h2> <h2>What's Changed</h2> <ul> <li>Limit number of CONTINUATION frames for misbehaving connections.</li> </ul> <p>See <a href="https://seanmonstar.com/blog/hyper-http2-continuation-flood/">https://seanmonstar.com/blog/hyper-http2-continuation-flood/</a> for more info.</p> <h2>v0.3.25</h2> <h2>What's Changed</h2> <ul> <li>perf: optimize header list size calculations by <a href="https://github.com/Noah-Kennedy"><code>@Noah-Kennedy</code></a> in <a href="https://redirect.github.com/hyperium/h2/pull/750">hyperium/h2#750</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hyperium/h2/compare/v0.3.24...v0.3.25">https://github.com/hyperium/h2/compare/v0.3.24...v0.3.25</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md">h2's changelog</a>.</em></p> <blockquote> <h1>0.3.26 (April 3, 2024)</h1> <ul> <li>Limit number of CONTINUATION frames for misbehaving connections.</li> </ul> <h1>0.3.25 (March 15, 2024)</h1> <ul> <li>Improve performance decoding many headers.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hyperium/h2/commit/357127e279c06935830fe2140378312eac801494"><code>357127e</code></a> v0.3.26</li> <li><a href="https://github.com/hyperium/h2/commit/1a357aaefc7243fdfa9442f45d90be17794a4004"><code>1a357aa</code></a> fix: limit number of CONTINUATION frames allowed</li> <li><a href="https://github.com/hyperium/h2/commit/5b6c9e0da092728d702dff3607626aafb7809d77"><code>5b6c9e0</code></a> refactor: cleanup new unused warnings (<a href="https://redirect.github.com/hyperium/h2/issues/757">#757</a>)</li> <li><a href="https://github.com/hyperium/h2/commit/3a798327211345b9b2bf797e2e4f3aca4e0ddfee"><code>3a79832</code></a> v0.3.25</li> <li><a href="https://github.com/hyperium/h2/commit/94e80b1c72bec282bb5d13596803e6fb341fec4c"><code>94e80b1</code></a> perf: optimize header list size calculations (<a href="https://redirect.github.com/hyperium/h2/issues/750">#750</a>)</li> <li>See full diff in <a href="https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=h2&package-manager=cargo&previous-version=0.3.24&new-version=0.3.26)](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: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ac4cd56 - Browse repository at this point
Copy the full SHA ac4cd56View commit details -
Broker: sale price runtime api (#3485)
Defines a runtime api for `pallet-broker` for getting the current price of a core if there is an ongoing sale. Closes: #3413 --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 65d1bb5 - Browse repository at this point
Copy the full SHA 65d1bb5View commit details -
pallet-uniques
: decrementtotal_deposit
when clearing collection ……metadata (#3976) Decrements `total_deposit` when collection metadata is cleared in `pallet-nfts` and `pallet-uniques`.
Configuration menu - View commit details
-
Copy full SHA for d9d4250 - Browse repository at this point
Copy the full SHA d9d4250View commit details -
Improve frame umbrella crate doc experience (#4007)
1. Add `#[doc(no_inline)]` to frame umbrella crate re-exports that eventually resolve to `frame_support_procedural` so docs don't look like the screenshot below and instead link to the proper `frame-support` docs. <img width="1512" alt="Screenshot 2024-04-05 at 20 05 01" src="https://github.com/paritytech/polkadot-sdk/assets/16665596/a41daa4c-ebca-44a4-9fea-f9f336314e13"> 2. Remove `"Rust-Analyzer Users: "` prefix from `frame_support_procedural` doc comments, since these doc comments are visible in the web documentation and possible to stumble upon especially when navigating from the frame umbrella crate. Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c405c93 - Browse repository at this point
Copy the full SHA c405c93View commit details -
Major bump of tracing-subscriber version (#3891)
I don't think there are any more releases to the 0.2.x versions, so best we're on the 0.3.x release. No change on the benchmarks, fast local time is still just as fast as before: new version bench: ``` fast_local_time time: [30.551 ns 30.595 ns 30.668 ns] ``` old version bench: ``` fast_local_time time: [30.598 ns 30.646 ns 30.723 ns] ``` --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for b7342b3 - Browse repository at this point
Copy the full SHA b7342b3View commit details -
Signed-off-by: hongkuang <liurenhong@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for b95e605 - Browse repository at this point
Copy the full SHA b95e605View commit details -
Deprecate
para_id()
fromCoreState
in polkadot primitives (#3979)With Coretime enabled we can no longer assume there is a static 1:1 mapping between core index and para id. This mapping should be obtained from the scheduler/claimqueue on block by block basis. This PR modifies `para_id()` (from `CoreState`) to return the scheduled `ParaId` for occupied cores and removes its usages in the code. Closes #3948 --------- Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7daeaca - Browse repository at this point
Copy the full SHA 7daeacaView commit details -
sc-beefy-consensus: Remove unneeded stream. (#4015)
The stream was just used to communicate from the validator the peer reports back to the gossip engine. Internally the gossip engine just forwards these reports to the networking engine. So, we can just do this directly. The reporting stream was also pumped [in the worker behind the engine](https://github.com/paritytech/polkadot-sdk/blob/9d6261892814fa27c97881c0321c008d7340b54b/substrate/client/consensus/beefy/src/worker.rs#L939). This means if there was a lot of data incoming over the engine, the reporting stream was almost never processed and thus, it could have started to grow and we have seen issues around this. Partly Closes: #3945
Configuration menu - View commit details
-
Copy full SHA for 70fc335 - Browse repository at this point
Copy the full SHA 70fc335View commit details -
adder-collator: add velocity measurement and make elastic scaling tes…
…t more robust (#4016) Improves `adder-collator` to also compute the parachain velocity. The velocity is defined as number of parachain blocks progressing per relay chain block. In this test we're asserting that the elastic parachain always progresses by 3 blocks per RCB, while the non-elastic parachain progresses normally - 1 block per RCB. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: ordian <write@reusable.software>
Configuration menu - View commit details
-
Copy full SHA for 7f2a59b - Browse repository at this point
Copy the full SHA 7f2a59bView commit details -
Add best block indicator to informant message + print parent block on…
… import message (#4021) Sometimes you need to debug some issues just by the logs and reconstruct what happened. In these scenarios it would be nice to know if a block was imported as best block, and what it parent was. So here I propose to change the output of the informant to this: ``` 2024-04-05 20:38:22.004 INFO ⋮substrate: [Parachain] ✨ Imported #18 (0xe7b3…4555 -> 0xbd6f…ced7) 2024-04-05 20:38:24.005 INFO ⋮substrate: [Parachain] ✨ Imported #19 (0xbd6f…ced7 -> 0x4dd0…d81f) 2024-04-05 20:38:24.011 INFO ⋮substrate: [jobless-children-5352] 🌟 Imported #42 (0xed2e…27fc -> 0x718f…f30e) 2024-04-05 20:38:26.005 INFO ⋮substrate: [Parachain] ✨ Imported #20 (0x4dd0…d81f -> 0x6e85…e2b8) 2024-04-05 20:38:28.004 INFO ⋮substrate: [Parachain] 🌟 Imported #21 (0x6e85…e2b8 -> 0xad53…2a97) 2024-04-05 20:38:30.004 INFO ⋮substrate: [Parachain] 🌟 Imported #22 (0xad53…2a97 -> 0xa874…890f) ``` --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 4db2dca - Browse repository at this point
Copy the full SHA 4db2dcaView commit details -
Github workflow to automate release draft creation (#3978)
This PR introduces the github flow which will create a release draft automatically when the rc tag is pushed. The flow contains the following steps: - Gets the info about rust version used to build the node - Builds the runtimes using `srtool` - Extracts the info about each runtime - Aggregates the changelog from the prdocs - Creates the release draft containing all the info related to the release (changelog, runtimes, rust versions) - Attaches the runtimes to the draft - Posts the message to the RelEng internal channel to inform that the build is done. Related to the #3295 --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 561bfdd - Browse repository at this point
Copy the full SHA 561bfddView commit details -
[FRAME] Runtime Omni Bencher (#3512)
This MR contains two major changes and some maintenance cleanup. ## 1. Free Standing Pallet Benchmark Runner Closes #3045, depends on your runtime exposing the `GenesisBuilderApi` (like #1492). Introduces a new binary crate: `frame-omni-bencher`. It allows to directly benchmark a WASM blob - without needing a node or chain spec. This makes it much easier to generate pallet weights and should allow us to remove bloaty code from the node. It should work for all FRAME runtimes that dont use 3rd party host calls or non `BlakeTwo256` block hashing (basically all polkadot parachains should work). It is 100% backwards compatible with the old CLI args, when the `v1` compatibility command is used. This is done to allow for forwards compatible addition of new commands. ### Example (full example in the Rust docs) Installing the CLI: ```sh cargo install --locked --path substrate/utils/frame/omni-bencher frame-omni-bencher --help ``` Building the Westend runtime: ```sh cargo build -p westend-runtime --release --features runtime-benchmarks ``` Benchmarking the runtime: ```sh frame-omni-bencher v1 benchmark pallet --runtime target/release/wbuild/westend-runtime/westend_runtime.compact.compressed.wasm --all ``` ## 2. Building the Benchmark Genesis State in the Runtime Closes #2664 This adds `--runtime` and `--genesis-builder=none|runtime|spec` arguments to the `benchmark pallet` command to make it possible to generate the genesis storage by the runtime. This can be used with both the node and the freestanding benchmark runners. It utilizes the new `GenesisBuilder` RA and depends on having #3412 deployed. ## 3. Simpler args for `PalletCmd::run` You can do three things here to integrate the changes into your node: - nothing: old code keeps working as before but emits a deprecated warning - delete: remove the pallet benchmarking code from your node and use the omni-bencher instead - patch: apply the patch below and keep using as currently. This emits a deprecated warning at runtime, since it uses the old way to generate a genesis state, but is the smallest change. ```patch runner.sync_run(|config| cmd - .run::<HashingFor<Block>, ReclaimHostFunctions>(config) + .run_with_spec::<HashingFor<Block>, ReclaimHostFunctions>(Some(config.chain_spec)) ) ``` ## 4. Maintenance Change - `pallet-nis` get a `BenchmarkSetup` config item to prepare its counterparty asset. - Add percent progress print when running benchmarks. - Dont immediately exit on benchmark error but try to run as many as possible and print errors last. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 65a5d7b - Browse repository at this point
Copy the full SHA 65a5d7bView commit details -
Integrate litep2p into Polkadot SDK (#2944)
[litep2p](https://github.com/altonen/litep2p) is a libp2p-compatible P2P networking library. It supports all of the features of `rust-libp2p` that are currently being utilized by Polkadot SDK. Compared to `rust-libp2p`, `litep2p` has a quite different architecture which is why the new `litep2p` network backend is only able to use a little of the existing code in `sc-network`. The design has been mainly influenced by how we'd wish to structure our networking-related code in Polkadot SDK: independent higher-levels protocols directly communicating with the network over links that support bidirectional backpressure. A good example would be `NotificationHandle`/`RequestResponseHandle` abstractions which allow, e.g., `SyncingEngine` to directly communicate with peers to announce/request blocks. I've tried running `polkadot --network-backend litep2p` with a few different peer configurations and there is a noticeable reduction in networking CPU usage. For high load (`--out-peers 200`), networking CPU usage goes down from ~110% to ~30% (80 pp) and for normal load (`--out-peers 40`), the usage goes down from ~55% to ~18% (37 pp). These should not be taken as final numbers because: a) there are still some low-hanging optimization fruits, such as enabling [receive window auto-tuning](libp2p/rust-yamux#176), integrating `Peerset` more closely with `litep2p` or improving memory usage of the WebSocket transport b) fixing bugs/instabilities that incorrectly cause `litep2p` to do less work will increase the networking CPU usage c) verification in a more diverse set of tests/conditions is needed Nevertheless, these numbers should give an early estimate for CPU usage of the new networking backend. This PR consists of three separate changes: * introduce a generic `PeerId` (wrapper around `Multihash`) so that we don't have use `NetworkService::PeerId` in every part of the code that uses a `PeerId` * introduce `NetworkBackend` trait, implement it for the libp2p network stack and make Polkadot SDK generic over `NetworkBackend` * implement `NetworkBackend` for litep2p The new library should be considered experimental which is why `rust-libp2p` will remain as the default option for the time being. This PR currently depends on the master branch of `litep2p` but I'll cut a new release for the library once all review comments have been addresses. --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: Dmitry Markin <dmitry@markin.tech> Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 527e039 - Browse repository at this point
Copy the full SHA 527e039View commit details -
Adapt
RemoteExternalities
and its related types to be used with gen…Configuration menu - View commit details
-
Copy full SHA for 0cc0af3 - Browse repository at this point
Copy the full SHA 0cc0af3View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 6284289 - Browse repository at this point
Copy the full SHA 6284289View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0d7977 - Browse repository at this point
Copy the full SHA d0d7977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 765278a - Browse repository at this point
Copy the full SHA 765278aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e46b01b - Browse repository at this point
Copy the full SHA e46b01bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0376db7 - Browse repository at this point
Copy the full SHA 0376db7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee339a - Browse repository at this point
Copy the full SHA 3ee339aView commit details
Commits on Apr 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e41b01 - Browse repository at this point
Copy the full SHA 0e41b01View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 67a541c - Browse repository at this point
Copy the full SHA 67a541cView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 5457c40 - Browse repository at this point
Copy the full SHA 5457c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a4cf1 - Browse repository at this point
Copy the full SHA 17a4cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d48232 - Browse repository at this point
Copy the full SHA 4d48232View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9bd68a - Browse repository at this point
Copy the full SHA b9bd68aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b85b3 - Browse repository at this point
Copy the full SHA 09b85b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf7432 - Browse repository at this point
Copy the full SHA 6bf7432View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92c9ef4 - Browse repository at this point
Copy the full SHA 92c9ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5886704 - Browse repository at this point
Copy the full SHA 5886704View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d9739 - Browse repository at this point
Copy the full SHA b8d9739View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f4a00 - Browse repository at this point
Copy the full SHA 82f4a00View commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49fb272 - Browse repository at this point
Copy the full SHA 49fb272View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87d0bce - Browse repository at this point
Copy the full SHA 87d0bceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 749b729 - Browse repository at this point
Copy the full SHA 749b729View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6771ab - Browse repository at this point
Copy the full SHA c6771abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 444dc76 - Browse repository at this point
Copy the full SHA 444dc76View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 9e5bdfa - Browse repository at this point
Copy the full SHA 9e5bdfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1312d7 - Browse repository at this point
Copy the full SHA b1312d7View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 49cfce1 - Browse repository at this point
Copy the full SHA 49cfce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9079d82 - Browse repository at this point
Copy the full SHA 9079d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 616dfa7 - Browse repository at this point
Copy the full SHA 616dfa7View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 6bcf0ab - Browse repository at this point
Copy the full SHA 6bcf0abView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for c07a473 - Browse repository at this point
Copy the full SHA c07a473View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3579a88 - Browse repository at this point
Copy the full SHA 3579a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84dd24f - Browse repository at this point
Copy the full SHA 84dd24fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99d34a2 - Browse repository at this point
Copy the full SHA 99d34a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe8c87 - Browse repository at this point
Copy the full SHA afe8c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d65e2 - Browse repository at this point
Copy the full SHA e7d65e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 474c1de - Browse repository at this point
Copy the full SHA 474c1deView commit details
Commits on Apr 12, 2024
-
Update substrate/frame/delegated-staking/src/lib.rs
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6a019d6 - Browse repository at this point
Copy the full SHA 6a019d6View commit details
Commits on Apr 16, 2024
-
Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: georgepisaltu <52418509+georgepisaltu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d481a6 - Browse repository at this point
Copy the full SHA 8d481a6View commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6940f88 - Browse repository at this point
Copy the full SHA 6940f88View commit details -
Configuration menu - View commit details
-
Copy full SHA for a884846 - Browse repository at this point
Copy the full SHA a884846View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4633c2 - Browse repository at this point
Copy the full SHA d4633c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c013cde - Browse repository at this point
Copy the full SHA c013cdeView commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for b2588a5 - Browse repository at this point
Copy the full SHA b2588a5View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 22594af - Browse repository at this point
Copy the full SHA 22594afView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac3cadf - Browse repository at this point
Copy the full SHA ac3cadfView commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 8cee25c - Browse repository at this point
Copy the full SHA 8cee25cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0537e9c - Browse repository at this point
Copy the full SHA 0537e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb5d64c - Browse repository at this point
Copy the full SHA fb5d64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb93c8c - Browse repository at this point
Copy the full SHA bb93c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cba250e - Browse repository at this point
Copy the full SHA cba250eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9897437 - Browse repository at this point
Copy the full SHA 9897437View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d06b0 - Browse repository at this point
Copy the full SHA 43d06b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for abbc24d - Browse repository at this point
Copy the full SHA abbc24dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5fcc2f - Browse repository at this point
Copy the full SHA b5fcc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 839e294 - Browse repository at this point
Copy the full SHA 839e294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53fab5b - Browse repository at this point
Copy the full SHA 53fab5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bb99b2 - Browse repository at this point
Copy the full SHA 3bb99b2View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for b430f63 - Browse repository at this point
Copy the full SHA b430f63View commit details
Commits on Apr 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5895afb - Browse repository at this point
Copy the full SHA 5895afbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09d3359 - Browse repository at this point
Copy the full SHA 09d3359View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for e75c2e6 - Browse repository at this point
Copy the full SHA e75c2e6View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 383593c - Browse repository at this point
Copy the full SHA 383593cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcfb17 - Browse repository at this point
Copy the full SHA 9bcfb17View commit details
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fe83ca - Browse repository at this point
Copy the full SHA 8fe83caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9409c74 - Browse repository at this point
Copy the full SHA 9409c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a3b8b2 - Browse repository at this point
Copy the full SHA 5a3b8b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e31866e - Browse repository at this point
Copy the full SHA e31866eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 078cf5f - Browse repository at this point
Copy the full SHA 078cf5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3790a40 - Browse repository at this point
Copy the full SHA 3790a40View commit details -
Merge branch 'ankan/01-prep-staking-for-delegation' into ankan/02-pal…
…let-delegated-staking
Configuration menu - View commit details
-
Copy full SHA for 796c848 - Browse repository at this point
Copy the full SHA 796c848View commit details
Commits on Apr 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 666be52 - Browse repository at this point
Copy the full SHA 666be52View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for ca232cd - Browse repository at this point
Copy the full SHA ca232cdView commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for be76a6b - Browse repository at this point
Copy the full SHA be76a6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6070d8 - Browse repository at this point
Copy the full SHA c6070d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 886a1a7 - Browse repository at this point
Copy the full SHA 886a1a7View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 7ca660d - Browse repository at this point
Copy the full SHA 7ca660dView commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a69d620 - Browse repository at this point
Copy the full SHA a69d620View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for b511a30 - Browse repository at this point
Copy the full SHA b511a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2daa2 - Browse repository at this point
Copy the full SHA 4b2daa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e17037 - Browse repository at this point
Copy the full SHA 0e17037View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e3b8cd - Browse repository at this point
Copy the full SHA 4e3b8cdView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for ef10f48 - Browse repository at this point
Copy the full SHA ef10f48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804fa95 - Browse repository at this point
Copy the full SHA 804fa95View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d3cf1b8 - Browse repository at this point
Copy the full SHA d3cf1b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12f4c3 - Browse repository at this point
Copy the full SHA a12f4c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b444c0e - Browse repository at this point
Copy the full SHA b444c0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4ddc76 - Browse repository at this point
Copy the full SHA a4ddc76View commit details -
Configuration menu - View commit details
-
Copy full SHA for b09f8fb - Browse repository at this point
Copy the full SHA b09f8fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e848d8d - Browse repository at this point
Copy the full SHA e848d8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0b5c2 - Browse repository at this point
Copy the full SHA 2a0b5c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b1e1d - Browse repository at this point
Copy the full SHA b1b1e1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6cdad - Browse repository at this point
Copy the full SHA 1e6cdadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cef018 - Browse repository at this point
Copy the full SHA 3cef018View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=westend --target_dir=polkadot --pallet=pallet_nomination_pools
command-bot committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 44503ba - Browse repository at this point
Copy the full SHA 44503baView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' of https://github.co…
…m/paritytech/polkadot-sdk into HEAD
command-bot committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 619858d - Browse repository at this point
Copy the full SHA 619858dView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=dev --target_dir=substrate --pallet=pallet_nomination_pools
command-bot committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 2f65014 - Browse repository at this point
Copy the full SHA 2f65014View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24d05ad - Browse repository at this point
Copy the full SHA 24d05adView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 72b50da - Browse repository at this point
Copy the full SHA 72b50daView commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 495aa24 - Browse repository at this point
Copy the full SHA 495aa24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 732569a - Browse repository at this point
Copy the full SHA 732569aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 142e3c7 - Browse repository at this point
Copy the full SHA 142e3c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dacae3 - Browse repository at this point
Copy the full SHA 7dacae3View commit details
Commits on May 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bd56eb3 - Browse repository at this point
Copy the full SHA bd56eb3View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for a988ec8 - Browse repository at this point
Copy the full SHA a988ec8View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4ef271 - Browse repository at this point
Copy the full SHA d4ef271View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0b657 - Browse repository at this point
Copy the full SHA fe0b657View commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for ca77189 - Browse repository at this point
Copy the full SHA ca77189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f6a3a0 - Browse repository at this point
Copy the full SHA 0f6a3a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36e9972 - Browse repository at this point
Copy the full SHA 36e9972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf808a - Browse repository at this point
Copy the full SHA 6bf808aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1c5698 - Browse repository at this point
Copy the full SHA a1c5698View commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 464cea0 - Browse repository at this point
Copy the full SHA 464cea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7782cab - Browse repository at this point
Copy the full SHA 7782cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e3045f - Browse repository at this point
Copy the full SHA 6e3045fView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 0ff52fd - Browse repository at this point
Copy the full SHA 0ff52fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e9b1f - Browse repository at this point
Copy the full SHA 70e9b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 159d1bf - Browse repository at this point
Copy the full SHA 159d1bfView commit details -
Merge branch 'ankan/02-pallet-delegated-staking' into ankan/03-np-del…
…egation-integration
Configuration menu - View commit details
-
Copy full SHA for 4b5e4fe - Browse repository at this point
Copy the full SHA 4b5e4feView commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7323dd6 - Browse repository at this point
Copy the full SHA 7323dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 587a2f1 - Browse repository at this point
Copy the full SHA 587a2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 978c02c - Browse repository at this point
Copy the full SHA 978c02cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31d4c6a - Browse repository at this point
Copy the full SHA 31d4c6aView commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d5fd2e - Browse repository at this point
Copy the full SHA 2d5fd2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6d6f0f - Browse repository at this point
Copy the full SHA c6d6f0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9db499 - Browse repository at this point
Copy the full SHA f9db499View commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d2ee1e9 - Browse repository at this point
Copy the full SHA d2ee1e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1634110 - Browse repository at this point
Copy the full SHA 1634110View commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 62df281 - Browse repository at this point
Copy the full SHA 62df281View commit details -
Co-authored-by: jimwfs <169986508+jimwfs@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a1a6c2e - Browse repository at this point
Copy the full SHA a1a6c2eView commit details -
remote-externalities
:rpc_child_get_keys
to use paged scraping (#……4512) Replace usage of deprecated `substrate_rpc_client::ChildStateApi::storage_keys` with `substrate_rpc_client::ChildStateApi::storage_keys_paged`. Required for successful scraping of Aleph Zero state.
Configuration menu - View commit details
-
Copy full SHA for ead90d1 - Browse repository at this point
Copy the full SHA ead90d1View commit details -
Remove usage of the pallet::getter macro from pallet-fast-unstake (#4514
Configuration menu - View commit details
-
Copy full SHA for c7e9b9b - Browse repository at this point
Copy the full SHA c7e9b9bView commit details -
Remove the prospective-parachains subsystem from collators (#4471)
Implements #4429 Collators only need to maintain the implicit view for the paraid they are collating on. In this case, bypass prospective-parachains entirely. It's still useful to use the GetMinimumRelayParents message from prospective-parachains for validators, because the data is already present there. This enables us to entirely remove the subsystem from collators, which consumed resources needlessly Aims to resolve #4167 TODO: - [x] fix unit tests
Configuration menu - View commit details
-
Copy full SHA for a771851 - Browse repository at this point
Copy the full SHA a771851View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd35913 - Browse repository at this point
Copy the full SHA bd35913View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f984e - Browse repository at this point
Copy the full SHA a2f984eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a06567 - Browse repository at this point
Copy the full SHA 7a06567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e89aa0 - Browse repository at this point
Copy the full SHA 9e89aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 318d1a7 - Browse repository at this point
Copy the full SHA 318d1a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0a9393 - Browse repository at this point
Copy the full SHA d0a9393View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20bbf18 - Browse repository at this point
Copy the full SHA 20bbf18View commit details -
Configuration menu - View commit details
-
Copy full SHA for a66beff - Browse repository at this point
Copy the full SHA a66beffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb6cfb - Browse repository at this point
Copy the full SHA 5eb6cfbView commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7efdbf7 - Browse repository at this point
Copy the full SHA 7efdbf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a7236 - Browse repository at this point
Copy the full SHA b9a7236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c90e09 - Browse repository at this point
Copy the full SHA 7c90e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc4fa5 - Browse repository at this point
Copy the full SHA adc4fa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2dbad9 - Browse repository at this point
Copy the full SHA e2dbad9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be081dd - Browse repository at this point
Copy the full SHA be081ddView commit details