- Jun 30, 2020
-
-
Peter Goodspeed-Niklaus authored
* 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 * add license header * empty commit; maybe github will notice the one with changes * add sanity check to only include valid inherents
-
- Jun 26, 2020
-
-
Gavin Wood authored
* Companion for #6503 * Remove old filtering * Bump tx version * Bump version * Bump
-
- Jun 23, 2020
-
-
Gavin Wood authored
* Update staking reward curve for pre-parachain situation. * Bump runtime. * Bump versions
-
- Jun 20, 2020
-
-
Peter Goodspeed-Niklaus authored
* add signed wrapper, typedef SignedStatement * typedef SignedAvailabilityBitfield * implement Signed wrapper This is strictly an addition as of this commit; nothing is yet changed in existing behavior. * inline getters, remove review comment * move EncodeAs, Signed from node::primitives to primitives::parachain * Refactor SignedAvailabilityBitfield to use Signed * don't double-encode real payload This isn't an ideal solution, because it depends on the implementation details of how SCALE encodes tuples, but OTOH that behavior seems unlikely to change anytime soon. * fix build errors * cause the runtime to build properly with the new changes Not sure why cargo check didn't catch this earlier; oh well. * fix runtime tests and separate SignedStatement from SignedFullStatement * better explain why CompactStatement exists Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
- Jun 19, 2020
-
-
Gavin Wood authored
-
- Jun 18, 2020
-
-
asynchronous rob authored
* add availability bitfield types to primitives * begin inclusion module * use GitHub issue link for limitation * fix some compiler errors * integrate validators into initializer * add generic signing context * make signing-context more generic * fix issues with inclusion module * add TODO * guide: add validators and session index to inclusion * guide: add session index to change notification * implement session change logic * add BackedCandidate type * guide: refine inclusion pipeline * guide: rename group_on to group_validators * guide: add check about collator for parathread * guide: add last_code_upgrade to paras and use in inclusion * implement Paras::last_code_upgrade * implement most checks in process_candidates * make candidate receipt structs more generic * make BackedCandidate struct more generic * use hash param, not block number * check that candidate is in context of the parent block * include inclusion module in initializer * implement enact-candidate * check that only occupied cores have bits set * finish implementing bitfield processing * restructure consistency checks on candidates * make some more primitives generic * signature checking logic for backed candidates * finish implementing process_candidates * implement collect_pending * add some trait implementations to primitives * implement InclusionInherent and squash warnings * test bitfield signing checks * rename parachain head to para_head * fix note_new_head bug in paras * test bitfield enactment in inclusion * helpers for candidate checks * add test for most candidate checks * add test for backing setting storage * test session change logic * remove extraneous type parameter * remove some allow(unused)s * extract threshold computation to const fn * remove some more allow(unused)s * improve doc * add debug assertion * fix primitive test compilation * tag unanimous variant as unused
-
- 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]>
-
Gavin Wood authored
* Rename old labels. * Bump runtimes * Bump versions * Bump lock
-
- Jun 16, 2020
-
-
Gavin Wood authored
-
- Jun 12, 2020
-
-
Gav Wood authored
-
Gavin Wood authored
* Bump versions, tweak deposit costs. * Version * Lock * Make test work ok when numbers are not round. * Bump Substrate * Lock
-
- Jun 10, 2020
-
-
Gavin Wood authored
* Bump Substrate again. * update kusama runtmie for ensure origin * update polkadot runtime for ensure origin * fix imports * root only available for runtime benchmarks * Fix lock file * Bump Substrate * Update lock * Remove questionable feature-gating. Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 09, 2020
-
-
Gavin Wood authored
-
Gavin Wood authored
* Bump versions. * Update lock
-
- Jun 08, 2020
-
-
Gavin Wood authored
-
Gavin Wood authored
* Fix for new Substrate * Fix * Remove Utility constraint in NonTransfer * Bump * Fixes * Allow limited utilities in proxy filters. * Fix * Add SudoBalances proxy restrictions
-
- Jun 04, 2020
-
-
Gavin Wood authored
* Introduce generalised proxies to polkadot * Introduce proxy to westend * Add proxy to Kusama. * Fix
-
- Jun 01, 2020
-
-
Gavin Wood authored
* Identity * Bump spec * Update runtime/polkadot/src/lib.rs Co-authored-by: kaichao <[email protected]> * Fix runtime * Bump runtimes Co-authored-by: kaichao <[email protected]>
-
- May 28, 2020
-
-
Gavin Wood authored
* Bump * Bump * Bump
-
- May 26, 2020
-
-
Gavin Wood authored
* Test CC1 spec * Adaptive default chainspec * Strip -pre * Update to next CC1 iteration * Raw chainspec
-
Gavin Wood authored
* Update claim statements * Update URLs * Minor tweak to make enum agree with URL * final html multihashes * New hashes * Version * updated SAFT statement hash * Update runtimes; this relies on substrate #6131 * Bump * Share transaction filterer and fix Kusama * Warning * Gah! * Tidy * Westend fixes * Westend fix * Tweak constants * Implement TCF stuff * Fix * Warning * 15 minute lookahead * 15 minute lookahead in Polkadot * update max transactions * Enable utility, disable vested_transfer * Update runtime/common/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Filter calls for validate unsigned also * Deduplicate * Fix * Introduce Polkadot (mainnet) chainspec * Fix naming. * Enable indices and fix comment. * Fix compilation * Enable indices and fix comment. * polkadot: babe: enable secondary VRF slots * Test JSON * Allow set_heads * Fix * Raw chain spec added Co-authored-by: keorn <[email protected]> Co-authored-by: NikVolf <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- May 16, 2020
-
-
Gavin Wood authored
* Introduce mandatory statement signing into claims * Introduce SignedExtension * Tests passing * Bump runtime version * Bump version, fix test * Test for validate * Another couple of tests * Enable PrevalidateAttests on Polkadot * Enable PrevalidateAttests on Polkadot * Fix build * Fixes * More fixes * Fix bench tests * Fix & test Preclaim clobbering. * Fix for errant claim logic * Add test * Update tests, always use Vec as input * mint_claim can add signature, some_benchmarks * Add claim with statement test * finish benchmarks * put the correct number of claims with benchmarks * fix compiler warning * Update weights * Weight comments for validation Co-authored-by: Shawn Tabrizi <[email protected]>
-
- 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 05, 2020
-
-
Gavin Wood authored
-
- Apr 29, 2020
-
-
Gavin Wood authored
* Bump Westend runtime version * Bump Substrate * Prep for release of 0.7.32 * Update lock
-
- Apr 28, 2020
-
-
Nikolay Volf authored
-
- Apr 27, 2020
-
-
Nikolay Volf authored
* add storage_append * Bump versions Co-authored-by: Gav Wood <[email protected]>
-
- Apr 17, 2020
-
-
Bastian Köcher authored
* Release 0.7.30 * Update Substrate & libp2p
-
- Apr 16, 2020
-
-
Fedor Sakharov authored
* Adds an offchain call to submit double vote reports * Some tweaks * Remove unnecessary IdentifyAccount impls * Adds ValidateDoubleVoteReports to test runtime * sp-application-crypto is only a dev dependency
-
- Apr 14, 2020
-
-
Bastian Köcher authored
* Release 0.7.29 * Update `Cargo.lock`
-
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 13, 2020
-
-
asynchronous rob authored
* use stronger types for HeadData and ValidationCode in runtime * fix weird debug compile error * fix runtime build * update invocations invalidation.rs * fix tests
-
- 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]>
-