- Jun 28, 2021
-
-
ordian authored
-
- Jun 22, 2021
-
-
asynchronous rob authored
* stubbed SelectRelayChain * disconnected overseer handlers * add is_disconnected * add fallback in case overseer is disconnected * fall back on fallback * fetch leaves by calling into chain-selection subsystem * implement best_chain * mostly implement finality_target * chain constrain * metrics and maximum safeguard * remove review comment after review
-
- Jun 20, 2021
-
-
ordian authored
-
André Silva authored
* support async selectchain * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 19, 2021
-
-
André Silva authored
* fix babe params * update Substrate Co-authored-by: parity-processbot <>
-
Andreas Doerr authored
-
- Jun 16, 2021
-
-
Bernhard Schuster authored
-
- Jun 11, 2021
-
-
Bastian Köcher authored
* Substrate companion #9074 * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 08, 2021
-
-
Bastian Köcher authored
* polkadot-service: Make native runtime configurable This pull requests adds support for configuring the native runtimes used by polkadot-service. While this whole pr doesn't change that much for polkadot, besides not having the light-node enabled for the default polkadot binary. However, downstream projects (parachains) will have a much better compile time. In cumulus for example the `cargo test --all --release` is about 4m faster to compile. * Fixes * Fix * Enable rococo-native * Fix light client *
🤦 * Fixes -
Lldenaurois authored
* Create validator_side module * Subsume Candidate Selection * Add test to ensure candidate backing logic is correct * Ensure secondings are adequately cleaned up and address test flakyness * Address Feedback
-
- Jun 04, 2021
-
-
André Silva authored
* node: fix babe worker params * update Substrate Co-authored-by: parity-processbot <>
-
- May 27, 2021
-
-
Roman Proskuryakov authored
* Replace NetworkStatusSinks with Arc<NetworkService> * update Substrate Co-authored-by: parity-processbot <>
-
- May 26, 2021
-
-
André Silva authored
* grandpa: enable observer for light client * update Substrate * service: fix missing import * runtime: bump spec versions Co-authored-by: parity-processbot <>
-
- May 12, 2021
-
-
Andreas Doerr authored
-
- May 10, 2021
-
-
Andreas Doerr authored
* Add --disable-beefy CLI flag * Update cli/src/command.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/test/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update parachain/test-parachains/adder/collator/src/main.rs Co-authored-by: Bastian Köcher <[email protected]> * Update cli/src/command.rs Co-authored-by: André Silva <[email protected]> * Update cli/src/cli.rs Co-authored-by: André Silva <[email protected]> * Update cli/src/cli.rs Co-authored-by: Bastian Köcher <[email protected]> * Update cli/src/cli.rs Co-authored-by: André Silva <[email protected]> Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- May 03, 2021
-
-
Bastian Köcher authored
* Update branch * Make it compile * Compile * gate approval-checking logic (#2470) * Fix build * Updates * Fix merge * Adds missing crate * Companion for Substrate#8386 https://github.com/paritytech/substrate/pull/8386 * Fix fix fix * Fix * Fix compilation * Rewrite to `ParachainsInherentDataProvider` * Make it compile * Renamings * Revert stuff * Remove stale file * Guide updates * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Apply suggestions from code review * Reset accidental changes * More * Remove stale file * update Substrate Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: parity-processbot <>
-
- May 01, 2021
-
-
Andreas Doerr authored
-
- Apr 27, 2021
-
-
Robert Klotzner authored
* Factor out runtime module into utils. * First fatal error design. * Better error handling infra. * Error handling cleanup. * Send to peers of our group first. * Finish backing group prioritization. * Little cleanup. * More cleanup. * Forgot to checkin error.rs. * Notes. * Runtime -> RuntimeInfo * qed in debug assert. * PolkaErr -> Fault.
-
- Apr 22, 2021
-
-
André Silva authored
* runtime: remove mmr and beefy from westend runtime * runtime: westend: remove pallet_beefy config * node: only start beefy gadget on rococo * node: remove beefy keys from westend chain spec * node: add wococo testnet chain spec * node: add comments about beefy gadget task * runtime: update wococo chainspec * Remove stale comment Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: adoerr <[email protected]>
-
- Apr 21, 2021
-
-
André Silva authored
* runtime: remove mmr and beefy from westend runtime * runtime: westend: remove pallet_beefy config * node: only start beefy gadget on rococo * node: remove beefy keys from westend chain spec
-
Kian Paimani authored
* Fix bench bot * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * Fix weights files * Fix' * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
- Apr 20, 2021
-
-
André Silva authored
* bump substrate * bump beefy * bump beefy again * bump beefy
-
Pierre Krieger authored
* Companion for substrate#8643 * Update node/service/src/lib.rs * update Substrate Co-authored-by: parity-processbot <>
-
- Apr 09, 2021
-
-
Pierre Krieger authored
Co-authored-by: Robert Klotzner <[email protected]>
-
- Apr 08, 2021
-
-
Sergey Pepyakin authored
* Implement PVF validation host * WIP: Diener * Increase the alloted compilation time * Add more comments * Minor clean up * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Fix pruning artifact removal * Fix formatting and newlines * Fix the thread pool * Update node/core/pvf/src/executor_intf.rs Co-authored-by: Bastian Köcher <[email protected]> * Remove redundant test declaration * Don't convert the path into an intermediate string * Try to workaround the test failure * Use the puppet_worker trick again * Fix a blip * Move `ensure_wasmtime_version` under the tests mod * Add a macro for puppet_workers * fix build for not real-overseer * Rename the puppet worker for adder collator * play it safe with the name of adder puppet worker * Typo: triggered * Add more comments * Do not kill exec worker on every error * Plumb Duration for timeouts * typo: critical * Add proofs * Clean unused imports * Revert "WIP: Diener" This reverts commit b9f54e513366c7a6dfdd117ac19fbdc46b900b4d. * Sync version of wasmtime * Update cargo.lock * Update Substrate * Merge fixes still * Update wasmtime version in test * bastifmt Co-authored-by: Bastian Köcher <[email protected]> * Squash spaces * Trailing new line for testing.rs * Remove controversial code * comment about biasing * Fix suggestion * Add comments * make it more clear why unwrap_err * tmpfile retry * proper proofs for claim_idle * Remove mutex from ValidationHost * Add some more logging * Extract exec timeout into a constant * Add some clarifying logging * Use blake2_256 * Clean up the merge Specifically the leftovers after removing real-overseer * Update parachain/test-parachains/adder/collator/Cargo.toml Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Andronik Ordian <[email protected]>
-
asynchronous rob authored
* remove real-overseer * overseer: only activate leaves which support parachains * integrate HeadSupportsParachains into service * remove unneeded line
-
- Apr 04, 2021
-
-
asynchronous rob authored
* add metrics (unused) to network bridge * fix test compilation * trigger metrics messages * add some more metrics * track sent and received notifications * restore metrics import * integrate into service * Update node/network/bridge/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/network/bridge/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Andronik Ordian <[email protected]>
-
- Apr 03, 2021
-
-
asynchronous rob authored
* guide: declare one para as a collator * add ParaId to Declare messages and clean up * fix build * fix the testerinos * begin adding keystore to collator-protocol * remove request_x_ctx * add core_for_group * add bump_rotation * add some more helpers to subsystem-util * change signing_key API to take ref * determine current and next para assignments * disconnect collators who are not on current or next para * add collator peer count metric * notes for later * some fixes * add data & keystore to test state * add a test utility for answering runtime API requests * fix existing collator tests * add new tests * remove sc_keystore * update cargo lock Co-authored-by: Andronik Ordian <[email protected]>
-
- Apr 01, 2021
-
-
ordian authored
-
asynchronous rob authored
-
asynchronous rob authored
* extract database from av-store itself * generalize approval-voting over database type * modes (without handling) and pruning old wakeups * rework approval importing * add our_approval_sig to ApprovalEntry * import assignment * guide updates for check-full-approval changes * some aux functions * send messages when becoming active. * guide: network bridge sends view updates only when done syncing * network bridge: send view updates only when done syncing * tests for new network-bridge behavior * add a test for updating approval entry with sig * fix some warnings * test load-all-blocks * instantiate new parachains DB * fix network-bridge empty view updates * tweak * fix wasm build, i think * Update node/core/approval-voting/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * add some versioning to parachains_db * warnings * fix merge changes * remove versioning again Co-authored-by: Andronik Ordian <[email protected]>
-
ordian authored
* gossip: do not issue a connection request if we are not a validator * guide updates * use all relevant authorities when issuing a request * use AuthorityDiscoveryApi instead * update comments to the status quo
-
Tomasz Drwięga authored
* Switch branch. * Implement basic MMR leaf. * Revert "Switch branch." This reverts commit 7f4d41c67f27ca560c53fc63fd3bd06ac182403c. * Bump substrate. * Integrate BEEFY. Bump all. Fix missing imports. * Use beefy pallet to get authorities. * Bump BEEFY repo. * Use next authority set instead of the current one. * Start BEEFY service. * Fix BEEFY start up. * Cache BEEFY authority set. * Add BEEFY ValidatorSetId to MMR * Fix code. * Apply suggestions from code review Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> * Review grumbles. * Update beefy repo. * Work-around missing protocol. * Revert "Work-around missing protocol." This reverts commit 0a6257a8bccc1c67e966898cdedc408c6469ffd6. * Add beefy peers set config. * Expose storage of BEEFY. * Uncompress BEEFY keys for merkle tree. * Update ordering. * Switch to branch. * Bump deps. * Switch to custom beefy. * Add MMR RuntimeApi and custom rpc. * Add set length details. * Fix compilation. * Expose MmrLeaf storage. * Expose MmrLeaf storage. * Don't use session handler, and rather compute & cache beefy details on call. * Don't use session handler, and rather compute & cache beefy details on call. * Fixes. * Update Cargo.lock. * Switch back to master. * Update lockfile. * Fix xcm print issue. * Cargo.lock. * Use master branch. * Remove extra dep. * Fix tests. * Update Cargo.lock * Add BEEFY & MMR to westend. * Implement session keys migration. * Update testnet script. * start BEEFY for all node types * Update Cargo.lock * fix Cargo.toml * resolve another merge conflict * add Westend BEEFY keys * Apply suggestions from code review Co-authored-by: Hernando Castano <[email protected]> * Update BEEFY. * Add Rococo BEEFY keys * resolve merge issue * fix pallet indices * fix Westend OldSessionKey * remove unused imports in Westend runtime * Fix compilation for Westend. * address review * start BEEFY gadget conditionally * address review again * fix typo * remove duplicate * remove another duplicate * well * add missing stuff * cleanup Cargo.toml files - revert unnecessary changes - add missing /std dependencies - remove unused dependencies * runtime: remove unused structs from rococo runtime * node: cleanup service Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: adoerr <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Mar 31, 2021
-
-
Kian Paimani authored
* proper executor/block type for benchmarks and try-runtime * Fix * update benches as well to latest work * Remvoe dbg
-
- Mar 28, 2021
-
-
Robert Klotzner authored
* Indentation fix. * Prepare request-response for PoV fetching. * Drop old PoV distribution. * WIP: Fetch PoV directly from backing. * Backing compiles. * Runtime access and connection management for PoV distribution. * Get rid of seemingly dead code. * Implement PoV fetching. Backing does not yet use it. * Don't send `ConnectToValidators` for empty list. * Even better - no need to check over and over again. * PoV fetching implemented. + Typechecks + Should work Missing: - Guide - Tests - Do fallback fetching in case fetching from seconding validator fails. * Check PoV hash upon reception. * Implement retry of PoV fetching in backing. * Avoid pointless validation spawning. * Add jaeger span to pov requesting. * Add back tracing. * Review remarks. * Whitespace. * Whitespace again. * Cleanup + fix tests. * Log to log target in overseer. * Fix more tests. * Don't fail if group cannot be found. * Simple test for PoV fetcher. * Handle missing group membership better. * Add test for retry functionality. * Fix flaky test. * Spaces again. * Guide updates. * Spaces.
-
- Mar 24, 2021
-
-
André Silva authored
* collator: authenticate collator protocol messages * fix tests compilation * node: verify collator protocol signatures in tests * collator: fix tests * implementers-guide: update CollatorProtocol messages * collator: add test for verification of collator protocol signatures * node: remove fixmes * node: remove signature from advertisecollation message * node: add magic constant to Declare message signature payload
-
asynchronous rob authored
* malicious reputation cost is fatal * make ReportBad a malicious cost * futures control-flow for cleaning up inactive collator peers * guide: network bridge updates * add `PeerDisconnected` message * guide: update * reverse order * remember to match * implement disconnect peer in network bridge * implement disconnect_inactive_peers * test * remove println * don't hardcore policy * add fuse outside of loop * use default eviction policy
-
- Mar 19, 2021
-
-
Robert Klotzner authored
* Don't accept incoming connections for collators on the `Collation` peer set. * Better docs.
-
- Mar 17, 2021
-
-
Bastian Köcher authored
* Companion for Substrate#8386 https://github.com/paritytech/substrate/pull/8386 * "Update Substrate" Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
Currently we will take all leaves and give that to the overseer on startup, but this is a bad idea when the finality is lagging for example. There can be many of unfinalized leaves, we don't even need to look at anymore. To solve this, the pr adds a maximum of 4 leaves we forward to the overseer and the pr also checks that we only pass uncles of the best block.
-