- Feb 03, 2023
-
-
Keith Yeung authored
-
Przemek Rzad authored
* Introduce a job scanning and ensuring there are licenses * Showcase a red test * Add missing licenses * Cleanup * Extend the check * Add missing licenses * CI trigger
-
Adrian Catangiu authored
* runtimes: add new BEEFY api * update lockfile for {"substrate"}
-
asynchronous rob authored
* kusama: allow root to cancel/kill referendums * fix semicolons --------- Co-authored-by: parity-processbot <>
-
- Feb 02, 2023
-
-
Davirain authored
* Update beefy-merkle-tree dep to merkle-tree * update merkle-tree to binary-merkle-tree * update substrate refs --------- Co-authored-by: Adrian Catangiu <[email protected]>
-
Adrian Catangiu authored
* testing new substrate refs * Fix bench Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Propagate features Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
- Feb 01, 2023
-
-
ordian authored
* disputes/slashing: slash only backers for ForInvalid * add an assertion in mock impl * fix tests * do not slash backers on onconcluded disputes * slash an intersection of backers and losers * zombienet/disputes: check for offence only for invalid disputes * add backing votes to disputes bench builder * Update runtime/parachains/src/builder.rs * Brad implementers guide revisions 2 (#6239) * Add disputes subsystems fix * Updated dispute approval vote import reasoning * Improved wording of my changes * Resolving issues brought up in comments * Update disputes prioritisation in `dispute-coordinator` (#6130) * 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 <[email protected]> * 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 <[email protected]> * approval-voting: remove redundant validation check (#6266) * approval-voting: remove a redundant check * candidate-validation: remove unreachable check * remove fill_block (#6200) Co-authored-by: parity-processbot <> * fix a compilation warning (#6279) Fixes #6277. * Only report concluded if there is an actual dispute. (#6270) * 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 <[email protected]> * [ci] fix buildah image (#6281) * Revert special casing of Kusama for grandpa rounds. (#6217) Co-authored-by: eskimor <[email protected]> * Fixes "for loop over an `Option`" warnings (#6291) 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. * companion for #12599 (#6290) * companion for #12599 * update Cargo.lock * use cargo path instead of diener * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * remove the runtime check and test * append keys on past-session slashing * runtime/disputes: allow importing backing votes after explicit for * explicit MaliciousBacker error and a test * update an outdated comment * Revert "update an outdated comment" This reverts commit 7c4c3f5a848f16e2b61435e981d814f00333ed41. * Revert "remove the runtime check and test" This reverts commit a5bff0c75e77effb5b7d3a1691de1b14bcdbd648. * incremental punishment post conclusion + test * punish backers post FOR vote * remove unnecessary lifetime annotation * add a comment to zombinet test * typo * fmt * post merge test fixes * fix test after changes in master * address review nits --------- Co-authored-by: Bradley Olson <[email protected]> Co-authored-by: Tsvetomir Dimitrov <[email protected]> Co-authored-by: Andrei Sandu <[email protected]> Co-authored-by: Sergej Sakac <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: eskimor <[email protected]> Co-authored-by: Alexander Samusev <[email protected]> Co-authored-by: Marcin S <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Jan 31, 2023
-
-
dependabot[bot] authored
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jan 30, 2023
-
-
Kian Paimani authored
-
André Silva authored
* companion for https://github.com/paritytech/substrate/pull/13237 * test-runtime: add MaxSetIdSessionEntries * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Jan 29, 2023
-
-
Muharem Ismailov authored
* Update benchmark's successful origin api * rustfmt * unwrap for indirect origin dep * replace unwrap by expect with a message --------- Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
* Companion: Remove `uncles` related code https://github.com/paritytech/substrate/pull/13216 * Fix compilation * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Jan 28, 2023
-
-
Tsvetomir Dimitrov authored
* Make zombienet tests native friendly * Update zombienet_tests/README.md Co-authored-by: Bastian Köcher <[email protected]> * Get rid of `{{ZOMBIENET_NATIVE_BINARY_PREFIX}}` * Remove pointless changes * add set_env helper and doc in readme * changes from feedback --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Javier Viola <[email protected]>
-
- Jan 27, 2023
-
-
Michal Kucharczyk authored
* Storage monitor added to polkadot node Related to: https://github.com/paritytech/substrate/issues/12399 * Cargo.lock updated * Cargo.lock update * Revert "Cargo.lock update" This reverts commit 04dfe5fe65ea7d1476d4632ad647f2c1c669ab1a. * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * missing_docs fixes * Cargo.lock updated --------- Co-authored-by: parity-processbot <> Co-authored-by: Bastian Köcher <[email protected]>
-
Stephen Shelton authored
* Add WeightToFee runtime API impls * Forgot a couple * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Use master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <[email protected]> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Kian Paimani authored
* update stuff * remove * update * update * update weights * fix tests * update weights * fix a few small things * ".git/.scripts/commands/bench/bench.sh" runtime polkadot-dev pallet-fast-unstake * ".git/.scripts/commands/bench/bench.sh" runtime polkadot-dev pallet-fast-unstake * ".git/.scripts/commands/bench/bench.sh" runtime kusama-dev pallet-fast-unstake * reduce batch size * ".git/.scripts/commands/bench/bench.sh" runtime polkadot-dev pallet-fast-unstake * update * fix * fix * ".git/.scripts/commands/bench/bench.sh" runtime polkadot-dev pallet-fast-unstake * update lockfile for {"substrate"} * fmt * Env gate migration try_fast_unstake_all Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
Mara Broda authored
* polkadot: clear migrations included in 0.9.37 * rococo: clear migrations included in 0.9.37 * westend: clear migrations included in 0.9.37 * kusama: clear migrations included in 0.9.37 * remove unused import: xcm_config::CheckAccount
-
- Jan 26, 2023
-
-
Oliver Tale-Yazdi authored
Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
Oliver Tale-Yazdi authored
* Env gate tests The CI should check that it compiles, but not run it. Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Enable try-runtime feature in CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix test Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]>
-
Andrei Sandu authored
Signed-off-by: Andrei Sandu <[email protected]> Signed-off-by: Andrei Sandu <[email protected]>
-
- Jan 25, 2023
-
-
Michal Kucharczyk authored
-
- Jan 24, 2023
-
-
Alexander Samusev authored
* [DO NOT MERGE] test new vm runner for weights 2 * add image * fix merge conflict * apply weights * new weights Co-authored-by: parity-processbot <>
-
Arkadiy Paronyan authored
-
Michal Kucharczyk authored
cargo update -p libc
-
- Jan 23, 2023
-
-
Keith Yeung authored
* XCM: Add HRMP to SafeCallFilter * Whitelist several paras_registrar calls
-
Alexander Samusev authored
* [ci] Change check-labels GHA * change file spec name * change script when no label * add tags
-
- Jan 22, 2023
-
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.8.1 to 0.9.0. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.8.1...0.9.0) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
eskimor authored
* Fix indentation + add warning on participation errors. * Don't vote invalid on internal errors. * Don't dispute on code compression error. * Remove CodeDecompressionError * Candidate not invalid if PVF preparation fails. Instead: Report error. * Fix malus * Add clarifying comment. * cargo fmt * Fix indentation.
-
- Jan 21, 2023
-
-
Petr Mensik authored
* Add Polkadotters bootnodes for Westend, Kusama and Polkadot * Remove newlines in bootnodes config section
-
Sergej Sakac authored
* Warn validators with slow hardware * update * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix printing logic Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fix Signed-off-by: Oliver Tale-Yazdi <[email protected]> * add deps Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
- Jan 20, 2023
-
-
Mara Broda authored
-
Gavin Wood authored
* Disallow decoding of phantom asset * Remove pub
-
Mara Broda authored
* sync version to current release (0.9.37) * sync spec_version with current release (9370) * sync transaction_version with current release (9370)
-
- Jan 19, 2023
-
-
Mara Broda authored
* Update changelog template to use new T labels * update readme * changelog gen: remove T6
-
Adrian Catangiu authored
* bump parity-scale-codec version * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Sebastian Kunert authored
* Update getrandom and version_check * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Mara Broda authored
* kusama: update weights * polkadot: update weights * westend: update weights * rococo: update weights
-
Robert Hambrock authored
* move pallet_mmr ahead of pallet_session addresses #11797 * document construction of mmr leaf prior to session
-
Gavin Wood authored
* Introduce ExpectTransactStatus instruction * Remove other changes * Implement * Implement rest * Benchmark * Update xcm/src/v3/mod.rs Co-authored-by: Keith Yeung <[email protected]> * Update xcm/src/v3/mod.rs Co-authored-by: Keith Yeung <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
-
Bradley Olson authored
* Setting up new ChainSelectionMessage * Partial first pass * Got dispute conclusion data to provisioner * Finished first draft for 4804 code * A bit of polish and code comments * cargo fmt * Implementers guide and code comments * More formatting, and naming issues * Wrote test for ChainSelection side of change * Added dispute coordinator side test * FMT * Addressing Marcin's comments * fmt * Addressing further Marcin comment * Removing unnecessary test line * Rough draft addressing Robert changes * Clean up and test modification * Majorly refactored scraper change * Minor fixes for ChainSelection * Polish and fmt * Condensing inclusions per candidate logic * Addressing Tsveto's comments * Addressing Robert's Comments * Altered inclusions struct to use nested BTreeMaps * Naming fix * Fixing inclusions struct comments * Update node/core/dispute-coordinator/src/scraping/mod.rs Add comment to split_off() use Co-authored-by: Marcin S. <[email protected]> * Optimizing removal at block height for inclusions * fmt * Using copy trait Co-authored-by: Marcin S. <[email protected]>
-