- 23 Jul, 2020 1 commit
-
-
asynchronous rob authored
* rename GlobalValidationSchedule to GlobalValidationData * guide: update candidate descriptor to contain validation data hash * guide: add note in inclusion module about checking validation data hash * primitives: update CandidateDescriptor to contain new hash * fix payload computation * add helpers for computing validation data to runtime modules * guide: note routines * inclusion: check validation data hash and fix local_validation_data bug * add a case to candidate_checks and improve that test substantially * bump versions * address review comments * add a test for including code upgrade * bump kusama version * bump westend & polkadot versions
-
- 21 Jul, 2020 1 commit
-
-
Xiliang Chen authored
-
- 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 st...
-
- 08 Jul, 2020 2 commits
-
-
Shawn Tabrizi authored
* Add `WeightInfo` * fix test * fix tests * fix more tests
-
Shaopeng Wang authored
* Update decl_storage usage with frame_system as default ident. * More decl_module usage update. * 'Update substrate' Co-authored-by: parity-processbot <>
-
- 06 Jul, 2020 1 commit
-
-
Bastian Köcher authored
* Companion for #6576 * 'Update substrate' Co-authored-by: parity-processbot <>
-
- 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>
-
- 20 Jun, 2020 1 commit
-
-
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 <rphmeier@gmail.com> Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
-
- 16 Jun, 2020 1 commit
-
-
thiolliere authored
* remove IsCallable make use of in-origin filter * update lock * bump version for runtimes as spec as changed * trigger CI * Revert "trigger CI" This reverts commit 5ac58fd4.
-
- 02 Jun, 2020 1 commit
-
-
Kian Paimani authored
* Make it work * Upsub
-
- 20 May, 2020 1 commit
-
-
Tomasz Drwięga authored
* Companion to #6067 * Fix tests? * Use AvailableBlockLimit instead of hardcoding the value. * Bump substrate.
-
- 06 May, 2020 1 commit
-
-
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
-
- 27 Apr, 2020 1 commit
-
-
Kian Paimani authored
* update polkadot * Fix build * Bump Substrate Co-authored-by:
Gav Wood <gavin@parity.io>
-
- 25 Apr, 2020 1 commit
-
-
Shawn Tabrizi authored
* Update to changes in Substrate * Fix trait * Remove `TransactionBaseFee` * add temporary values for extrinsic base weight and block execution weight * Update Cargo.lock
-
- 22 Apr, 2020 1 commit
-
-
Kian Paimani authored
* Companion for substrate/5686 * Update substrate
-
- 21 Apr, 2020 1 commit
-
-
Rakan Alhneiti authored
* Implement offchain::SendTransactionTypes * Fix test-runtime * Fix Kusama * Add SendTransactiontypes to Kusama * impl SendTransactiontypes for parachains and registrar * Fix typos * Provided extrinsic type * Implement AppCrypto for signing transactions * Add signing capabilities to runtime * Fix test runtimes * Implement CreateSignedtransaction for Test * Implement signing types for test runtimes * Fix test runtime create transaction impl * Fix build * Bump kusama's spec version * Update substrate * Use all_accounts
-
- 16 Apr, 2020 2 commits
-
-
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
-
Shawn Tabrizi authored
-
- 13 Apr, 2020 1 commit
-
-
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
-
- 08 Apr, 2020 1 commit
-
-
Pierre Krieger authored
* Companion PR to #5560 * Set priorities. * Update substrate. * Fix tests. * Update Substrate * Companion of SignedExtension refactor (#5540) Co-authored-by:
Tomasz Drwięga <tomasz@parity.io> Co-authored-by:
Alexander Theißen <alexander.theissen@parity.io>
-
- 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
-
-
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 a6c19438. * Revert "Switch to closures" This reverts commit b989c303. * Hybrid approach * Rename test * Make trait crate local
-
- 26 Mar, 2020 3 commits
-
-
Kian Paimani authored
* fix for offchain phragmen * Update unix time stuff
-
thiolliere authored
* upgrade substrate * fix telemetry endpoint * improve msg
-
Kian Paimani authored
* upsub * Revert branch change * Fix some * Fix build
-
- 25 Mar, 2020 2 commits
-
-
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 <rphmeier@gmail.com>
-
thiolliere authored
* update new on_initialize syntax * update substrate * update spec_version
-
- 23 Mar, 2020 1 commit
-
-
Shawn Tabrizi authored
-
- 22 Mar, 2020 1 commit
-
-
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 <rphmeier@gmail.com> * Prune ParentToSessionIndex * Remove a clone and a warning Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> Co-authored-by:
Gavin Wood <gavin@parity.io>
-
- 21 Mar, 2020 1 commit
-
-
Gavin Wood authored
* Remove migration code. * Bump Substrate * Bump runtime
-
- 17 Mar, 2020 1 commit
-
-
Gavin Wood authored
* Refactor storage of various modules. * The real list of claims * Migration away from opaque maps * Fix * Fix for task executor API change
-
- 13 Mar, 2020 1 commit
-
-
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 <gui.thiolliere@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>
-
- 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
-
- 19 Feb, 2020 1 commit
-
-
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 <shawntabrizi@gmail.com>
-
- 15 Feb, 2020 1 commit
-
-
Shawn Tabrizi authored
-
- 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
-
- 11 Feb, 2020 1 commit
-
-
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
-
- 10 Feb, 2020 2 commits
-
-
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
-