- Jun 23, 2022
-
-
Sergei Shulepov authored
-
- Jun 21, 2022
-
-
Mara Broda authored
* kusama: bump spec_version to 9250 * polkadot: bump spec_version to 9250 * rococo: bump spec_version to 9250 * westend: bump spec_version to 9250 * bump version to 0.9.25 * bump transaction version (polkadot & kusama) (#5690) * kusama: bump transaction_version to 12 * polkadot: bump transaction_version to 13
-
- Jun 16, 2022
-
-
Robert Klotzner authored
-
- Jun 14, 2022
-
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.5 to 0.7.7. - [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.5...0.7.7 ) --- 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>
-
- Jun 13, 2022
-
-
Robert Klotzner authored
* Fix cleanup of old votes. * Cleanup. * Get rid of redundant import * Tests + logging * Fix db key name. * Add some reasoning to batch size. * Add dispute data to indexed columns * Fix fmt * Add helper function. * Fix typos. * Update node/core/dispute-coordinator/src/db/v1.rs Co-authored-by:
Andronik <[email protected]> * Update node/core/dispute-coordinator/src/db/v1.rs Co-authored-by:
Andronik <[email protected]> * Add metric for how long cleanup takes. Co-authored-by:
Andronik <[email protected]>
-
- May 30, 2022
-
-
Robert Klotzner authored
We are awaiting on the oneshot anyways, so we have back pressure. By using the unbounded channel make log messages like the following less likely (due to higher priority): 2022-05-30 13:46:38 2022-05-30 11:46:38.565 WARN tokio-runtime-worker parachain::provisioner: failed to assemble or send inherent data err=CanceledBackedCandidates(Canceled)
-
Gavin Wood authored
* Fix warnings * Bump
-
- May 27, 2022
-
-
Vsevolod Stakhov authored
* Add some meaningful logging to the force approval to understand why it fails * Add original block into the log to simplify logs lurking * Update node/core/approval-voting/src/import.rs Co-authored-by:
asynchronous rob <[email protected]> Co-authored-by:
asynchronous rob <[email protected]>
-
Mara Broda authored
* bump version to 0.9.23 * bump spec_version to 9230
-
- May 23, 2022
-
-
Chris Sosnin authored
-
- May 19, 2022
-
-
Andrei Sandu authored
* Add histogram for inherent data bitfields Signed-off-by:
Andrei Sandu <[email protected]> * -500ms bitfield sign job delay, +500ms bitfield gossip Signed-off-by:
Andrei Sandu <[email protected]> * Revert "-500ms bitfield sign job delay, +500ms bitfield gossip" This reverts commit 3d3f2c0fae651653ffdca50c1ad38c5757166edc. * fmt Signed-off-by:
Andrei Sandu <[email protected]> * Update node/core/provisioner/src/metrics.rs Co-authored-by:
Bernhard Schuster <[email protected]> Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Bernhard Schuster <[email protected]>
-
Bernhard Schuster authored
* rename overseer-gen to orchestra Also drop `gum` and use `tracing`. * make orchestra compile as standalone * introduce Spawner trait to split from sp_core Finalizes the independence of orchestra from polkadot-overseer * slip of the pen * other fixins * remove unused import * Update node/overseer/orchestra/proc-macro/src/impl_builder.rs Co-authored-by:
Vsevolod Stakhov <[email protected]> * Update node/overseer/orchestra/proc-macro/src/impl_builder.rs Co-authored-by:
Vsevolod Stakhov <[email protected]> * orchestra everywhere * leaky data * Bump scale-info from 2.1.1 to 2.1.2 (#5552) Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.1.1 to 2.1.2. - [Release notes](https://github.com/paritytech/scale-info/releases) - [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md) - [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 ) --- updated-dependencies: - dependency-name: scale-info 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> * Add missing markdown code block delimiter (#5555) * bitfield-signing: remove util::jobs usage (#5523) * Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337) * Switch to pooling copy-on-write instantiation strategy for WASM * Fix compilation of `polkadot-test-service` * Update comments * Move `max_memory_size` to `Semantics` * Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy` * Update a safety comment * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * Fix build Co-authored-by:
Vsevolod Stakhov <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Malte Kliemann <[email protected]> Co-authored-by:
Chris Sosnin <[email protected]> Co-authored-by:
Koute <[email protected]>
-
Koute authored
Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337) * Switch to pooling copy-on-write instantiation strategy for WASM * Fix compilation of `polkadot-test-service` * Update comments * Move `max_memory_size` to `Semantics` * Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy` * Update a safety comment * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
Chris Sosnin authored
-
- May 18, 2022
-
-
Andrei Sandu authored
* Make back pressure great again Signed-off-by:
Andrei Sandu <[email protected]> * Test commit - parallel vs caching Signed-off-by:
Andrei Sandu <[email protected]> * Increase concurrency Signed-off-by:
Andrei Sandu <[email protected]> * Fixups Signed-off-by:
Andrei Sandu <[email protected]> * fix comment Signed-off-by:
Andrei Sandu <[email protected]> * update todo issue Signed-off-by:
Andrei Sandu <[email protected]> * another doc change Signed-off-by:
Andrei Sandu <[email protected]> * More comments Signed-off-by:
Andrei Sandu <[email protected]>
-
- May 16, 2022
-
-
Mara Broda authored
* bump versions to 0.9.22 * bump spec_version to 9220
-
- May 12, 2022
-
-
Bernhard Schuster authored
Closes #3774 Closes #3826
-
Bernhard Schuster authored
-
- May 11, 2022
-
-
Bernhard Schuster authored
* unify to polkadot-node-subsystem{,-test-helpers} * chore: fmt
-
Davide Galassi authored
* Revert approval-voting subsystem * Approval voting revert encapsulated within 'ops' module * use 'get_stored_blocks' to get lower block height * Fix error message * Optionally shrink/delete stored blocks range * range end number is last block number plus 1 * Apply code review suggestions * Use tristate enum for block range in backend overlay * Add clarification comment * Add comments to private struct
-
- May 09, 2022
-
-
Andrei Sandu authored
* Increase message channel size to 2048 Signed-off-by:
Andrei Sandu <[email protected]> * Use unbounded channel for reading data Signed-off-by:
Andrei Sandu <[email protected]>
-
- May 08, 2022
-
-
dependabot[bot] authored
Bumps [log](https://github.com/rust-lang/log) from 0.4.16 to 0.4.17. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/commits/0.4.17 ) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <[email protected]>
-
- May 06, 2022
-
-
Robert Klotzner authored
-
Tsvetomir Dimitrov authored
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data (#5336) * Implement MallocSizeOf for DisputeState * Implementation of `Disputes` Runtime API message * Modify on-chain dispute import * Add feature flag for the new functionality * Update node/core/provisioner/src/onchain_disputes.rs Co-authored-by:
Andrei Sandu <[email protected]> * Add target to log messages * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <[email protected]> * Use `staging-client` feature to enable the client code using the staging runtime api * Remove TODO comment * Don't filter out DisputeState * Fix disputes selection logic * spelling * Tests * Rename `Disputes` message to `StagingDisputes` * Update node/core/provisioner/src/lib.rs Co-authored-by:
Bernhard Schuster <[email protected]> * Code review feedback - Logging - Separate error module - Add additional fields for GetOnchainDisputesErr - logging and impl MallocSizeOf - fix impl MallocSizeOf for DisputeState - fix tests * Update node/core/provisioner/src/error.rs Co-authored-by:
Andronik <[email protected]> * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <[email protected]> * Update node/core/provisioner/src/lib.rs Co-authored-by:
Andronik <[email protected]> * Apply suggestions from code review dummy metrics instance Co-authored-by:
Bernhard Schuster <[email protected]> * Revert "Apply suggestions from code review" This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e. * Code review feedback: #[cfg(test)] for new_dummy() in metrics * Code review feedback: break the disputes generation logic in separate functions * Code review feedback - align_eight Co-authored-by:
Andrei Sandu <[email protected]> Co-authored-by:
Andronik <[email protected]> Co-authored-by:
Bernhard Schuster <[email protected]>
-
- May 04, 2022
-
-
dependabot[bot] authored
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 ) --- 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>
-
ordian authored
* more verbose assignment cert errors * rename a variant to InvalidAssignmentKey
-
- May 01, 2022
-
-
asynchronous rob authored
-
- Apr 29, 2022
-
-
asynchronous rob authored
-
- Apr 28, 2022
-
-
Davide Galassi authored
* Chain-selection subsystem data revert * Cargo fmt * Better code comments * Remove unwraps * Document public method * Remove duplicated 'ChainSelectionSubsystem' impl block * Fix typos * Nitpicks * Revert returns a service Error * Removed superflous error handling * Apply suggestions from code review * Rename tree 'revert' to 'revert_to' Co-authored-by:
Sebastian Kunert <[email protected]>
-
- Apr 27, 2022
-
-
asynchronous rob authored
* backing: refactor off of jobs system * rename FailedToSpawnBg * refactor: backing uses fatality * fix service compilation
-
- Apr 25, 2022
-
-
Bernhard Schuster authored
* split metrics from collation generation * move metrics to separate file out of backing * split bitfield signing metrics * split candidate validation metrics * split chain api metrics * split metrics from runtime API * util is not used in backed metrics mod * fmt * missing types * sure
-
- Apr 19, 2022
-
-
asynchronous rob authored
* gossip-support: be explicit about dimensions * some guide updates * update network-bridge to distinguish x and y dimensions * get everything to compile * beginnings * some TODOs * polkadot runtime: use relevant_authorities * make gossip topologies per-session * better formatting * gossip support: use current session validators * expand in comment * adjust tests and fix index bug * add past/present/future connection test and clean up code * fmt * network bridge: updated types * update protocols to new gossip topology message * guide updates * add session to BlockApprovalMeta * add session to block info * refactor knowledge and remove most unify logic * start replacing gossip_peers with new SessionTopologies * add routing information to message state * add some utilities to SessionTopology * implement new gossip topology logic * re-implement unify_with_peer * distribute assignments according to topology * finish grid topology implementation * refactor network bridge slightly * issue connection requests on all past/present/future * fmt * address grumbles * tighten invariants in unify_with_peer * implement random propagation * refactor: extract required routing adjustment logic * some block-age logic * aggressively propagate messages when finality is slow * overhaul aggression system to have 3 levels * add aggression metrics * remove aggression L3 * reduce random circulation * remove PeerData * get approval tests compiling * use btree_map in known_by to make deterministic * Revert "use btree_map in known_by to make deterministic" This reverts commit 330d65343a7bb6fe4dd0f24bd8dbc15c0cbdbd9d. * test XY grid propagation * remove stray println * test unshared dimension propagation * add random gossip check * test unify_with_peer better * test sending after getting gossip topology * test L1 aggression on originator * test L1 aggression for non-originators * test non-originator aggression L2 * fnt * ~spellcheck * fix statement-distribution tests * fix flaky test * fix metrics typo * re-send periodically * test resending * typo Co-authored-by:
Bernhard Schuster <[email protected]> * add more metrics about apd messages * add back unify_with_peer logs * make Resend an enum * be more explicit when resending * fmt * fix error * add a TODO for refactoring * remove debug metrics * add some guide stuff * fmt * update runtime API in test-runtim Co-authored-by:
Bernhard Schuster <[email protected]>
-
asynchronous rob authored
* flatton dispute-coordinator 'real' module, * Drop obsolete modules. Co-authored-by:
Robert Klotzner <[email protected]>
-
Robert Klotzner authored
* Make import confirmation oneshot optional. * Cleanup for further improvements. * Queue adoptions. * Fix fieldname * Use correct relay parent * Fix scraper tests. * Small optimization. * Fix all tests. * Fix other tests. * fmt * spelling * Fix warning.
-
- Apr 13, 2022
-
-
Andrei Sandu authored
* Implement fake validation results Signed-off-by:
Andrei Sandu <[email protected]> * refactor Signed-off-by:
Andrei Sandu <[email protected]> * cargo lock Signed-off-by:
Andrei Sandu <[email protected]> * spell check Signed-off-by:
Andrei Sandu <[email protected]> * spellcheck Signed-off-by:
Andrei Sandu <[email protected]> * typos Signed-off-by:
Andrei Sandu <[email protected]> * Review feedback Signed-off-by:
Andrei Sandu <[email protected]> * move stuff around Signed-off-by:
Andrei Sandu <[email protected]> * chores Signed-off-by:
Andrei Sandu <[email protected]> * Impl valid - still wip Signed-off-by:
Andrei Sandu <[email protected]> * fixes Signed-off-by:
Andrei Sandu <[email protected]> * fmt Signed-off-by:
Andrei Sandu <[email protected]> * Pull Ladi's implementation: https://github.com/paritytech/polkadot/pull/4711 Co-authored-by:
Lldenaurois <[email protected]> Co-authored-by:
Andrei Sandu <[email protected]> Signed-off-by:
Andrei Sandu <[email protected]> * Fix build Signed-off-by:
Andrei Sandu <[email protected]> * Logs and comments Signed-off-by:
Andrei Sandu <[email protected]> * WIP: suggest garbage candidate + implement validation result caching Signed-off-by:
Andrei Sandu <[email protected]> * fix Signed-off-by:
Andrei Sandu <[email protected]> * Do commitment hash checks in candidate validation Signed-off-by:
Andrei Sandu <[email protected]> * Minor refactor in approval, backing, dispute-coord Signed-off-by:
Andrei Sandu <[email protected]> * Working version of suggest garbage candidate Signed-off-by:
Andrei Sandu <[email protected]> * Dedup Signed-off-by:
Andrei Sandu <[email protected]> * cleanup #1 Signed-off-by:
Andrei Sandu <[email protected]> * Fix tests Signed-off-by:
Andrei Sandu <[email protected]> * remove debug leftovers Signed-off-by:
Andrei Sandu <[email protected]> * fmt Signed-off-by:
Andrei Sandu <[email protected]> * Accidentally commited some local test Signed-off-by:
Andrei Sandu <[email protected]> * spellcheck Signed-off-by:
Andrei Sandu <[email protected]> * some more fixes Signed-off-by:
Andrei Sandu <[email protected]> * Refactor and fix it Signed-off-by:
Andrei Sandu <[email protected]> * review feedback Signed-off-by:
Andrei Sandu <[email protected]> * typo Signed-off-by:
Andrei Sandu <[email protected]> * tests review feedback Signed-off-by:
Andrei Sandu <[email protected]> * refactor disputer Signed-off-by:
Andrei Sandu <[email protected]> * fix tests Signed-off-by:
Andrei Sandu <[email protected]> * Fix zombienet disputes test Signed-off-by:
Andrei Sandu <[email protected]> * spellcheck Signed-off-by:
Andrei Sandu <[email protected]> * fix Signed-off-by:
Andrei Sandu <[email protected]> * Fix ui tests Signed-off-by:
Andrei Sandu <[email protected]> * fix typo Signed-off-by:
Andrei Sandu <[email protected]> Co-authored-by:
Lldenaurois <[email protected]>
-
- Apr 12, 2022
-
-
Tsvetomir Dimitrov authored
* Move `trait ParachainHost` to a separate version independent module `trait ParachainHost` is no longer part of a specific primitives version. Instead there is a single trait for stable and staging api versions. The trait contains stable AND staging methods. The latter are explicitly marked as unstable. * Fix `use` primitives `polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api` * Staging API declaration and stubs Introduces the concept for 'staging functions' in runtime API. These functions are still in testing and they are meant to be used only within test networks (Westend). They coexist with the stable calls for technical reasons - maintaining different runtime APIs for different networks is hard to implement. Check the doc comments in source files for more details how the staging API should be used. * Add new staging method - get_session_disputes() Add `staging_get_session_disputes` to `ParachainHost` as the first method of the staging API. * Hide vstaging runtime api implementations behind feature flag * Fix test runtime * fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
-
- Apr 09, 2022
-
-
Sergei Shulepov authored
The PVF host is designed to avoid spawning tasks to minimize knowledge of outer code. Using `async_std::task::spawn` (or Tokio's counterpart) deemed unacceptable, `SpawnNamed` undesirable. Instead there is only one task returned that is spawned by the candidate-validation subsystem. The tasks from the sub-components are polled by that root task. However, the way the tasks are bundled was incorrect. There was a giant select that was polling those tasks. Particularly, that implies that as soon as one of the arms of that select goes into await those sub-tasks stop getting polled. This is a recipe for a deadlock which indeed happened here. Specifically, the deadlock happened during sending messages to the execute queue by calling [`send_execute`](https://github.com/paritytech/polkadot/blob/a68d9be35656dcd96e378fd9dd3d613af754d48a/node/core/pvf/src/host.rs#L601). When the channel to the queue reaches the capacity, the control flow is suspended until the queue handles those messages. Since this code is essentially reached from [one of the select arms](https://github.com/paritytech/polkadot/blob/a68d9be35656dcd96e378fd9dd3d613af754d48a/node/core/pvf/src/host.rs#L371), the queue won't be given the control and thus no further progress can be made. This problem is solved by bundling the tasks one level higher instead, by `selecting` over those long-running tasks. We also stop treating returning from those long-running tasks as error conditions, since that can happen during legit shutdown.
-
- Apr 08, 2022
-
-
Mara Broda authored
-
Robert Klotzner authored
-
Koute authored
* Print out original the runtime API error * Improved error handling in approval voting block import * Fix test * Update comment
-