- Sep 12, 2023
-
-
Bastian Köcher authored
-
- Aug 25, 2023
-
-
Adrian Catangiu authored
Signed-off-by:
Adrian Catangiu <[email protected]>
-
- Aug 22, 2023
-
-
Adrian Catangiu authored
* runtime: add BEEFY and MMR to Westend Signed-off-by:
Adrian Catangiu <[email protected]> * runtime: add BEEFY and MMR to Kusama Signed-off-by:
Adrian Catangiu <[email protected]> * node/service: enable BEEFY for Westend and Kusama Signed-off-by:
Adrian Catangiu <[email protected]> * node/service: regenerate genesis keys for westend-native and kusama-native Since these keys are only used for development/local chains, also publish the secret seeds used to generate the public keys, so that developers can recover/generate the private key pairs if needed. Signed-off-by:
Adrian Catangiu <[email protected]> * runtime: add session keys migration to add BEEFY to Westend and Kusama * runtime: fix migration * fix try-runtime build * cargo fmt * fix parachains slashing benchmark * address review comments * Apply suggestions from code review Co-authored-by:
Bastian Köcher <[email protected]> * runtime: fix session keys migration --------- Signed-off-by:
Adrian Catangiu <[email protected]> Co-authored-by: parity-processbot <> Co-authored-by:
Bastian Köcher <[email protected]>
-
- Aug 17, 2023
-
-
Liam Aharon authored
* remove try-runtime-cli * fix ci pipeline * fix link * remove chain var * build runtime with try-runtime feature * use main branch * pin to commit * fix build * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
-
- Aug 15, 2023
-
-
Adrian Catangiu authored
* Revert "companion for 14754: cli: move no-beefy flag to sc-cli (#7600)" This reverts commit 26adab4f. * update lockfile for {"substrate"} * fix merge damage --------- Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
Remove superflous parameter `overseer_enable_anyways` and make parachain node type more explicit (#7617) * Remove superflous parameter `overseer_enable_anyways` We don't need this flag, as we don't need the overseer enabled when the node isn't a collator or validator. * Rename `IsCollator` to `IsParachainNode` `IsParachainNode` is more expressive and also encapsulates the state of the parachain node being a full node. Some functionality like the overseer needs to run always when the node runs alongside a parachain node. The parachain node needs the overseer to e.g. recover PoVs. Other things like candidate validation or pvf checking are only required for when the node is running as validator. * FMT * Fix CI
-
- Aug 14, 2023
-
-
Oliver Tale-Yazdi authored
* Use same rustfmt.toml as Substrate Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * format format file Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Format with new config Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Add Substrate Clippy config Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Print Clippy version in CI Otherwise its difficult to reproduce locally. Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Make fmt happy Signed-off-by:
Oliver Tale-Yazdi <[email protected]> * Update node/core/pvf/src/error.rs Co-authored-by:
Tsvetomir Dimitrov <[email protected]> * Update node/core/pvf/src/error.rs Co-authored-by:
Tsvetomir Dimitrov <[email protected]> --------- Signed-off-by:
Oliver Tale-Yazdi <[email protected]> Co-authored-by:
Tsvetomir Dimitrov <[email protected]>
-
- 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]>
-
- 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]>
-
- 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]>
-