- Aug 11, 2023
-
-
Adrian Catangiu authored
* cli: move no-beefy flag to substrate sc-cli config * bump substrate ref --------- Signed-off-by: Adrian Catangiu <[email protected]>
-
- Aug 01, 2023
-
-
Marcin S. authored
* PVF: Fix external workers being required for non-collator full nodes * Fix * Make check more precise > This might as well be if role.is_authority() as there aren't really any nodes > that are both authorities and collators. But if there were a node that is an > authority and a collator, it'd probably want to validate candidates (in its > role as an authority). * Just seeing if this fixes zombienet CI...
-
- Jul 31, 2023
-
-
Marcin S. authored
* [WIP] PVF: Split out worker binaries * Address compilation problems and re-design a bit * Reorganize once more, fix tests * Reformat with new nightly to make `cargo fmt` test happy * Address `clippy` warnings * Add temporary trace to debug zombienet tests * Fix zombienet node upgrade test * Fix malus and its CI * Fix building worker binaries with malus * More fixes for malus * Remove unneeded cli subcommands * Support placing auxiliary binaries to `/usr/libexec` * Fix spelling * Spelling Co-authored-by: Marcin S. <[email protected]> * Implement review comments (mostly nits) * Fix worker node version flag * Rework getting the worker paths * Address a couple of review comments * Minor restructuring * Fix CI error * Add tests for worker binaries detection * Improve tests; try to fix CI * Move workers module into separate file * Try to fix failing test and workers not printing latest version - Tests were not finding the worker binaries - Workers were not being rebuilt when the version changed - Made some errors easier to read * Make a bunch of fixes * Rebuild nodes on version change * Fix more issues * Fix tests * Pass node version from node into dependencies to avoid recompiles - [X] get version in CLI - [X] pass it in to service - [X] pass version along to PVF - [X] remove rerun from service - [X] add rerun to CLI - [X] don’t rerun pvf/worker’s (these should be built by nodes which have rerun enabled) * Some more improvements for smoother tests - [X] Fix tests - [X] Make puppet workers pass None for version and remove rerun - [X] Make test collators self-contained * Add back rerun to PVF workers * Move worker binaries into files in cli crate As a final optimization I've separated out each worker binary from its own crate into the CLI crate. Before, the worker bin shared a crate with the worker lib, so when the binaries got recompiled so did the libs and everything transitively depending on the libs. This commit fixes this regression that was causing recompiles after every commit. * Fix bug (was passing worker version for node version) * Move workers out of cli into root src/bin/ dir - [X] Pass in node version from top-level (polkadot) - [X] Add build.rs with rerun-git-head to root dir * Add some sanity checks for workers to dockerfiles * Update malus + [X] Make it self-contained + [X] Undo multiple binary changes * Try to fix clippy errors * Address `cargo run` issue - [X] Add default-run for polkadot - [X] Add note about installation to error * Update readme (installation instructions) * Allow disabling external workers for local/testing setups + [X] cli flag to enable single-binary mode + [X] Add message to error * Revert unnecessary Cargo.lock changes * Remove unnecessary build scripts from collators * Add back missing malus commands (should fix failing ZN job) * Some minor fixes * Update Cargo.lock * Fix some build errors * Undo self-contained binaries; cli flag to disable version check + [X] Remove --dont-run-external-workers + [X] Add --disable-worker-version-check + [X] Remove PVF subcommands + [X] Redo malus changes * Try to fix failing job and add some docs for local tests --------- Co-authored-by: Dmitry Sinyavin <[email protected]> Co-authored-by: s0me0ne-unkn0wn <[email protected]> Co-authored-by: parity-processbot <>
-
- Jul 18, 2023
-
-
Michal Kucharczyk authored
* chain-spec: polkadot_staging_testnet config removed The config has empty initial authority test. It is unusable. ``` $ polkadot export-blocks --chain polkadot-staging --from=0 --to=0 ... Thread 'main' panicked at 'Empty validator set for session 0 in genesis block!', /home/miszka/.cargo/git/checkouts/substrate-7e08433d4c370a21/c446786/frame/session/src/lib.rs:463 ``` * warning fix
-
- Jul 05, 2023
-
-
Bastian Köcher authored
* Companion for Substrate#14511 https://github.com/paritytech/substrate/pull/14511 * Make benchmarking build without any native runtime * Fix warning * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Jul 04, 2023
-
-
Bastian Köcher authored
* Implement runtime apis for fake runtime These runtime api implementations are only used to make the compiler think that we have implemented all required runtime apis. They will not be called as we switch the executor to `WasmExecutor`. In the near future we will not require these fake implementations anymore after Substrate has shifted away from this compile time requirement. This brings us the advantage that the `polkadot-service` doesn't need to depend on the runtimes for getting the `RuntimeApi` type. It also removes around 1min of build time on my machine ;) * Fix warning * FMT * ".git/.scripts/commands/fmt/fmt.sh" * Use more descriptive id * Fix warnings * Adapt path * Fix
🙈 --------- Co-authored-by: command-bot <>
-
- Jun 29, 2023
-
-
Bastian Köcher authored
* Companion for Substrate#14474 This removes the requirement to pass the native dispatch. * Adapt * Better * Remove patch * ... * Fix * Update Substrate
-
- May 26, 2023
-
-
Adrian Catangiu authored
We consider BEEFY mature enough to run by default on all nodes for test networks (Rococo/Wococo/Versi). Right now, most nodes are not running it since it's opt-in using --beefy flag. Switch to an opt-out model for test networks. Replace --beefy flag from CLI with --no-beefy and have BEEFY client start by default on test networks. Signed-off-by: acatangiu <[email protected]>
-
- May 25, 2023
-
-
Marcin S. authored
* PVF: Refactor workers into separate crates, remove host dependency * Fix compile error * Remove some leftover code * Fix compile errors * Update Cargo.lock * Remove worker main.rs files I accidentally copied these from the other PR. This PR isn't intended to introduce standalone workers yet. * Address review comments * cargo fmt * Update a couple of comments * Update log targets
-
- May 12, 2023
-
-
Anton authored
* upgrade js-sys to 0.3.61 * update wasm-bindgen-futures * update once_cell * update either * update futures * update pyroscope to 0.5.3 * use the new pyroscope API * add missing imports * readme is incorrect * add shutdown * fix shutdown * remove mut * remove mut 2 * redo updates * update zeroize * update lockfile for {"substrate"} * update lockfile for {"substrate", "cumulus"} * redo updates * restart CI --------- Co-authored-by: parity-processbot <>
-
- Apr 21, 2023
-
-
Marcin S. authored
* Move PVF workers into separate crate * Fix indentation * Fix compilation errors * Fix more compilation errors * Rename `worker.rs` files, make host interface to worker more clear * Fix more compilation errors * Fix more compilation errors * Add link to issue * Address review comments * Update comment
-
- Apr 08, 2023
-
-
s0me0ne-unkn0wn authored
* Happy New Year! * Remove year entierly Co-authored-by: Oliver Tale-Yazdi <[email protected]> * Remove years from copyright notice in the entire repo --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
- Mar 29, 2023
-
-
s0me0ne-unkn0wn authored
* Check spawned worker version vs node version before PVF preparation * Address discussions * Propagate errors and shutdown preparation and execution pipelines properly * Add logs; Fix execution worker checks * Revert "Propagate errors and shutdown preparation and execution pipelines properly" This reverts commit b96cc3160ff58db5ff001d8ca0bfea9bd4bdd0f2. * Don't try to shut down; report the condition and exit worker * Get rid of `VersionMismatch` preparation error * Merge master * Add docs; Fix tests * Update Cargo.lock * Kill again, but only the main node process * Move unsafe code to a common safe function * Fix libc dependency error on MacOS * pvf spawning: Add some logging, add a small integration test * Minor fixes * Restart CI --------- Co-authored-by: Marcin S <[email protected]>
-
- Feb 20, 2023
-
-
Oliver Tale-Yazdi authored
* Adjust command * Move imports * Chain-specific blocktime * update lockfile for {"substrate"} * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix bench Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Export constants from node service Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Use constants in CLI Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Piotr Mikołajczyk <[email protected]> Co-authored-by: parity-processbot <>
-
- Feb 07, 2023
-
-
Bastian Köcher authored
This feature should only be activated by the polkadot binary. Otherwise parachains may accidentally activate this feature.
-
- 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]>
-
- Jan 21, 2023
-
-
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]>
-
- Dec 20, 2022
-
-
Michal Kucharczyk authored
* BlockId removal: refactor: HeaderBackend::header It changes the arguments of: - `HeaderBackend::header`, - `Client::header` methods from: `BlockId<Block>` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * missed fixes * BlockId removal: refactor: HeaderBackend::expect_header It changes the arguments of `HeaderBackend::expect_header` method from: `BlockId<Block>` to: `Block::Hash` * update lockfile for {"substrate"} * misspell fixed Co-authored-by: parity-processbot <>
-
- Dec 15, 2022
-
-
Kian Paimani authored
* update to reflect latest try-runtime stuff * update to latest version * fix * fix miner * update * update * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Nov 30, 2022
-
-
alexgparity authored
* Add clippy config and remove .cargo from gitignore * first fixes * Clippyfied * Add clippy CI job * comment out rusty-cachier * minor * fix ci * remove DAG from check-dependent-project * add DAG to clippy Co-authored-by: alvicsam <[email protected]>
-
- Oct 18, 2022
-
-
Sebastian Kunert authored
* Move clap to 4.0.9 * Remove "deprecated" feature flag * Convert to default_value_t * update lockfile for {"substrate"} * Add group(skip) to avoid naming conflict * More group(skip) Co-authored-by: parity-processbot <>
-
- Oct 11, 2022
-
-
Andrei Sandu authored
* Expose the full Cli through malus Signed-off-by: Andrei Sandu <[email protected]> * fix lonely test Signed-off-by: Andrei Sandu <[email protected]> Signed-off-by: Andrei Sandu <[email protected]>
-
- Sep 14, 2022
-
-
Oliver Tale-Yazdi authored
* Enable correct features Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Feature gate function The expose_db function is currently feature gated with runtime-benchmarks. After the related Substrate MR, this feature gate will actually *work* as intended instead of doing nothing. BUT then we also have to pass through the correct feature, hence this MR. Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Fix bench features Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fix more features Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- Sep 02, 2022
-
-
Stephen Shelton authored
* Reflect benchmarking fn signature change * fmt * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Jul 22, 2022
-
-
ordian authored
* add malus_finality_delay flag * cargo update -p sp-io * no warnings when malus is disabled * subpar workaround for feature unification problem * remove malus_finality_delay from regular cli * document finality_delay param, rename cli arg
-
- Jul 21, 2022
-
-
Dmitry Markin authored
* Cleanup light client leftovers * Remove light clent leftovers in test-parachains * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Jul 20, 2022
-
-
Bernhard Schuster authored
* allow re-use and avoid compiling kusama parachain code * fixup removed trailing ; * make it compat with rustfmt +nightly
-
- Jul 19, 2022
-
-
Oliver Tale-Yazdi authored
* Expose 'benchmark extrinsic' command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Split benchmarking into own mod Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Simplify code Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fixup Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Cleanup Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Spell Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Revert Cargo.lock updates Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Fix brittle test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Bump spec version to 9270 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Sleep in test to make it work in CI... Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable failing test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Revert "Bump spec version to 9270" This reverts commit c1c385d7a4dc849e7f4d4723740aec66c2b7be09. * Delete brittle test, see #5788 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable failing test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Delete more failing tests... Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- May 05, 2022
-
-
Bernhard Schuster authored
* allow runtime adjustment of signal channel size Closes #5436
-
- May 04, 2022
-
-
Robert Klotzner authored
Also get rid of pointless versi chainspec.
-
- 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]>
-
Robert Klotzner authored
* Quick'n dirty Versi chainspec config. * Right order * Fix wrong variable usage * Fix weird typo. * Update node/service/src/chain_spec.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 26, 2022
-
-
Oliver Tale-Yazdi authored
* Update benchmark machine command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add import Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Rename POLKADOT_REFERENCE_HARDWARE -> SUBSTRATE_REFERENCE_HARDWARE Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Bump spec_version to 9200 Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
Adrian Catangiu authored
* use deny-list instead of allow-list for BEEFY Instead of allowing BEEFY to run on specific test nets, inverse the condition to explicitly disallow BEEFY on production chains that we don't want it to run on yet. This allows other test chains (other than Rococo/Wococo) that use the polkadot service file to enable and test BEEFY. Signed-off-by: Adrian Catangiu <[email protected]> * address review comments * throw error if BEEFY enabled on production networks Signed-off-by: acatangiu <[email protected]>
-
Koute authored
* Align to changes in Substrate * Align to the newest changes in substrate * Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks` * Fix `polkadot-test-service` compilation * Fix compilation of test parachains
-
- Apr 25, 2022
-
-
tgmichel authored
* Companion to `blockchain-info` Subcommand: #11250 * Rename to `chain-info` * Remove `ensure_dev` * Update cli/src/command.rs Co-authored-by: Bastian Köcher <[email protected]> * Pin substrate `59a2150` * `service::Block` * Unused `chain_spec` * fmt Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 15, 2022
-
-
Oliver Tale-Yazdi authored
* Expose benchmark machine command Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> * error.into Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * Revert "update lockfile for {"substrate"}" This reverts commit 41c2ddda511076567a98c85efa631374071c9e5a. * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- 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 07, 2022
-
-
Oliver Tale-Yazdi authored
* Restructure benchmark commands Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add benchmark storage test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * cargo update -p sp-io * Revert "cargo update -p sp-io" This reverts commit c321b570cef806934acfb7e1a18f543a681b9927. * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * remove `useless_attribute` * Remove rococo-native cfg Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix benchmark commands for the CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable new bench commands for rococo Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
- Apr 04, 2022
-
-
Qinxuan Chen authored
* Comanion for substrate#11136 Signed-off-by: koushiro <[email protected]> * revert changes in bridge Signed-off-by: koushiro <[email protected]>
-