- Oct 08, 2020
-
-
Bastian Köcher authored
* Make `AllSubsystems` usage easier in tests This makes the usage of `AllSubsystems` easier in tests by introducing new methods. - `dummy` initializes `AllSubsystems` with all systems set to dummy - `replace_*` to replace any subsystem Besides that this pr adds a `ForwardSubsystem` that is also useful for tests. This subsystem will forward all incoming messages to the given channel. * Update node/overseer/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/subsystem/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/subsystem/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Move ForwardSubsystem and add a test * Break some lines Co-authored-by: Andronik Ordian <[email protected]>
-
- Oct 07, 2020
-
-
Shawn Tabrizi authored
* Land XCM Builder * Clean up Cargo dependencies Co-authored-by: Gavin Wood <[email protected]>
-
Bastian Köcher authored
-
Fedor Sakharov authored
* Advertise to already connected validators * Merge the loops and check the view * Extend a test to capture new logic * Fix a comment * Update node/network/collator-protocol/src/collator_side.rs Co-authored-by: Andronik Ordian <[email protected]> * Update comment Co-authored-by: Andronik Ordian <[email protected]>
-
- Oct 06, 2020
-
-
Bastian Köcher authored
This pr changes the collation function to also pass the current relay parent the parachain block should be build on.
-
ordian authored
* chain-api subsystem: implement BlockHeader messsage * update the guide
-
ordian authored
* collator: fix a typo * collator: fix more typos * collator: fix even more typos
-
ordian authored
* stupid, but it compiles * redo * cleanup * add ValidatorDiscovery to msgs * sketch network bridge code * ConnectToAuthorities instead of validators * more stuff * cleanup * more stuff * complete ConnectToAuthoritiesState * Update node/network/bridge/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Collator protocol subsystem (#1659) * WIP * The initial implementation of the collator side. * Improve comments * Multiple collation requests * Add more tests and comments to validator side * Add comments, remove dead code * Apply suggestions from code review Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Fix build after suggested changes * Also connect to the next validator group * Remove a Future impl and move TimeoutExt to util * Minor nits * Fix build * Change FetchCollations back to FetchCollation * Try this * Final fixes * Fix build Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * handle multiple in-flight connection requests * handle cancelled requests * Update node/core/runtime-api/src/lib.rs Co-authored-by: Bernhard Schuster <[email protected]> * redo it again * more stuff * redo it again * update comments * workaround Future is not Send * fix trailing spaces * clarify comments * bridge: fix compilation in tests * update more comments * small fixes * port collator protocol to new validator discovery api * collator tests compile * collator tests pass * do not revoke a request when the stream receiver is closed * make revoking opt-in * fix is_fulfilled * handle request revokation in collator * tests * wait for validator connections asyncronously * fix compilation * relabel my todos * apply Fedor's patch * resolve reconnection TODO * resolve revoking TODO * resolve channel capacity TODO * resolve peer cloning TODO * resolve peer disconnected TODO * resolve PeerSet TODO * wip tests * more tests * resolve Arc TODO * rename pending to non_revoked * one more test * extract utility function into util crate * fix compilation in tests * Apply suggestions from code review Co-authored-by: Fedor Sakharov <[email protected]> * revert pin_project removal * fix while let loop * Revert "revert pin_project removal" This reverts commit ae7f529d8de982ef66c3007dd1ff74c6ddce80d2. * fix compilation * Update node/subsystem/src/messages.rs * docs on pub items * guide updates * remove a TODO * small guide update * fix a typo * link to the issue * validator discovery: on_request docs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> Co-authored-by: Fedor Sakharov <[email protected]> Co-authored-by: Bernhard Schuster <[email protected]>
-
Sergey Pepyakin authored
* parachains: use the root origin for mock * registrar: notify the router module about the cleanup * add missing call to schedule_para_cleanup
-
Bastian Köcher authored
This pr changes the collator interface function to return an optional collation instead of a collation. This is required as the parachain itself can fail to generate a valid collation for various reason. Now if the collation fails it will return `None`. Besides that the pr adds some `RuntimeDebug` derive for `ValidationData` and removes some whitespaces.
-
Sergey Pepyakin authored
Co-authored-by: Gavin Wood <[email protected]>
-
- Oct 05, 2020
-
-
Gavin Wood authored
* Bump version * Update RELEASE.md Co-authored-by: Shawn Tabrizi <[email protected]>
-
Peter Goodspeed-Niklaus authored
* initial work running a two node local net * use the right incantations so the nodes produce blocks together * improve internal documentation
-
Jaco Greeff authored
-
- Oct 04, 2020
-
-
Kian Paimani authored
* Companion for substrate/pull/7215 * More fixes * Fix build * fix * Fix again with normal * Fix build * Latest changes * "Update Substrate" Co-authored-by: parity-processbot <>
-
- Oct 02, 2020
-
-
Shawn Tabrizi authored
* Remove stale upgrades * add back origin migration * remove unused
-
Shawn Tabrizi authored
* Update benchmark list * copy weights from substrate * Run benchmarks on Polkadot * Update kusama benchmark list * update westend benchmark list * Run benchmarks on Kusama * update payout staking weights * cargo update -p sp-io * remove babe and grandpa from benchmark list * remove babe and grandpa weights * re-run staking weights * update staking weights * copy weights from Polkadot into Westend * Update Cargo.lock
-
- Oct 01, 2020
-
-
Fedor Sakharov authored
* Initial commit. * Fix build * Add comments, remove Event * Dont expose calls * Remove TODO and origins * Fix merge * Enable or disable parathread registration
-
Bastian Köcher authored
-
ordian authored
* overseer metrics: messages relayed * provisioner metrics: cosmetic changes * candidate selection metrics: cosmetic changes * availability bitfields metrics * availability distribution metrics * PoV distribution metrics * statement-distribution: small simplification * statement-distribution: extract log target into a const * statement-distribution: metrics * address review nits
-
https://github.com/paritytech/substrate/pull/7236Bastian Köcher authored
* Companion for https://github.com/paritytech/substrate/pull/7236 * "Update Substrate" Co-authored-by: parity-processbot <>
-
- Sep 30, 2020
-
-
Denis_P authored
* change (CI): soon to be deprecated only changed to rules, build is now manual on PRs * change (CI): add workflow to avoid doubled pipelines, remove second job * debug (CI): unblock pipeline from waiting a manual action
-
- Sep 29, 2020
-
-
Bastian Köcher authored
This is required to ensure that on chain isn't seen as compatible to current master.
-
ordian authored
-
- Sep 28, 2020
-
-
Sergey Pepyakin authored
Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Fedor Sakharov authored
* Register listeners in statement distribution * Review fixes
-
Fedor Sakharov authored
* Metrics * Dont punish late collations * Fix metrics * Update node/network/collator-protocol/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Change on_request arg to Result Co-authored-by: Andronik Ordian <[email protected]>
-
Peter Goodspeed-Niklaus authored
This reverts commit 96f26155.
-
Peter Goodspeed-Niklaus authored
* Restore "Remove service, migrate all to service-new (#1630)" i.e. Revert "Revert "Remove service, migrate all to service-new (#1630)" (#1731)" This reverts commit b4457f55 . This allows us to get the changeset from #1630 into a new branch which can be merged sometime in the future after appropriate burnin tests have completed. * remove ',)' from codebase outside of macros * restore bdfl-preferred formatting * attempt to improve destructuring formatting * rename polkadot-service-new -> polkadot-service * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * remove unused import * Update runtime/rococo-v1/README.md Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Sep 25, 2020
-
-
Sergey Pepyakin authored
* Guide: Change for {Global,Local}ValidationData to ValidationData Seems like that was missed during the transition from notions of global and local validation data to persistent and transient * collation-generation: a small drive-by fix of line length * collation-generation: extract an error module this allows us to avoid piling Error and Result types from different contexts, specifically std vs. module-local * collation-generation: extract LOG_TARGET from log statements
-
- Sep 24, 2020
-
-
Gavin Wood authored
* Fixes * update weights * Fixes * Fixes * Fixes * update weights * "Update Substrate" Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
Sergey Pepyakin authored
That's because `construct_runtime` doesn't support a free-standing Origin. See the comment in parachains/src/origin.rs
-
- Sep 23, 2020
-
-
ordian authored
* provisioner: remove tokio from dev-dependencies * provisioner: use futures_timer instead
-
- Sep 22, 2020
-
-
Benjamin Kampmann authored
-
thiolliere authored
* use construct_runtime index * fix * "Update Substrate" Co-authored-by: parity-processbot <>
-
Bastian Köcher authored
* Companion for `ModuleToIndex` to `PalletInfo` rename * "Update Substrate" Co-authored-by: parity-processbot <> Co-authored-by: Benjamin Kampmann <[email protected]>
-
Kian Paimani authored
* Companion for https://github.com/paritytech/substrate/pull/7161 * Update weights * Update tests * remove weight tests * Update weights using benchmarking machine ./substrate2/target/release/substrate benchmark --chain dev --steps 50 --repeat 20 --pallet pallet_elections_phragmen --extrinsic "*" --raw --execution=wasm --wasm-execution=compiled --output * "Update Substrate" Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
- Sep 21, 2020
-
-
Shawn Tabrizi authored
* Add WeightInfo to traits * Update Cargo.lock * "Update Substrate" Co-authored-by: parity-processbot <>
-
Shawn Tabrizi authored
* Update `pallet_offences` trait * remove session weight tests * "Update Substrate" * Update Cargo.lock * Update Cargo.lock * remove unused code Co-authored-by: parity-processbot <>
-
Maciej Hirsz authored
* Bump jsonrpc-core to v15 * "Update Substrate" Co-authored-by: parity-processbot <>
-