- Apr 01, 2021
-
-
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]>
-
Pierre Krieger authored
* Companion PR for substrate#8510 * update Substrate Co-authored-by: parity-processbot <>
-
asynchronous rob authored
* dispute types * add Debug to dispute primitives in std and InherentData * use ParachainsInherentData on node-side * change inclusion_inherent to paras_inherent * RuntimeDebug * add type parameter to PersistedValidationData users * fix test client * spaces * fix collation-generation test * fix provisioner tests * remove references to inclusion inherent
-
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
-
asynchronous rob authored
* guide: don't request availability data from ourselves * add QueryAllChunks message * implement QueryAllChunks * remove unused relay_parent from StoreChunk * test QueryAllChunks * fast paths make short roads * test early exit behavior
-
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
-
-
ordian authored
* quickfix for statement-distribution * some logs
-
Robert Klotzner authored
* Better timeout values. * Fix typo. * Fix validator bandwidth. * Fix compilation.
-
Kian Paimani authored
* proper executor/block type for benchmarks and try-runtime * Fix * update benches as well to latest work * Remvoe dbg
-
asynchronous rob authored
* onto the front * fix early exit for waiting for requests * add logging back
-
- Mar 30, 2021
-
-
ordian authored
* gossip: choose random subset on send * naming bikeshed
-
ordian authored
-
asynchronous rob authored
* guide updates * keep interactions alive until receivers drop * retry indefinitely * cancel approval tasks on finality * use swap_remove instead of remove
-
Robert Klotzner authored
* Add tags to pov-fetcher. * Add stage as well. * Get rid of redundant tags.
-
ordian authored
-
Bastian Köcher authored
* Companion for Substrate#8472 https://github.com/paritytech/substrate/pull/8472 * update Substrate Co-authored-by: parity-processbot <>
-
- Mar 29, 2021
-
-
Robert Klotzner authored
* availability-distribution: Retry on fail on next block. Retry failed fetches on next block when still pending availability. * Update node/network/availability-distribution/src/requester/fetch_task/mod.rs Co-authored-by:
Andronik Ordian <[email protected]> * Fix existing tests. * Add test for trying all validators. * Add test for testing retries. Co-authored-by:
Andronik Ordian <[email protected]>
-
asynchronous rob authored
* tracing for pending_known map * fix condition in retain * add block hash to pending tracing
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
* reduce signal channel capacity * more tracing for approval-voting
-
Robert Klotzner authored
* Remove stuff out of the runtime that does not belong there. There might be more, but it is a start. * White space fixes. * Fix tests. * Leave whitespace in ui tests alone. * Add back zstd for no reason. * Fix browser wasm (hopefully)
-
- Mar 28, 2021
-
-
asynchronous rob authored
* overseer: pass messages directly between subsystems * test that message is held on to * Update node/overseer/src/lib.rs Co-authored-by:
Peter Goodspeed-Niklaus <[email protected]> * give every subsystem an unbounded sender too * remove metered_channel::name 1. we don't provide good names 2. these names are never used anywhere * unused mut * remove unnecessary &mut * subsystem unbounded_send * remove unused MaybeTimer We have channel size metrics that serve the same purpose better now and the implementation of message timing was pretty ugly. * remove comment * split up senders and receivers * update metrics * fix tests * fix test subsystem context * use SubsystemSender in jobs system now * refactor of awful jobs code * expose public `run` on JobSubsystem * update candidate backing to new jobs & use unbounded * bitfield signing * candidate-selection * provisioner * approval voting: send unbounded for assignment/approvals * async not needed * begin bridge split * split up network tasks into background worker * port over network bridge * Update node/network/bridge/src/lib.rs Co-authored-by:
Andronik Ordian <[email protected]> * rename ValidationWorkerNotifications Co-authored-by:
Peter Goodspeed-Niklaus <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
ordian authored
* approval-distribution: limit the amount of packets on unify * guide: fix a typo * compilation fix * grammar * Update roadmap/implementers-guide/src/node/approval/approval-distribution.md Co-authored-by:
David <[email protected]> * more grammar * propagate only local assignments/approvals after a certain depth * increase the threshold * guides update Co-authored-by:
David <[email protected]>
-
ordian authored
* approval-voting: more spans and metrics * s/db/approval db
-
Pierre Krieger authored
* Call NetworkService::add_known_address before sending a request * Better doc * Update Substrate * Update Substrate * Restore the import
🤷 ♀️ I don't know why it compiles locally * imports correctly Co-authored-by:Robert Habermeier <[email protected]>
-
asynchronous rob authored
* overseer: pass messages directly between subsystems * test that message is held on to * Update node/overseer/src/lib.rs Co-authored-by:
Peter Goodspeed-Niklaus <[email protected]> * give every subsystem an unbounded sender too * remove metered_channel::name 1. we don't provide good names 2. these names are never used anywhere * unused mut * remove unnecessary &mut * subsystem unbounded_send * remove unused MaybeTimer We have channel size metrics that serve the same purpose better now and the implementation of message timing was pretty ugly. * remove comment * split up senders and receivers * update metrics * fix tests * fix test subsystem context * fix flaky test * fix docs * doc * use select_biased to favor signals * Update node/subsystem/src/lib.rs Co-authored-by:
Andronik Ordian <[email protected]> Co-authored-by:
Peter Goodspeed-Niklaus <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
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.
-
asynchronous rob authored
* add consensus log type * origin and issue force_approve * add origin in runtimes * ref API * scrape force_approve digest from header * add parent_hash to BlockEntry * add block_number to block entry and force_approve skeleton * implement and plug in force-approve * test force_approve * test force_approve extraction * westend runtime * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by:
Bastian Köcher <[email protected]> * rename * Update runtime/parachains/src/initializer.rs Co-authored-by:
André Silva <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
André Silva <[email protected]>
-
- Mar 27, 2021
-
-
ordian authored
-
ordian authored
-
asynchronous rob authored
* duplicate logging fix * remove duplicate peer IDs
-
asynchronous rob authored
-
- Mar 26, 2021
-
-
Robert Klotzner authored
* Those should really be trace. - Very spammy - And they in fact trace the execution - Should not be enabled lightly - will slow network bridge down. * Make report peers debug again.
-
Bernhard Schuster authored
-
asynchronous rob authored
* metered channel - sent & received * Add for readouts * metrics for both sent & received * retract on send failure
-
asynchronous rob authored
* add number to `ActivatedLeavesUpdate` * update subsystem util and overseer * use new ActivatedLeaf everywhere * sort view * sorted and limited view in network bridge * use live block hash only if it's newer * grumples
-
- Mar 25, 2021
-
-
asynchronous rob authored
* overseer: AllSubsystems magic and report subsystem channel sizes to prometheus * fix tests
-
asynchronous rob authored
* add AvailableDataFetchingRequest * rename AvailabilityFetchingRequest to ChunkFetchingRequest * rename AvailabilityFetchingResponse to Chunk_ * add AvailableDataFetching request * add available data fetching request to availability recovery message * remove availability recovery message * fix * update network bridge * port availability recovery to request/response * use validators.len(), not shuffling * fix availability recovery tests * update guide * Update node/network/availability-recovery/src/lib.rs Co-authored-by:
Bernhard Schuster <[email protected]> * Update node/network/availability-recovery/src/lib.rs Co-authored-by:
Arkadiy Paronyan <[email protected]> * remove println Co-authored-by:
Bernhard Schuster <[email protected]> Co-authored-by:
Arkadiy Paronyan <[email protected]>
-