- Jul 05, 2020
-
-
Peter Goodspeed-Niklaus authored
* network bridge skeleton * move some primitives around and add debug impls * protocol registration glue & abstract network interface * add send_msgs to subsystemctx * select logic * transform different events into actions and handle * implement remaining network bridge state machine * start test skeleton * make network methods asynchronous * extract subsystem out to subsystem crate * port over overseer to subsystem context trait * fix minimal example * fix overseer doc test * update network-bridge crate * write a subsystem test-helpers crate * write a network test helper for network-bridge * set up (broken) view test * Revamp network to be more async-friendly and not require Sync * fix spacing * fix test compilation * insert side-channel for actions * Add some more message types to AllMessages * introduce a test harness * impl ProvideInherent for InclusionInherent * reduce import churn; correct expect message * move inclusion inherent identifier into primitives It's not clear precisely why this is desired, but it's a pattern I've seen in several places, so I'm going this to be on the safe side. Worst case, we can revert this commit pretty easily. * bump kusama spec_version to placate CI * copy sc_basic_authorship::{ProposerFactory, Proposer} We have from the problem description: > This Proposer will require an OverseerHandle to make requests via. That's next on the plate. * use polkadot custom proposer instead of basic-authorship one * add some tests * ensure service compiles and passes tests * fix typo * fix service-new compilation * Subsystem test helpers send messages synchronously * remove smelly action inspector * remove superfluous let binding * fix warnings * add license header * empty commit; maybe github will notice the one with changes * Update node/network/bridge/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * add sanity check to only include valid inherents * stub: encapsulate block production mechanics instead of copying them The goal is to end up with something like what's in validation::block_production::*, which encapsulates basic block production mechanics. This is a better idea than just straight-up copying those mechanics. * partial implementation of propose fn Doesn't actually compile yet; need to bring in some other commits to ensure ProvisionerMessage is a thing, and also figure out how to get the block hash given the current context. * fix compilation * clear a few more compile errors * finish fn propose * broken: add timeout to proposal * add timeout to proposal * guide: provisioner is responsible for selecting parachain candidates * implement ProvisionerMessage::RequestInherentData & update fn propose * impl CreateProposer::init; clean up * impl std::error::Error for Error * document error-handling rationale * cause polkadot-service-new to compile correctly * Move potentially-blocking call from fn init -> fn propose This means that we can wrap the delayed call into the same timeout check used elsewhere. * document struct Proposer * extract provisioner data fetch This satisfies two requirements: - only applies the timeout to actually fetching the provisioner data, not to constructing the block after - simplifies the problem of injecting default data if we could not get the real provisioner data in time. Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
- Jul 04, 2020
-
-
André Silva authored
* enable BABE equivocation reporting on all runtimes * runtime: fix parachains mock test runtime * cargo update -p sp-io Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jul 03, 2020
-
-
Gavin Wood authored
* Switch branch * Return chain ops parts in new_chain_ops * Remove where param from new_chain_ops * Add task manager to new_chain_ops return * Revert branch switch * Revert "Revert branch switch" This reverts commit 7c7900c047abd794ddc759aa092811db4961a7a6. * network/test/src/lib: Adjust network worker polling Companion for https://github.com/paritytech/substrate/pull/6552. * Fix adder parachain * Fix collator tests * Revert branch switch * Bump everything - Remove old migration code - Reduce deposit requried for westend * Reapply fixes * Bump locl * Fix for #6550 * Fix message Co-authored-by: Ashley Ruglys <[email protected]> Co-authored-by: Max Inden <[email protected]>
-
- Jun 30, 2020
-
-
asynchronous rob authored
* Subsystem::start takes self by-value * fix doc-test compilation
-
asynchronous rob authored
* network bridge skeleton * move some primitives around and add debug impls * protocol registration glue & abstract network interface * add send_msgs to subsystemctx * select logic * transform different events into actions and handle * implement remaining network bridge state machine * start test skeleton * make network methods asynchronous * extract subsystem out to subsystem crate * port over overseer to subsystem context trait * fix minimal example * fix overseer doc test * update network-bridge crate * write a subsystem test-helpers crate * write a network test helper for network-bridge * set up (broken) view test * Revamp network to be more async-friendly and not require Sync * fix spacing * fix test compilation * insert side-channel for actions * Add some more message types to AllMessages * introduce a test harness * add some tests * ensure service compiles and passes tests * fix typo * fix service-new compilation * Subsystem test helpers send messages synchronously * remove smelly action inspector * remove superfluous let binding * fix warnings * Update node/network/bridge/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * fix compilation Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
Ashley authored
Companion PR for `Remove the service, replacing it with a struct of individual chain components` (#1288) * Switch branch * Fix service things * Fix browser node compilation * Update branch * fixed new service * Update for new branch * Fix browser node * Update branch * Revert "Switch branch" This reverts commit 3623adff7681124a1539a385a718c34e85931254. * Update cargo.lock Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 24, 2020
-
-
Ashley authored
Companion PR for `Fix the browser node and ensure it doesn't colour the informant output` #6457 (#1307) * Companion for Substrate #6269 (nested storage tx) * Adjust to PR changes * Bump to newest substrate * Bump spec * Switch branch * Remove redundant informant_prefix * Fix collator tests * Update branch * Revert "Switch branch" This reverts commit bcce560c51fbc9db604cf3b0f615bfd21419f87d. Co-authored-by: Alexander Theißen <[email protected]>
-
- Jun 22, 2020
-
-
André Silva authored
* node: spawn babe and grandpa as blocking tasks * update to latest substrate
-
- Jun 17, 2020
-
-
asynchronous rob authored
* introduce polkadot-node-primitives * guide: change statement distribution message types * guide: remove variant from `CandidateSelectionMessage` * add a few more message types * add TODOs * Almost all messages * NewBackedCandidate notification * Formatting * Use AttestedCandidate as BackedCandidate * Update node/primitives/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * Fix the tests * Bring in types from #1242 * Adds network bridge messages * More message types from doc * use fn pointer type * Fixes from the review * Add missing Runtime subsystem message * rename to CandidateValidationMessage and fix tests Co-authored-by: Fedor Sakharov <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
- Jun 11, 2020
-
-
Fedor Sakharov authored
* New service initial commit * More separation of the new and old services * Fix review comments * Adds polkadot.json * Fix browser build * Remove unused import * Update node/service/src/lib.rs Co-authored-by: Fedor Sakharov <[email protected]> * Remove duplicate json files Co-authored-by: Robert Habermeier <[email protected]>
-
André Silva authored
* service: update to latest ServiceBuilder changes * Update Cargo.lock Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 10, 2020
-
-
Cecile Tonglet authored
* Initial commit Forked at: 261d701c Parent branch: origin/master * Add the ability to change the informant's prefix * Update Cargo.lock * Update Cargo.lock * fixed tests * Rename prefix to informant prefix
-
- Jun 09, 2020
-
-
Rakan Alhneiti authored
* Cast keystore pointer * Update cargo.lock
-
- Jun 05, 2020
-
-
Bastian Köcher authored
* Companion for Substrate #6123 * Update Substrate
-
- May 30, 2020
-
-
Tomasz Drwięga authored
* Use Substrate block builder. * Clean up metrics. * Lock. * Lock. * Switch to newest basic authorship interface * Update Substrate reference and polkadot spec_version * Let's improve Co-authored-by: Bastian Köcher <[email protected]>
-
- May 21, 2020
-
-
Shawn Tabrizi authored
* Add new trait to offences * companion for substrate#6069 * update to latest changes * Update Cargo.lock Co-authored-by: André Silva <[email protected]> Co-authored-by: Gav Wood <[email protected]>
-
- May 19, 2020
-
-
Nikolay Volf authored
* add metrics * reset & update * update
-
- May 16, 2020
-
-
Jon Häggblad authored
Enable babe_epochAuthorship that was added in substrate#4729 for querying information about slots that can be claimed in the current epoch.
-
- May 15, 2020
-
-
Benjamin Kampmann authored
-
- May 06, 2020
-
-
André Silva authored
* grandpa: report equivocations on all runtimes * runtime: fix test-runtime compilation * runtime: enable historical session manager on all runtimes * runtime: fix indentation * runtime: use strong key types in KeyOwnerProofSystem definitions * update substrate * bump spec_version of runtimes
-
- May 04, 2020
-
-
Jon Häggblad authored
* Companion PR for Substrate #5375 * fix compilation * Update rpc/Cargo.toml * update substrate Co-authored-by: André Silva <[email protected]> Co-authored-by: Benjamin Kampmann <[email protected]>
-
Bastian Köcher authored
* Companion for Substrate#5860 * Update Substrate
-
Pierre Krieger authored
* Some fixes to compile for Android * Revert change to cli
-
- Apr 29, 2020
-
-
Web3 Philosopher authored
-
pscott authored
-
Bastian Köcher authored
-
Web3 Philosopher authored
-
- Apr 28, 2020
-
-
Web3 Philosopher authored
* WIP * collator * fix missing reference * Make collator builder more generic * all clear * revert start colator fn * fix return type of start_collator * sc-consensus * bump back to master * Update collator/src/lib.rs Co-Authored-By: Benjamin Kampmann <[email protected]> * Update collator/src/lib.rs Co-Authored-By: Pierre Krieger <[email protected]> * uncomment type MaxIterations * reactivate append storage feature Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-
- Apr 20, 2020
-
-
Bastian Köcher authored
Collators need to join the validation network to tell its connected relay chain peers the leaf they listen on. This is required to make the Parachain validator send the signed statement to the collators as well.
-
- Apr 17, 2020
-
-
Nikolay Volf authored
* prometheus registry to txpool * Fix network tests * Use None as the network config path * update substrate Co-authored-by: Ashley Ruglys <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 16, 2020
-
-
Max Inden authored
* service/src/lib: Enable authority discovery on sentry nodes When run as a sentry node, the authority discovery module does not publish any addresses to the dht, but still discovers validators and sentry nodes of validators. * bin/node/cli/src/service: Use expressions instead of statements * Cargo.lock: Run `cargo update` * service/src/lib: Fix compile error
-
- Apr 15, 2020
-
-
Arkadiy Paronyan authored
* Updated for the new db * Bumped version * Sort out features * Update to substrate master
-
- Apr 14, 2020
-
-
Pierre Krieger authored
* Companion PR to channel names * Err... fix missing event stream name * Update Substrate
-
ddorgan authored
* Initial draft * More work * Build * Docs * Insert westend keys * Add badBlock to fork from old chain * Updated spec to reset westend * Use raw spec * Fix spec format and use westend2 for both id's * Correct public key for bootnode 3 * Build * Extra space * Fix build * Lock * Update lock * Fixes * Fix for he startup text * Bump Co-authored-by: Gav Wood <[email protected]>
-
- Apr 07, 2020
-
-
Cecile Tonglet authored
* Initial commit Forked at: 9283855d Parent branch: origin/master * Switch substrate to branch cecton-the-revenge-of-the-cli * Adapting code * Update Cargo.lock * Adapting code * Adapt more code * Implement force_kusama parameter * Revert dependency update * Adapt code to use ref to SubstrateCli object * Updated to latest version * Updated with latest changes * Bump spec vesion * Fixed tests * WIP Forked at: 9283855d Parent branch: origin/master * More fixes * Cargo.lock * Updated code * Fixed and adapt * Fixed dependency issue with wasm * Adapted code * Revert branch change * Cargo.lock * Cargo.lock * Adapt code * Clean-up * More clean-up * Cargo.lock
-
- Apr 03, 2020
-
-
Pierre Krieger authored
* Companion PR to splitting Roles * Fix network tests * Fix service build * Even more fixing * Oops, quick fix * use is_network_authority in grandpa service config Co-authored-by: André Silva <[email protected]>
-
Bastian Köcher authored
Before the validator only send the keys if it was updated and thus the collators would "never" be informed about the key of the validator.
-
- Mar 19, 2020
-
-
André Silva authored
* hardfork the GRANDPA authority set in kusama to fix migration issue * move grandpa integration code * remove unnecessary grandpa hard fork * update to latest substrate polkadot-master
-
- Mar 18, 2020
-
-
André Silva authored
-
- Mar 17, 2020
-
-
André Silva authored
* grandpa: add voting rule to pause new votes for a period * grandpa: increase delay * grandpa: parse custom pause delay from cli * grandpa: log scheduled pause on startup * grandpa: rename parameter to grandpa_pause * grandpa: make pause voting rule generic on block * grandpa: add test for pause voting rule * grandpa: add hardcoded pause * collator: fix test compilation
-