- Feb 07, 2022
-
-
Bernhard Schuster authored
Closes #4763
-
- Feb 02, 2022
-
-
Chevdor authored
* Bump spec_version * Bump version to 0.9.16
-
Bernhard Schuster authored
-
- Jan 31, 2022
-
-
sandreim authored
Signed-off-by: Andrei Sandu <[email protected]>
-
- Jan 30, 2022
-
-
ordian authored
-
- Jan 26, 2022
-
-
sandreim authored
* Rename/refactor around get_session_index Signed-off-by: Andrei Sandu <[email protected]> * choose proper head for fetching session Signed-off-by: Andrei Sandu <[email protected]> * revert rename Signed-off-by: Andrei Sandu <[email protected]> * fix comments Signed-off-by: Andrei Sandu <[email protected]> * renaming and more comments Signed-off-by: Andrei Sandu <[email protected]> * review feedback Signed-off-by: Andrei Sandu <[email protected]> * Run Fetch task in correct session Signed-off-by: Andrei Sandu <[email protected]> * Log warning when ancestors unavailable Signed-off-by: Andrei Sandu <[email protected]> * Fixes Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]>
-
sandreim authored
* Dont error in finality_target_with_longest_chain Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]> * Add error flag Signed-off-by: Andrei Sandu <[email protected]> * Add error flag in dispute-coordinator Make sure to send errors to subsystems requesting data depending on missing session info Signed-off-by: Andrei Sandu <[email protected]> * Scrape ancestors Signed-off-by: Andrei Sandu <[email protected]> * fmt Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]> * Fix naming Signed-off-by: Andrei Sandu <[email protected]> * review feedback Signed-off-by: Andrei Sandu <[email protected]> * fmt Signed-off-by: Andrei Sandu <[email protected]> *
💬 fixes Signed-off-by: Andrei Sandu <[email protected]> * consume Signed-off-by: Andrei Sandu <[email protected]> * fix tests Signed-off-by: Andrei Sandu <[email protected]> * typo Signed-off-by: Andrei Sandu <[email protected]> * review fixes Signed-off-by: Andrei Sandu <[email protected]> * Bump scraped blocks LRU capacity Signed-off-by: Andrei Sandu <[email protected]> * 🧯🔥 Signed-off-by: Andrei Sandu <[email protected]> * remove prints Signed-off-by: Andrei Sandu <[email protected]> * Increase scraped blocks cache size Signed-off-by: Andrei Sandu <[email protected]> * more review fixes Signed-off-by: Andrei Sandu <[email protected]> * another fix Signed-off-by: Andrei Sandu <[email protected]> * fix target_ancestor Signed-off-by: Andrei Sandu <[email protected]> * Scrape up to max finalized block Signed-off-by: Andrei Sandu <[email protected]> * undo comment change Signed-off-by: Andrei Sandu <[email protected]> * Limit ancestry lookup to last finalized block or max finality lag Signed-off-by: Andrei Sandu <[email protected]> * debug damage Signed-off-by: Andrei Sandu <[email protected]> -
Bastian Köcher authored
-
asynchronous rob authored
-
Chris Sosnin authored
* availability-distribution: look for leaf ancestors * Re-use subsystem-util * Rework ancestry tasks scheduling * Requester tests * Improve readability for ancestors lookup
-
- Jan 25, 2022
-
-
Qinxuan Chen authored
* Companion for substrate#10632 Signed-off-by: koushiro <[email protected]> * cargo format Signed-off-by: koushiro <[email protected]> * Fix bags-list Signed-off-by: koushiro <[email protected]> * Update Substrate * Fix Signed-off-by: koushiro <[email protected]> * Fix bridges test * FMT Co-authored-by: Keith Yeung <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 21, 2022
-
-
Bastian Köcher authored
We use the `Compiled` wasm execution and for that the `wasmtime` needs to be enabled.
-
- Jan 20, 2022
-
-
Bernhard Schuster authored
* fix miscalculation of remaining weight * rename a var * move out enforcing filtering by dropping inherents * prepare for dispute statement validity check being split off * refactor * refactor, only check disputes we actually want to include * more refactor and documentation * refactor and minimize inherent checks * chore: warnings * fix a few tests * fix dedup regression * fix * more asserts in tests * remove some asserts * chore: fmt * skip signatures checks, some more * undo unwatend changes * Update runtime/parachains/src/paras_inherent/mod.rs Co-authored-by: sandreim <[email protected]> * cleanups, checking CheckedDisputeStatments makes no sense * integrity, if called create_inherent_inner, it shall do the checks, and not rely on enter_inner * review comments * use from impl rather than into * remove outdated comment * adjust tests accordingly * assure no weight is lost * address review comments * remove unused import * split error into two and document * use assurance, O(n) * Revert "adjust tests accordingly" This reverts commit 3cc9a3c449f82db38cea22c48f4a21876603374b. * fix comment * fix sorting * comment Co-authored-by: sandreim <[email protected]>
-
- Jan 18, 2022
-
-
Sergey Pepyakin authored
* pvf-checker-subsystem: metrics This commits adds metrics to the PVF pre-checking subsystem. * Apply suggestions from code review Co-authored-by: sandreim <[email protected]> Co-authored-by: sandreim <[email protected]>
-
- Jan 15, 2022
-
-
ordian authored
-
Robert Klotzner authored
-
- Jan 13, 2022
-
-
Alexander Popiak authored
* add fast-runtime feature for reduced session times * make democracy periods fast on fast-runtime * propagate fast-runtime feature through cargo.toml files * add fast motion and term durations to Kusama * Update runtime/westend/Cargo.toml Co-authored-by: Kian Paimani <[email protected]> * set session time to 2 minutes to avoid block production issues * formatting * update Substrate * set democracy fast periods back to 1min * set launch period and enactment period to 1 block in fast-runtime * remove unnecessary westend period configs * add prod_or_test macro to allow specifying prod, test and env values for parameter types * move prod_or_test macro into common module and use it consistently * rename macro to prod_or_fast * cargo +nightly fmt * bump impl_versions * newline Co-authored-by: Kian Paimani <[email protected]> * add note that env variable is evaluated at compile time * newline Co-authored-by: Kian Paimani <[email protected]> * newline Co-authored-by: Kian Paimani <[email protected]> * cargo fmt * impl_version: 0 * impl_version: 0 * use prod_or_fast macro for LeasePeriod and LeaseOffset * use prod_or_fast macro in WND and ROC constants Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Giles Cope <[email protected]>
-
sandreim authored
* Check authority status on active leaves update Signed-off-by: Andrei Sandu <[email protected]> * cargo changes Signed-off-by: Andrei Sandu <[email protected]> * Fix tests Signed-off-by: Andrei Sandu <[email protected]> * Add metric for authority status Signed-off-by: Andrei Sandu <[email protected]> * Revert "Fix tests" This reverts commit 5bd56bb367ec0b01ecca04498b3974ab67bf3189. * Revert "cargo changes" This reverts commit ffea18fe3ca12b27e6471ad9f44592799ec90956. * Revert "Check authority status on active leaves update" This reverts commit 55a30ac81bf32a72e0b79ca2e7bb612344a5c43d. * Test fixups Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]> * update Signed-off-by: Andrei Sandu <[email protected]> * undo damage Signed-off-by: Andrei Sandu <[email protected]> * dont update status on runtime errors Signed-off-by: Andrei Sandu <[email protected]> * Fix tests Signed-off-by: Andrei Sandu <[email protected]> * fix inconsistency Signed-off-by: Andrei Sandu <[email protected]> * Review feedback Signed-off-by: Andrei Sandu <[email protected]> * Dont derive primitive Default Signed-off-by: Andrei Sandu <[email protected]> * add dummy_session_info helper Signed-off-by: Andrei Sandu <[email protected]> * unset parachain validator status if no longer authority Signed-off-by: Andrei Sandu <[email protected]> * update Signed-off-by: Andrei Sandu <[email protected]> * damn Signed-off-by: Andrei Sandu <[email protected]> *
🤦 Signed-off-by: Andrei Sandu <[email protected]> -
ordian authored
* approval-voting: add more logs * approval-voting: query finalized block on startup and increase look back * runtime-api: do not cache None SessionInfo
-
ordian authored
* approval-voting: add more logs * approval-voting: query finalized block on startup and increase look back
-
Robert Klotzner authored
* Add some docs to prevent a time loop. * Review remarks.
-
- Jan 12, 2022
-
-
ordian authored
-
- Jan 10, 2022
-
-
Web3 Philosopher authored
-
Robert Klotzner authored
* Better docs on non initialized state. * Document better what is happening. * More precise errors. * cargo fmt
-
sandreim authored
* Remove sleep and use polkadot test service Signed-off-by: Andrei Sandu <[email protected]> * updates Signed-off-by: Andrei Sandu <[email protected]> * Fix other tests Signed-off-by: Andrei Sandu <[email protected]> * Run metrics tests separately Signed-off-by: Andrei Sandu <[email protected]> * copy some substrate utilities Signed-off-by: Andrei Sandu <[email protected]> * update runtime metric test Signed-off-by: Andrei Sandu <[email protected]> * Remove sleep from cli tests Signed-off-by: Andrei Sandu <[email protected]> * cargo Signed-off-by: Andrei Sandu <[email protected]> * Polkadot companion for Substrate#10463 (#4519) * Grandpa and Beefy protocol names include chain id Signed-off-by: acatangiu <[email protected]> * chain_spec: include fork id * use simplified protocol name * fix after merge * avoid using hash default, even for protocol names * update lockfile for substrate Co-authored-by: parity-processbot <> * configuration: Update upgrade validation delay doc (#4662) * typo Signed-off-by: Andrei Sandu <[email protected]> * review feedback Signed-off-by: Andrei Sandu <[email protected]> * cargo lock Signed-off-by: Andrei Sandu <[email protected]> * use testnet profile Signed-off-by: Andrei Sandu <[email protected]> * Don't run with runtime-benchmark feature Signed-off-by: Andrei Sandu <[email protected]> * conditional compile up one level Signed-off-by: Andrei Sandu <[email protected]> Co-authored-by: Sergei Shulepov <[email protected]>
-
Bastian Köcher authored
* Companion: code-substitute: Switch from `block_hash` to `block_number` * Update Substrate
-
- Jan 07, 2022
-
-
Sergey Pepyakin authored
This commit implements the last major piece of #3211: the subsystem that tracks PVFs that require voting, issues pre-check requests to candidate-validation and makes sure that the votes are submitted to the chain.
-
Javier Viola authored
-
Robert Klotzner authored
Happened on Kusama for some not yet known reason.
-
- Jan 06, 2022
-
-
Adrian Catangiu authored
* support best Beefy RPC through arc<mutex> * beefy RPC through lockless message passing - wip Not working because channel can't be simply opened and receiver passed to `rpc_extensions_builder` because `rpc_extensions_builder` has to be `Fn` and not `FnOnce`... and and Receiver side of mpsc can't be cloned yay!.. * beefy RPC through lockless message passing * beefy: use specialized type definitions * bubble up service errors from BEEFY RPC * update lockfile for substrate Co-authored-by: parity-processbot <>
-
- Jan 05, 2022
-
-
Adrian Catangiu authored
* Grandpa and Beefy protocol names include chain id Signed-off-by: acatangiu <[email protected]> * chain_spec: include fork id * use simplified protocol name * fix after merge * avoid using hash default, even for protocol names * update lockfile for substrate Co-authored-by: parity-processbot <>
-
sandreim authored
* initial changes Signed-off-by: Andrei Sandu <[email protected]> * fmt Signed-off-by: Andrei Sandu <[email protected]> * remove file Signed-off-by: Andrei Sandu <[email protected]> * Remove pallet Signed-off-by: Andrei Sandu <[email protected]> * fix copyright year Signed-off-by: Andrei Sandu <[email protected]> * Remove metric registration op Signed-off-by: Andrei Sandu <[email protected]> * Register runtime metrics in client Signed-off-by: Andrei Sandu <[email protected]> * fmt Signed-off-by: Andrei Sandu <[email protected]> * fix build without `runtime-metrics` Signed-off-by: Andrei Sandu <[email protected]> * reduce visibility Signed-off-by: Andrei Sandu <[email protected]> * remove metric prefix logic, use hardcoded Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]> ...
-
Adrian Catangiu authored
Signed-off-by: acatangiu <[email protected]>
-
- Jan 04, 2022
-
-
ordian authored
* collator-protocol: add to reserved peers on every relay parent * bump collator slots from 25 to 100 * collator-protocol: reduce inactivity timeout from 24s to 5s * try to satisfy spellcheck * add connection log * fmt * bring a warn back * gather validators across all active leaves
-
Robert Klotzner authored
* Don't change rep on timeout in collator protocol. * Fix tests. * Fixes.
-
- Jan 02, 2022
-
-
dependabot[bot] authored
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.10 to 1.0.14. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14) --- updated-dependencies: - dependency-name: quote 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
* Bump pin-project from 1.0.8 to 1.0.9 Bumps [pin-project](https://github.com/taiki-e/pin-project) from 1.0.8 to 1.0.9. - [Release notes](https://github.com/taiki-e/pin-project/releases) - [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.8...v1.0.9) --- updated-dependencies: - dependency-name: pin-project dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update pin-project to fix compilation * Also bump the old ones Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]>
-
- Dec 30, 2021
-
-
Sergey Pepyakin authored
This just renames a member of `HostConfiguration` from validation_upgrade_frequency to -//-_cooldown. As was already pointed out in #4460 the existing name is a misnomer, the member actually represents a minimum time period between upgrades, which is neatly expressed by a word cooldown. I've been planning this rename already for some time and the term is already used in paras module: https://github.com/paritytech/polkadot/blob/1394b70d/runtime/parachains/src/paras.rs#L1568-L1574
-
- Dec 29, 2021
-
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.1 to 0.7.2. - [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.7.1...0.7.2) --- updated-dependencies: - dependency-name: lru 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 [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.34 to 1.0.36. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.36) --- updated-dependencies: - dependency-name: proc-macro2 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>
-