- Nov 27, 2021
-
-
Sergey Pepyakin authored
* Do not log PVF prunning every hour This lowers the level of the PVF pruning. Closes https://github.com/paritytech/polkadot/issues/4361 * Fix typo: ambigious -> ambiguous The correct spelling is ambiguous ([dictionary](https://dictionary.cambridge.org/dictionary/english/ambiguous))
-
- Nov 26, 2021
-
-
Sergey Pepyakin authored
This lowers the level of the PVF pruning. Closes https://github.com/paritytech/polkadot/issues/4361
-
sandreim authored
* update dispute metric names Signed-off-by:
Andrei Sandu <[email protected]> * update Signed-off-by:
Andrei Sandu <[email protected]>
-
- Nov 24, 2021
-
-
sandreim authored
Signed-off-by:
Andrei Sandu <[email protected]>
-
sandreim authored
Signed-off-by:
Andrei Sandu <[email protected]>
-
Sergey Pepyakin authored
-
sandreim authored
* Metrics for InherentDataProvider Signed-off-by:
Andrei Sandu <[email protected]> * Integrate metrics Signed-off-by:
Andrei Sandu <[email protected]> * more changes Signed-off-by:
Andrei Sandu <[email protected]> * fmt Signed-off-by:
Andrei Sandu <[email protected]> * fix Signed-off-by:
Andrei Sandu <[email protected]> * avoid naming confusion Signed-off-by:
Andrei Sandu <[email protected]> * Move to Provisioner. Signed-off-by:
Andrei Sandu <[email protected]> * Add metric documentation Signed-off-by:
Andrei Sandu <[email protected]>
-
- Nov 22, 2021
-
-
dependabot[bot] authored
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.107 to 0.2.108. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.107...0.2.108 ) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Nov 20, 2021
-
-
Lldenaurois authored
-
- Nov 19, 2021
-
-
Bernhard Schuster authored
* chore/provisioner: move metrics to a separate module * avoid the duplicate names * reduce all checks * fixup tests * Update node/core/provisioner/src/lib.rs Co-authored-by:
Zeke Mostov <[email protected]> * chore: fmt * chore: spellcheck * doc * remove the enum anti-pattern * guide update - remove all the responsibilities * add another trivial check * Update node/core/provisioner/src/metrics.rs Co-authored-by:
Andronik Ordian <[email protected]> * Update roadmap/implementers-guide/src/node/utility/provisioner.md Co-authored-by:
Andronik Ordian <[email protected]> * Update node/core/provisioner/src/metrics.rs Co-authored-by:
Andronik Ordian <[email protected]> Co-authored-by:
Zeke Mostov <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
Robert Klotzner authored
* Mostly notes. * Better error messages. * Introduce Fatal/NonFatal + drop back channel participation - Fatal/NonFatal - in order to make it easier to use utility functions. - We drop the back channel in dispute participation as it won't be needed any more. * Better error messages. * Utility function for receiving `CandidateEvent`s. * Ordering module typechecks. * cargo fmt * Prepare spam slots module. * Implement SpamSlots mechanism. * Implement queues. * cargo fmt * Participation. * Participation taking shape. * Finish participation. * cargo fmt * Cleanup. * WIP: Cleanup + Integration. * Make `RollingSessionWindow` initialized by default. * Make approval voting typecheck. * Get rid of lazy_static & fix approval voting tests * Move `SessionWindowSize` to node primitives. * Implement dispute coordinator initialization. * cargo fmt * Make queues return error instead of boolean. * Initialized: WIP * Introduce chain api for getting finalized block. * Fix ordering to only prune candidates on finalized events. * Pruning of old sessions in spam slots. * New import logic. * Make everything typecheck. * Fix warnings. * Get rid of obsolete dispute-participation. * Fixes. * Add back accidentelly deleted Cargo.lock * Deliver disputes in an ordered fashion. * Add module docs for errors * Use type synonym. * hidden docs. * Fix overseer tests. * Ordering provider taking `CandidateReceipt`. ... To be kicked on one next commit. * Fix ordering to use relay_parent as included block is not unique per candidate. * Add comment in ordering.rs. * Take care of duplicate entries in queues. * Better spam slots. * Review remarks + docs. * Fix db tests. * Participation tests. * Also scrape votes on first leaf for good measure. * Make tests typecheck. * Spelling. * Only participate in actual disputes, not on every import. * Don't account backing votes to spam slots. * Fix more tests. * Don't participate if we don't have keys. * Fix tests, typos and warnings. * Fix merge error. * Spelling fixes. * Add missing docs. * Queue tests. * More tests. * Add metrics + don't short circuit import. * Basic test for ordering provider. * Import fix. * Remove dead link. * One more dead link. Co-authored-by:
Lldenaurois <[email protected]>
-
- Nov 18, 2021
-
-
Sergey Pepyakin authored
* prepare worker: Catch unexpected unwinds * Use more specific wording for unknown panic payload
-
- Nov 16, 2021
-
-
dependabot[bot] authored
Bumps [async-process](https://github.com/smol-rs/async-process) from 1.1.0 to 1.3.0. - [Release notes](https://github.com/smol-rs/async-process/releases) - [Changelog](https://github.com/smol-rs/async-process/blob/master/CHANGELOG.md) - [Commits](https://github.com/smol-rs/async-process/compare/v1.1.0...v1.3.0 ) --- updated-dependencies: - dependency-name: async-process dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Nov 15, 2021
-
-
Martin Pugh authored
-
Sergey Pepyakin authored
* Increase preparation-timeout to 60 seconds * Adapt `pvf_preparation_time` metric to the new value
-
- Nov 13, 2021
-
-
dependabot[bot] authored
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.3.3 to 0.3.4. - [Release notes](https://github.com/RustCrypto/utils/releases) - [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.3...hex-literal-v0.3.4 ) --- updated-dependencies: - dependency-name: hex-literal dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Chris Sosnin authored
* pvf host: store only compiled artifacts on disk * Correctly handle failed artifacts * Serialize result of PVF preparation uniquely * Set the artifact state depending on the result * Return the result of PVF preparation directly * Move PrepareError to the error module * Update doc comments * Update misleading comment * pvf host: turn off parallel compilation * pvf host: implement precheck requests * Fix warnings * Unnecessary clone * Add a note about timed out outcome * Revert the pool outcome handling behavior * Move the prepare result type into error mod * Test prepare done * fmt * Add an explanation to wasmtime config * Split pvf host test * Add precheck to dictionary Co-authored-by:
Sergei Shulepov <[email protected]>
-
Sergey Pepyakin authored
* Limit the number of PVF workers In particular, limit the number of preparation workers to 1 (soft & hard) and limit the number of execution workers to 2. The reason why we are doing this is that it seems many workers launched at the same time can cause problems. I.e. if there are more than 2 preparation workers, the time for preparation rises significantly to the point of reaching the timeout. This was mostly observed with parallel_compilation=true, so each worker used `numcpu` threads and now we are looking to flip that parameter to `false`. That said, we want to err on the safe side here and gradually enable it later if our measurements show that we can do that safely. * Adjust the test to accomodate the changed config value
-
- Nov 12, 2021
-
-
Sergey Pepyakin authored
-
Arkadiy Paronyan authored
* Remove light client companion * Update substrate * cargo fmt * Fixed benches * fmt
-
- Nov 11, 2021
-
-
sandreim authored
* SubsystemContext: add subsystem name str Signed-off-by:
Andrei Sandu <[email protected]> * Overseer builder proc macro changes * initilize SubsystemContext name field. * Add subsystem name in TaskKind::launch_task() Signed-off-by:
Andrei Sandu <[email protected]> * Update ToOverseer enum Signed-off-by:
Andrei Sandu <[email protected]> * Assign subsystem names to orphan tasks Signed-off-by:
Andrei Sandu <[email protected]> * cargo fmt Signed-off-by:
Andrei Sandu <[email protected]> * SubsystemContext: add subsystem name str Signed-off-by:
Andrei Sandu <[email protected]> * Overseer builder proc macro changes * initilize SubsystemContext name field. * Add subsystem name in TaskKind::launch_task() Signed-off-by:
Andrei Sandu <[email protected]> * Update ToOverseer enum Signed-off-by:
Andrei Sandu <[email protected]> * Assign subsystem names to orphan tasks Signed-off-by:
Andrei Sandu <[email protected]> * cargo fmt Signed-off-by:
Andrei Sandu <[email protected]> * Rebase changes for new spawn() group param Signed-off-by:
Andrei Sandu <[email protected]> * Add subsystem constat in JobTrait Signed-off-by:
Andrei Sandu <[email protected]> * Add subsystem string Signed-off-by:
Andrei Sandu <[email protected]> * Fix tests Signed-off-by:
Andrei Sandu <[email protected]> * Fix spawn() calls Signed-off-by:
Andrei Sandu <[email protected]> * cargo fmt Signed-off-by:
Andrei Sandu <[email protected]> * Fix Signed-off-by:
Andrei Sandu <[email protected]> * Fix tests Signed-off-by:
Andrei Sandu <[email protected]> * fix Signed-off-by:
Andrei Sandu <[email protected]> * Fix more tests Signed-off-by:
Andrei Sandu <[email protected]> * Address PR review feedback #1 Signed-off-by:
Andrei Sandu <[email protected]> * Address PR review round 2 Signed-off-by:
Andrei Sandu <[email protected]> * Fixes - remove JobTrait::Subsystem - fix tests Signed-off-by:
Andrei Sandu <[email protected]> * update Cargo.lock Co-authored-by:
Andronik Ordian <[email protected]>
-
- Nov 09, 2021
-
-
dependabot[bot] authored
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.106 to 0.2.107. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.106...0.2.107 ) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Nov 08, 2021
-
-
Bernhard Schuster authored
* minor changes * fmt * rename to expressive types * chore: fixup * chore: remove `Data` prefixes * address review comments * guide items * sourcer -> source, add `FromValdiators` suffix
-
- Nov 02, 2021
-
-
dependabot[bot] authored
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.105 to 0.2.106. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.105...0.2.106 ) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 30, 2021
-
-
Bernhard Schuster authored
-
- Oct 28, 2021
-
-
Bernhard Schuster authored
* fix: error handling * more error handling * fixup * fixup * fixup name * fixup * simplify * spelling, docs
-
- Oct 27, 2021
-
-
asynchronous rob authored
* improved approval-voting logging * fmt
-
- Oct 25, 2021
-
-
dependabot[bot] authored
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.104 to 0.2.105. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.104...0.2.105 ) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 22, 2021
-
-
Chris Sosnin authored
* pvf host: store only compiled artifacts on disk * Correctly handle failed artifacts * Serialize result of PVF preparation uniquely * Set the artifact state depending on the result * Return the result of PVF preparation directly * Move PrepareError to the error module * Update doc comments * Update misleading comment * Cleanup docs * Conclude a test job with an error Co-authored-by:
Sergei Shulepov <[email protected]>
-
Chris Sosnin authored
* Introduce new Runtime API endpoint `persisted_validation_data_with_code_hash` that will be used by the candidate validation subsystem in order to decrease amount of runtime API requests. * Node-side part of new runtime API request * Define code hash getter via macro * Rename new endpoint to `assumed_validation_data` * Docs for runtime API impl of new endpoint * AssumedValidationData specialized request function * fmt
-
- Oct 19, 2021
-
-
dependabot[bot] authored
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.103 to 0.2.104. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.103...0.2.104 ) --- updated-dependencies: - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 15, 2021
-
-
Martin Pugh authored
* bump version * update Cargo.lock Co-authored-by:
Andronik Ordian <[email protected]>
-
- Oct 12, 2021
-
-
Chris Sosnin authored
* Update wasmtime config to match new version * update Substrate Co-authored-by: parity-processbot <>
-
- Oct 11, 2021
-
-
dependabot[bot] authored
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 ) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 07, 2021
-
-
Arkadiy Paronyan authored
* Update for warp sync * update Substrate Co-authored-by: parity-processbot <>
-
- Oct 06, 2021
-
-
Bernhard Schuster authored
* dummy: impl another runtime API * query the on chain disputes, and inform self * make use of the refactor * minro * SPLIT ME * write dispute values * wip * impl for all runtimes * chore: fmt * [] -> get * fixup mock runtime * fixup * fixup discovery for overseer init * chore: fmt * spellcheck * rename imported_on_chain_disputes -> on_chain_votes * reduction * make it mockable * rename and refactor * don't query on chain info if it's not needed * yikes * fmt * fix test * minimal fix for existing tests * attempt to fetch the session info from the rolling window before falling back * moved * comments * comments * test for backing votes * rename * Update runtime/polkadot/src/lib.rs * chore: spellcheck + dict * chore: fmt * fixup cache size * add warning * logging, rationale, less defense * introduce new unchecked, that still checks in debug builds * fix * draft alt approach * fix unused imports * include the session * Update node/core/dispute-coordinator/src/real/mod.rs Co-authored-by:
Robert Habermeier <[email protected]> * provide where possible * expand comment * fixin * fixup * ValidityVote <-> ValidityAttestation <-> CompactStatement has a 1:1 representation * mark TODO * Update primitives/src/v1/mod.rs Co-authored-by:
Robert Habermeier <[email protected]> * address review comments * update docs Co-authored-by:
Robert Habermeier <[email protected]>
-
dependabot[bot] authored
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.28 to 0.1.29. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29 ) --- updated-dependencies: - dependency-name: tracing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.6.6 to 0.7.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.6.6...0.7.0 ) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Oct 04, 2021
-
-
asynchronous rob authored
* pvf: make execution timeout configurable * guide: add timeouts to candidate validation params * add timeouts to candidate validation messages * fmt * port backing to use the backing pvf timeout * port approval-voting to use the execution timeout * port dispute participation to use the correct timeout * fmt * address grumbles & test failure
-
asynchronous rob authored
* refactor: candidate-validation background tasks * fix tests * fmt
-