- Apr 06, 2020
-
-
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
-
- Apr 03, 2020
-
-
Bastian Köcher authored
* Ensure that table router is always build This pr ensures that the table router is always build, aka the future is resolved. This is important, as the table router internally spawns tasks to handle gossip messages. Handling gossip messages is not only required on parachain validators, but also on relay chain validators to receive collations. Tests are added to ensure that the assumptions hold. * Fix compilation * Switch to closures * Remove empty line * Revert "Remove empty line" This reverts commit 0d4aaba1780aec1c8d61e1d5dcf7768918af02d9. * Revert "Switch to closures" This reverts commit d128c4ecc02c911552a3bfd2142b5a4f7b1338ba. * Hybrid approach * Rename test * Make trait crate local
-
- Apr 01, 2020
-
-
Bastian Köcher authored
Up to now consensus instances used the main channel to communicate with the background network worker. This lead to a race condition when sending a local collation and dropping the router before driving the send local collation future until it is finished. This pr changes the communication between worker and the instances to use their own channels. This has the advantage that we don't need an extra `DropConsensusNetworking` message as the network is dropped automatically when the last sender is dropped.
-
Gavin Wood authored
* Fixes for democracy using Scheduler * Revert branch change
-
- Mar 30, 2020
-
-
Bastian Köcher authored
-
- Mar 25, 2020
-
-
Fedor Sakharov authored
* Adds a SigningContext type * Bump spec versions * Fixes requested changes * Bump ParachainHost api_version and guard signing_context call * Improve error message * If there is no signing_context api use default value Co-authored-by: Robert Habermeier <[email protected]>
-
- Mar 23, 2020
-
-
Gav Wood authored
-
- Mar 22, 2020
-
-
Fedor Sakharov authored
* Parachains double vote handler initial implementation. * Make tests test the actual slashing. * Implement SignedExtension validation of double vote reports. * Fixes build after merge * Review fixes * Adds historical session proofs * Review fixes. * Bump runtime spec_version * Get the session number from the proof * Check that proof matches session * Change signature type on DoubleVoteReport * Adds docs and removes blank lines * Removes leftover code * Fix build * Fix build after a merge * Apply suggestions from code review Co-Authored-By: Robert Habermeier <[email protected]> * Prune ParentToSessionIndex * Remove a clone and a warning Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
- Mar 21, 2020
-
-
Gav Wood authored
-
Gavin Wood authored
* Updates for the new democracy * Introduce progressive democracy Also move to "master" branch of Substrate ready for continuous sync with Substrate master.
-
- Mar 19, 2020
-
-
André Silva authored
* bump version to v0.7.27 * update to latest substrate polkadot-master * bump runtime impl_version
-
- Mar 17, 2020
-
-
Gavin Wood authored
-
Gavin Wood authored
* Bump version and Substrate * Version * Lock
-
- Mar 16, 2020
-
-
Gavin Wood authored
-
- Mar 14, 2020
-
-
Gavin Wood authored
* Insert storage for finality tracker * Bump lock * Bump version
-
- Mar 13, 2020
-
-
Gavin Wood authored
* Bump version * Cargo lock * Bump runtime version * Bump Substrate again to include recent fix
-
Shawn Tabrizi authored
* fix * Starting to add benchmarks * make compile * add benchmarks * Make work with Substrate master * Bench validate unsigned * back to polkadot master * starting to add cli with feature flag * more stuff * Add to kusama * Update Cargo.lock * fix dev dep * bump wasm builder * Remove encode from keccak benchmark * bump spec * Add weight documentation * Update Cargo.lock * Update check_runtime.sh * Update publish_draft_release.sh * Update Cargo.lock Co-authored-by: thiolliere <[email protected]>
-
- Mar 07, 2020
-
-
Gavin Wood authored
* Bump version to knock the -dev * Update lock
-
- Mar 06, 2020
-
-
Gavin Wood authored
* Bump Substrate and some fixes * Bump runtime * version bump
-
joe petrowski authored
-
- 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 19, 2020
-
-
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 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 10, 2020
-
-
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`
-
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 03, 2020
-
-
Gav Wood authored
-
- Jan 31, 2020
-
-
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 18, 2020
-
-
Gavin Wood authored
-
- Jan 17, 2020
-
-
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 a5d9645b. * update substrate * remove unused parameter type * bump trie-db version for tests * fix collator test * update substrate * remove unnecessary service changes
-
- Jan 09, 2020
-
-
Gavin Wood authored
* Bump versions * Update for tipping treasury * Bump substrate * Fixes * Put send_consensus back in. * Fix test * Fixes * Fixes * Fix warning
-
Gavin Wood authored
* Bump Substrate and versions * Bump Substrate
-
- Jan 08, 2020
-
-
Bastian Köcher authored
* Make use of `runtime_interface` for parachain externalities This also changes the encoding of the `ValidationResult` return value to match the default encoding used in Substrate. * Fix compilation for web * Update `Cargo.lock` * Include feedback * Move proc macro * Update parachain/src/lib.rs Co-Authored-By: Robert Habermeier <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
Gavin Wood authored
* Bumped versions * Bump to latest substrate that exposes load_spec
-
- Jan 07, 2020
-
-
Gavin Wood authored
* Fix up Kusama balance constants * Bump versions * Fix for the --dev option
-
André Silva authored
* bump substrate version * bump version to 0.7.13
-
- Jan 06, 2020
-
-
Gavin Wood authored
-
- Jan 05, 2020
-
-
Shawn Tabrizi authored
-
- Jan 03, 2020
-
-
Arkadiy Paronyan authored
* Allow both polkadot and kusama runtimes * Allow both polkadot and kusama runtimes * Make `collator` build * Removed kusama runtime * Introduced common runtime * Updated for latest substrate * Updated CI targets * Updated CI version check * Removed unused dependency * Pulled latests substrate * Pulled latest substrate * Fixed version * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * NEW_HEADS_IDENTIFIER moved to primitives * Updated CI check script * Fixed script * Set epoch duration for polkadot * ci: check_runtime for both runtimes Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: gabriel klawitter <[email protected]>
-
- Dec 24, 2019
-
-
Gavin Wood authored
* Updates, but won't build. * Bump version. * Fix * Fix test
-