- Mar 05, 2020
-
-
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
-
gabriel klawitter authored
* ci: increase artifact retention period
-
Gavin Wood authored
* Switch branch * Small changes * Update substrate branch * Switch * Revert "Switch branch" This reverts commit b9d48b2ce8f5cbfa379dd385e817e80870391d9d. * fix * add `wipe` and `commit` * Remove deprecated_host_interface * Switch branch * HasherFor -> HashFor * More HasherFor changes * Final touches * Revert "Switch branch" This reverts commit d0da27313839559de01f59690f3826fe587becb8. Co-authored-by: thiolliere <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 02, 2020
-
-
Bastian Köcher authored
-
- Feb 28, 2020
-
-
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 <[email protected]> * Change gossip name * Change again Co-authored-by: Cecile Tonglet <[email protected]>
-
Toralf Wittner authored
-
Pierre Krieger authored
-
- Feb 27, 2020
-
-
Cecile Tonglet authored
* Running a node without a database set in config is a bug, not a user error
-
- Feb 26, 2020
-
-
s3krit authored
* CI: Split common functions into lib.sh and make... ... alert_pending_release.sh check the substrate changes for various labels. If labelled, will be included in the changelog, otherwise will silently be left out. * replace non-standard /bin/bash with /usr/bin/env bash * CI: make lib.sh /bin/sh-compatible * lib.sh: fix newline chars sometimes breaking has_label() * check_runtime.sh: tag change with 'B2-breaksapi'... ... if any substrate changes are also labelled 'B2-breaksapi' * Remove debug exits and uncomment labelling * exit early if we label with breaksapi * fix publish_draft_release.sh
-
- Feb 25, 2020
-
-
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
-
- Feb 24, 2020
-
-
s3krit authored
-
- Feb 21, 2020
-
-
Pierre Krieger authored
-
- Feb 19, 2020
-
-
Shawn Tabrizi authored
* Separate `WeightToFee` calculation for Kusama and Polkadot * Bump spec
-
André Silva authored
-
Nikolay Volf authored
* try to update * latest updates * final fixes * Fix claim w/ vesting logic * Make claim tests a bit better Co-authored-by: Shawn Tabrizi <[email protected]>
-
Ashley authored
* Remove TargetedMessage * Nitpicks
-
- Feb 18, 2020
-
-
s3krit authored
* CI: Split common functions into lib.sh and make... ... alert_pending_release.sh check the substrate changes for various labels. If labelled, will be included in the changelog, otherwise will silently be left out. * replace non-standard /bin/bash with /usr/bin/env bash * CI: make lib.sh /bin/sh-compatible
-
- Feb 15, 2020
-
-
Shawn Tabrizi authored
-
- Feb 13, 2020
-
-
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
-
- Feb 12, 2020
-
-
Bastian Köcher authored
* Revert 9a9860c8 * Make it work
-
- Feb 11, 2020
-
-
Bastian Köcher authored
-
asynchronous rob authored
* add a maximum code size and head data size * get existing tests passing * add tests for slots logic * test registrar behavior * introduce maximums and bump versions * address review grumbles * work around publicizing derive * remove unneeded and wrong doc
-
- Feb 10, 2020
-
-
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
-
Cecile Tonglet authored
Make sure that --dev purge-chain is rejected ``` [0] [11:24:02] ~/r/polkadot master > ./target/debug/polkadot purge-chain --dev -y "/home/cecile/.local/share/polkadot/chains/dev/db" did not exist. [0] [11:25:36] ~/r/polkadot cecton-fix-invalid-argument-order > ./target/debug/polkadot --dev purge-chain -y error: Found argument 'purge-chain' which wasn't expected, or isn't valid in this context USAGE: polkadot --dev For more information try --help ```
-
Bastian Köcher authored
* Be specific about the `BitVec` generic arguments Currently we use the default generic arguments for `BitVec`. This means we use `BigEndian` and `u8`. These default values are not stable, with `0.17` of the `BitVec` crate this changes. To make sure we don't break anything in the future, make sure we explictly set the generics. * Update `spec_version`
-
Cecile Tonglet authored
* Initial commit Forked at: 703ac8bb Parent branch: origin/master * Test running node and interrupts * WIP Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750 Parent branch: origin/cumulus-branch * Update Cargo.lock * WIP Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750 Parent branch: origin/cumulus-branch * WIP Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750 Parent branch: origin/cumulus-branch * WIP Forked at: 1942ae27ae23809a40f955545dfbf0467faa7750 Parent branch: origin/cumulus-branch
-
asynchronous rob authored
* enable migrations in polkadot and kusama runtimes * bump runtime version
-
asynchronous rob authored
* runtime: candidate receipt must pass parent head * construct parachain candidates using correct parent_head * validate that the parent header is correct in candidate receipt * fix test fallout * bump runtime versions
-
- Feb 09, 2020
-
-
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 <[email protected]> Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 03, 2020
-
-
Pierre Krieger authored
-
gabriel klawitter authored
-
Gav Wood authored
-
Bastian Köcher authored
-
- Feb 01, 2020
-
-
Ashley authored
* Fix browser.rs * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]>
-
- Jan 31, 2020
-
-
Gavin Wood authored
* Bump runtime version * Bump runtime version
-
Bastian Köcher authored
-
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 <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Cecile Tonglet <[email protected]>
-
- Jan 30, 2020
-
-
Pierre Krieger authored
-
Toralf Wittner authored
-
- Jan 29, 2020
-
-
Gavin Wood authored
* Update to latest Substrate master * upgrade decl_storage declaration * Companion PR to Substrate#4752 Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-