- Nov 17, 2022
-
-
Andrei Sandu authored
Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
-
Kutsal Kaan Bilgin authored
-
- Nov 16, 2022
-
-
Tsvetomir Dimitrov authored
* Fix typos * Filter unconfirmed disputes in provisioner - random_selection * Rework dispute coordinator to return `DisputeStatus` with `ActiveDisputes` message. * Rework the random_selection implementation of `select_disptues` in `provisioner` to return only confirmed disputes. * Filter unconfirmed disputes in provisioner - prioritized_selection * Add test for unconfirmed disputes handling * Fix `dispute-distribution` tests
-
Alexander Samusev authored
* [ci] Improve pipeline stopper * break test-linux-stable * fix test-linux-stable
-
- Nov 15, 2022
-
-
Niklas Adolfsson authored
* companion for #12599 * update Cargo.lock * use cargo path instead of diener * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Marcin S. authored
Was seeing these warnings when running `cargo check --all`: ``` warning: for loop over an `Option`. This is more readably written as an `if let` statement --> node/core/approval-voting/src/lib.rs:1147:21 | 1147 | for activated in update.activated { | ^^^^^^^^^^^^^^^^ | = note: `#[warn(for_loops_over_fallibles)]` on by default help: to check pattern in a loop use `while let` | 1147 | while let Some(activated) = update.activated { | ~~~~~~~~~~~~~~~ ~~~ help: consider using `if let` to clear intent | 1147 | if let Some(activated) = update.activated { | ~~~~~~~~~~~~ ~~~ ``` My guess is that `activated` used to be a SmallVec or similar, as is `deactivated`. It was changed to an `Option`, the `for` still compiled (it's technically correct, just weird), and the compiler didn't catch it until now.
-
eskimor authored
Co-authored-by:
eskimor <eskimor@no-such-url.com>
-
- Nov 14, 2022
-
-
Alexander Samusev authored
-
eskimor authored
* Only report concluded if there is an actual dispute. Hence no "non"-disputes will be added to disputes anymore. * Fix redundant check. * Test for no onesided disputes. Co-authored-by:
eskimor <eskimor@no-such-url.com>
-
- Nov 13, 2022
-
-
ordian authored
Fixes #6277.
-
- Nov 12, 2022
-
-
Sergej Sakac authored
Co-authored-by: parity-processbot <>
-
ordian authored
* approval-voting: remove a redundant check * candidate-validation: remove unreachable check
-
- Nov 11, 2022
-
-
Tsvetomir Dimitrov authored
* Scraper processes CandidateBacked events * Change definition of best-effort * Fix `dispute-coordinator` tests * Unit test for dispute filtering * Clarification comment * Add tests * Fix logic If a dispute is not backed, not included and not confirmed we don't participate but we do import votes. * Add metrics for refrained participations * Revert "Add tests" This reverts commit 7b8391a087922ced942cde9cd2b50ff3f633efc0. * Revert "Unit test for dispute filtering" This reverts commit 92ba5fe678214ab360306313a33c781338e600a0. * fix dispute-coordinator tests * Fix scraping * new tests * Small fixes in guide * Apply suggestions from code review Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Fix some comments and remove a pointless test * Code review feedback * Clarification comment in tests * Some tests * Reference counted `CandidateHash` in scraper * Proper handling for Backed and Included candidates in scraper Backed candidates which are not included should be kept for a predetermined window of finalized blocks. E.g. if a candidate is backed but not included in block 2, and the window size is 2, the same candidate should be cleaned after block 4 is finalized. Add reference counting for candidates in scraper. A candidate can be added on multiple block heights so we have to make sure we don't clean it prematurely from the scraper. Add tests. * Update comments in tests * Guide update * Fix cleanup logic for `backed_candidates_by_block_number` * Simplify cleanup * Make spellcheck happy * Update tests * Extract candidate backing logic in separate struct * Code review feedback * Treat backed and included candidates in the same fashion * Update some comments * Small improvements in test * spell check * Fix some more comments * clean -> prune * Code review feedback * Reword comment * spelling Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com>
-
Bradley Olson authored
* Add disputes subsystems fix * Updated dispute approval vote import reasoning * Improved wording of my changes * Resolving issues brought up in comments
-
cheme authored
* add state-trie-migration (warn key need to be changed) * rococo root * restore master benchs (weights from substrate are used). * use ord_parameter macro. * do not upgrade runtime version yet * apply review changes * to test ci * Revert "to test ci" This reverts commit 5df6c5c74c5d172f254579cbb76caeb44af80ec2. * test ci * Revert "test ci" This reverts commit 0747761644ba566f9756e195e5304758370dc52c. Co-authored-by: parity-processbot <>
-
- Nov 10, 2022
-
-
moh-eulith authored
Co-authored-by:
Squirrel <gilescope@gmail.com>
-
- Nov 09, 2022
-
-
Robert Hambrock authored
* histor. batch proof: make best block arg optional * make generate_batch_proof stub for historical * merge generate_{historical_}batch_proof functions * merge generate_{batch_}proof functions * merge verify_{batch_}proof functions * merge verify_{batch_}proof_stateless functions * rename BatchProof->Proof * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Qinxuan Chen authored
* Companion for substrate#12560 Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * update num-format v0.4.0 ==> v0.4.3 * Fix * update lockfile for {"substrate"} Signed-off-by:
koushiro <koushiro.cqx@gmail.com> Co-authored-by:
Bastian Köcher <info@kchr.de> Co-authored-by: parity-processbot <>
-
Ankan authored
* add maximum winners to multi phase election provider * fallback to noelection * fmt * missing values * convert boundedvec to inner before sort * dont clone * pr feedback * update lockfile for {"substrate"} * run onchain election on westend benchmark Co-authored-by: parity-processbot <>
-
- Nov 08, 2022
-
-
Marcin S. authored
* Fix a couple of typos * Retry failed PVF execution PVF execution that fails due to AmbiguousWorkerDeath should be retried once. This should reduce the occurrence of failures due to transient conditions. Closes #6195 * Address a couple of nits * Write tests; refactor (add `validate_candidate_with_retry`) * Update node/core/candidate-validation/src/lib.rs Co-authored-by:
Andronik <write@reusable.software> Co-authored-by:
eskimor <eskimor@users.noreply.github.com> Co-authored-by:
Andronik <write@reusable.software>
-
Andrei Sandu authored
* Impl dynamic window size. Keep sessions for unfinalized chain Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Stretch also in contructor plus tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix approval-voting tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * grunting: dispute coordinator tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add session window column Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * integrate approval vote and fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix rolling session tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Small refactor Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * WIP, tests failing Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix approval voting tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix dispute-coordinator tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * remove uneeded param Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix loose ends Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * allow failure and tests for it Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix comment Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * comment fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * style fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * new col doesn't need to be ordered Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt and spellcheck Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * db persist tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Add v2 config and cols Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * DB upgrade WIP Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix comments Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add todo Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * update to parity-db to "0.4.2" Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * migration complete Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * One session window size Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix merge damage Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix build errors Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * comment fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix build Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * make error more explicit Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add comment Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * refactor conflict merge Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * rename col_data Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add doc comment Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix build Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * migration: move all cols to v2 Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
-
Kian Paimani authored
* update * add migrations * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Niklas Adolfsson authored
* staking miner: remove needless queue check If the queue is full and the "mined solution" is better than solutions in the queue according to the "strategy" then the solution with worse score will be kicked out from the queue. Thus, the check can be removed completly. * fix compile warns
-
Marcin S. authored
-
Marcin S. authored
* Add a `last change` footer to the implementers guide Some of the newcomers were noticing outdated pages in the implementer's guide. This idea came up as a heuristic for how up-to-date an individual page is. * Update `build-implementers-guide` CI job
-
Kian Paimani authored
* Update polkadot inflation to take into account auctions * a possible solution -- but needs a rather untrivial data seeding * some additional comments * Use LOWEST_PUBLIC_ID as a guide to filter out system/common good para ids * Fixes * move tests * fix Co-authored-by:
Keith Yeung <kungfukeith11@gmail.com> Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
Kian Paimani authored
* Increase max rewardable nominators * update kusama as well
-
- Nov 07, 2022
-
-
Michal Kucharczyk authored
* BlockId removal: &Hash to Hash It changes &Block::Hash argument to Block::Hash. This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * missing file corrected * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Alexander Samusev authored
* Pipeline with ci image with rust 1.65 * fix a warning * return production image Co-authored-by:
Andronik <write@reusable.software>
-
Xiliang Chen authored
-
- Nov 05, 2022
-
-
Oliver Tale-Yazdi authored
* Typo Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock * update lockfile for {"substrate"} Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Bastian Köcher <info@kchr.de> Co-authored-by: parity-processbot <>
-
- Nov 04, 2022
-
-
Mara Broda authored
* kusama: clean up executed migrations * polkadot: clean up executed migrations * westend: clean up executed migrations
-
Tom authored
* add stake.plus bootnodes * add stake.plus bootnodes for westend, kusama and polkadot Co-authored-by:
senseless <tom@stake.plus> Co-authored-by: parity-processbot <>
-
- Nov 03, 2022
-
-
Sergej Sakac authored
* Xcm-Simulator Docs * spelling * examples * better docs Co-authored-by: parity-processbot <>
-
Michal Kucharczyk authored
* BlockId removal: refactor: Backend::block_indexed_body It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Nov 02, 2022
-
-
Michal Kucharczyk authored
* BlockId removal: refactor: Backend::justifications It changes the arguments of `Backend::justifications` method from: `BlockId<Block>` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * formatting * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Nov 01, 2022
-
-
alexgparity authored
* Replace parachain/parathread boolean by enum * Address PR comments * Update dependencies * ParaType -> ParaKind * Swap enum field order to avoid migration * Rename paratype field to parakind * Manual en-/decocing of Parakind * Manual TypeInfo for ParaKind * rename field back to parachain * minor * Update runtime/parachains/src/paras/mod.rs Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Manual serde Serialize and Deserialize for ParaKind * cargo fmt * Update runtime/parachains/src/paras/mod.rs Co-authored-by:
Andronik <write@reusable.software> * Add test for serde_json encoding/decoding * Move serde_json dep to dev-deps Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by:
Andronik <write@reusable.software>
-
Michal Kucharczyk authored
* BlockId removal: refactor: BlockBackend::block_body It changes the arguments of `BlockBackend::block_body` method from: `BlockId<Block>` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Marcin S. authored
* Rename timeout consts and timeout parameter; bump leniency * Update implementor's guide with info about PVFs * Make glossary a bit easier to read * Add a note to LENIENT_PREPARATION_TIMEOUT * Remove PVF-specific section from glossary * Fix some typos
-
- Oct 31, 2022
-
-
Andrei Sandu authored
* Add approval voting db sanity check Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add newline back Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * no need for overlay to read Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
-