- 10 Jul, 2020 1 commit
-
-
asynchronous rob authored
* create a v1 primitives module * Improve guide on availability types * punctuate * new parachains runtime uses new primitives * tests of new runtime now use new primitives * add ErasureChunk to guide * export erasure chunk from v1 primitives * subsystem crate uses v1 primitives * node-primitives uses new v1 primitives * port overseer to new primitives * new-proposer uses v1 primitives (no ParachainHost anymore) * fix no-std compilation for primitives * service-new uses v1 primitives * network-bridge uses new primitives * statement distribution uses v1 primitives * PoV distribution uses v1 primitives; add PoV::hash fn * move parachain to v0 * remove inclusion_inherent module and place into v1 * remove everything from primitives crate root * remove some unused old types from v0 primitives * point everything else at primitives::v0 * squanch some warns up * add RuntimeDebug import to no-std as well * port over statement-table and validation * fix final errors in validation and node-primitives * add dummy Ord impl to committed candidate receipt * guide: update CandidateValidationMessage * add primitive for validationoutputs * expand CandidateValidationMessage further * bikeshed * add some impls to omitted-validation-data and available-data * expand CandidateValidationMessage * make erasure-coding generic over v1/v0 * update usages of erasure-coding * implement commitments.hash() * use Arc<Pov> for CandidateValidation * improve new erasure-coding method names * fix up candidate backing * update docs a bit * fix most tests and add short-circuiting to make_pov_available * fix remainder of candidate backing tests * squanching warns * squanch it up * some fallout * overseer fallout * free from polkadot-test-service hell
-
- 08 Jul, 2020 1 commit
-
-
Bastian Köcher authored
-
- 03 Jul, 2020 1 commit
-
-
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 7c7900c0. * 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 <ashley.ruglys@gmail.com> Co-authored-by:
Max Inden <mail@max-inden.de>
-
- 01 Jul, 2020 1 commit
-
-
Bastian Köcher authored
* Downward messages, the front-end. * Move types around to make them accessible from Parachains * Fix compilation * Fix branch * Make it compile for Cumulus * Update the branch names * Add default generic parameter * Implement `Partialeq` * Move upward messages into the `ValidationResult` * Support disabling of the runtime api * Update branch * Adds support for handling downward messages * Implement sending XCMP messages as up/downward messages * service: update to latest ServiceBuilder changes * Make it compile * Initial commit Forked at: b2c9c149 Parent branch: origin/master * Update substrate branch to cecton-update-polkadot-substrate * Update substrate & polkadot to cumulus-branch * Reset branch * Update primitives/src/parachain.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Update runtime/common/src/parachains.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Update runtime/common/src/parachains.rs Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> * Minor fixes * Fix wasm build Co-authored-by:
Gav Wood <gavin@parity.io> Co-authored-by:
André Silva <andre.beat@gmail.com> Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com> Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
-
- 30 Jun, 2020 2 commits
-
-
Cecile Tonglet authored
* Use spawner to spawn work task instead of tokio This allows the caller to choose the runtime they want (instead of tokio). * Replace generic by actual type
-
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 3623adff . * Update cargo.lock Co-authored-by:
Bastian Köcher <git@kchr.de>
-
- 24 Jun, 2020 1 commit
-
-
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 bcce560c . Co-authored-by:
Alexander Theißen <alexander.theissen@parity.io>
-
- 23 Jun, 2020 2 commits
-
-
Bastian Köcher authored
* Make `produce_candidate` return an `Option` Instead of `produce_candidate` returning a `Result`, it should return an `Option`. The only supported error was `InvalidHead` anyway and Cumulus will take care to print appropriate information on what failed and Polkadot can just ignore it. * Fix warning
-
https://github.com/paritytech/substrate/pull/6400Cecile Tonglet authored
* Initial commit Forked at: f351f42c Parent branch: origin/master * Substrate companion PR impl Debug for sc_service::Configuration Related to: https://github.com/paritytech/substrate/pull/6400 * Bump Co-authored-by:
Gav Wood <gavin@parity.io>
-
- 11 Jun, 2020 2 commits
-
-
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 <fedor.sakharov@gmail.com> * Remove duplicate json files Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
-
Cecile Tonglet authored
* Initial commit Forked at: 5629242d Parent branch: origin/master * Allow starting westend chain from start_collator
-
- 10 Jun, 2020 1 commit
-
-
Cecile Tonglet authored
* Initial commit Forked at: 4234dee5 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
-
- 26 May, 2020 1 commit
-
-
Cecile Tonglet authored
-
- 29 Apr, 2020 2 commits
-
-
pscott authored
-
Seun Lanlege authored
-
- 28 Apr, 2020 2 commits
-
-
Bastian Köcher authored
* Fix collator interfaces to make them work with Cumulus * Fix the fix
-
Seun Lanlege 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 <ben@gnunicorn.org> * Update collator/src/lib.rs Co-Authored-By:
Pierre Krieger <pierre.krieger1708@gmail.com> * uncomment type MaxIterations * reactivate append storage feature Co-authored-by:
Benjamin Kampmann <ben@gnunicorn.org> Co-authored-by:
Pierre Krieger <pierre.krieger1708@gmail.com>
-
- 20 Apr, 2020 1 commit
-
-
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.
-
- 14 Apr, 2020 1 commit
-
-
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 <gavin@parity.io>
-
- 07 Apr, 2020 1 commit
-
-
Cecile Tonglet authored
* Initial commit Forked at: 77de8b91 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: 77de8b91 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
-
- 06 Apr, 2020 1 commit
-
-
asynchronous rob authored
* upgrade primitives to allow changing validation function * set up storage schema for old parachains code * fix compilation errors * fix test compilation * add some tests for past code meta * most of the runtime logic for code upgrades * implement old-code pruning * add a couple tests * clean up remaining TODOs * add a whole bunch of tests for runtime functionality * remove unused function * fix runtime compilation * extract some primitives to parachain crate * add validation-code upgrades to validation params and result * extend validation params with code upgrade fields * provide maximums to validation params * port test-parachains * add a code-upgrader test-parachain and tests * fix collator tests * move test-parachains to own folder to work around compilation errors * fix test compilation * update the Cargo.lock * fix parachains tests * remove dbg! invocation * use new pool in code-upgrader * bump lockfile * link TODO to issue
-
- 03 Apr, 2020 1 commit
-
-
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 <andre.beat@gmail.com>
-
- 21 Mar, 2020 1 commit
-
-
Bastian Köcher authored
Co-authored-by:
Gav Wood <gavin@parity.io>
-
- 17 Mar, 2020 1 commit
-
-
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
-
- 05 Mar, 2020 3 commits
-
-
Gavin Wood authored
* expunge legacy code from polkadot-network * mostly rip out old legacy protocol from service * ensure validation work is spawned by incoming messages * decouple availabliity store from network logic; clean up data flow * av_store: test helpers and use futures-abort * update polkadot-validation to pass n_validators when submitting chunks * fallible erasure-chunk fetching * implement `ErasureNetworking` for new network prot * API for registering availability store in network * fully integrate new network service into service * fix validation tests * scaffolding for porting collator over to new network * track connected validators' peer IDs and distribute collators' collations * helper in network for fetching all checked statements * fix adder-collator * actually register notifications protocol * Update service/src/lib.rs * Make needed changes to service * Merge two companion PRs. - #880 - #881 * Some effort towards compilation * Fix * remove `NetworkSpecialization` references from network * fix compilation errors in service and collator * ensure protocol name is valid * Fixes * Fix Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> Co-authored-by:
Ashley <ashley.ruglys@gmail.com>
-
asynchronous rob authored
* expunge legacy code from polkadot-network * mostly rip out old legacy protocol from service * ensure validation work is spawned by incoming messages * decouple availabliity store from network logic; clean up data flow * av_store: test helpers and use futures-abort * update polkadot-validation to pass n_validators when submitting chunks * fallible erasure-chunk fetching * implement `ErasureNetworking` for new network prot * API for registering availability store in network * fully integrate new network service into service * fix validation tests * scaffolding for porting collator over to new network * track connected validators' peer IDs and distribute collators' collations * helper in network for fetching all checked statements * fix adder-collator * actually register notifications protocol * Update service/src/lib.rs * merge with master
-
Gavin Wood authored
* Switch branch * Small changes * Update substrate branch * Switch * Revert "Switch branch" This reverts commit b9d48b2c. * fix * add `wipe` and `commit` * Remove deprecated_host_interface * Switch branch * HasherFor -> HashFor * More HasherFor changes * Final touches * Revert "Switch branch" This reverts commit d0da2731 . Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- 28 Feb, 2020 1 commit
-
-
Bastian Köcher authored
* Begin to update to latest Substrate master * Fix compilation * Remove `Balances` from `OnKilledAccount` * Update cli/src/command.rs Co-Authored-By:
Cecile Tonglet <cecile@parity.io> * Change gossip name * Change again Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com>
-
- 27 Feb, 2020 1 commit
-
-
Cecile Tonglet authored
* Running a node without a database set in config is a bug, not a user error
-
- 25 Feb, 2020 1 commit
-
-
asynchronous rob authored
* encode the candidate statement as only the hash * refactor CandidateReceipt and CollationInfo * introduce an abridged candidate receipt type * erasure coding stores candidate receipt * store omitted data instead and introduce AvailableData type * refactor availability-store schema * tweak schema and APIs a bit more * get availability-store tests passing * accept AbridgedCandidateReceipt in `set_heads` * change statement type in primitives to be hash-only * fix parachains runtime tests * fix bad merge * rewrite validation pipeline * remove evaluation module * use abridged candidate hash as canonical * statement table uses abridged candidate receipts * kill availability_store::Data struct * port shared table to new validation pipelines * extract full validation pipeline to helper * remove old validation pipeline from collation module * polkadot-validation compiles * polkadot-validation tests compile * make local collation available in validation service * port legacy network code * polkadot-network fully ported * network: ensure fresh statement is propagated * remove pov_block_hash from LocalValidationData * remove candidate_hash field from AttestedCandidate and update runtime * port runtimes to new ParachainHost definition * port over polkadot-collator * fix test compilation * better fix * remove unrelated validation work dispatch fix * address grumbles * fix equality check
-
- 13 Feb, 2020 1 commit
-
-
Ashley authored
* WIP * WIp * Mostly get tests to compile * Fix adder collator * Remove more stuff * Revert some changes to av store * Fix av store tests * Nitpicks * Restore some things * Small changes * Remvoe unused error variants
-
- 12 Feb, 2020 1 commit
-
-
Bastian Köcher authored
* Revert e2dc9371 * Make it work
-
- 10 Feb, 2020 1 commit
-
-
asynchronous rob authored
* extract all network code to legacy submodule * update references to legacy proto * skeleton of futures-based protocol * refactor skeleton to use background task * rename communication_for to build_table_router * implement internal message types for validation network * basic ParachainNetwork and TableRouter implementations * add some module docs * remove exit-future from validation * hack: adapt legacy protocol to lack of exit-future * generalize RegisteredMessageValidator somewhat * instantiate and teardown table routers * clean up RouterInner drop logic * implement most of the statement import loop * implement statement loop in async/await * remove unneeded TODO * most of the collation skeleton * send session keys and validator roles * also send role after status * use config in startup * point TODO to issue * fix test compilation
-
- 09 Feb, 2020 1 commit
-
-
Gavin Wood authored
* Amalgamate pieces of balance module * Fixes for vesting split * Refactoring for vesting/balances split * Build fixes * Remove on_free_balance_zero and some docs. * Indentation. * Revert branch * Fix. * Update substrate: fixes after CLI refactoring * Reverting removal of exit * Removed too much again * Update Cargo.lock * Cargo.lock * Update Substrate, ready for #4820 * Fixes * Update to latest substrate master * Fix network tests * Update lock * Fix tests * Update futures to get bug fixes * Fix tests for new balances/vesting logic * Cargo fix * Another fix Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com> Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- 31 Jan, 2020 1 commit
-
-
Gavin Wood authored
* Update to latest Substrate master * upgrade decl_storage declaration * Companion PR to Substrate#4752 * Substrate update: Identity should bound additional fields (#4770) Substrate commit: 2c9ce7296b19934b1ffd50150be2fdb2ddf81a4e * WIP * WIP * Updated substrate and fixes * Fix compilation and switch to latest wasm-builder-runner * Fixed missing doc * Update collator/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Pierre Krieger <pierre.krieger1708@gmail.com> Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com>
-
- 29 Jan, 2020 2 commits
-
-
Gavin Wood authored
* Update to latest Substrate master * upgrade decl_storage declaration * Companion PR to Substrate#4752 Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Pierre Krieger <pierre.krieger1708@gmail.com>
-
Ashley authored
* upgrade tokio again * Remove WrappedExecutor * switch to spawn_blocking
-
- 20 Jan, 2020 1 commit
-
-
Fedor Sakharov authored
* Asyncify launch_work a bit more * An error message misword * A bit more async in collator
-
- 17 Jan, 2020 1 commit
-
-
André Silva authored
* update latest substrate polkadot-master * fix test compilation * bump version to 0.7.18 * bump impl_version * update substrate * Revert "Instantiate environment with asynchronous API (#768)" This reverts commit 989db4b8. * update substrate * remove unused parameter type * bump trie-db version for tests * fix collator test * update substrate * remove unnecessary service changes
-
- 16 Jan, 2020 1 commit
-
-
asynchronous rob authored
* point to in-progress Substrate branch * instantiate environment async * Fix futures * Bump runtime * Fix collation tests * point to polkadot-master again * point to polkadot-master again * update deps Co-authored-by:
Ashley <ashley.ruglys@gmail.com>
-