- Jul 20, 2020
-
-
Gavin Wood authored
* Remove Sudo NOTE: To ensure minimal index changes to pre-existing pallet deployments, this is done with a "swap_remove" style; the previous last pallet (Purchase), which is hitherto unused, has been shifted into the old index of Sudo. * Remove CC1 designation. * Fixes * Bump * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes * Fixes
-
Gavin Wood authored
-
- Jul 18, 2020
-
-
asynchronous rob authored
* create a README on Runtime APIs * add ParaId type * write up runtime APIs * more preamble * rename * rejig runtime APIs * add occupied_since to `BlockNumber` * skeleton crate for runtime API subsystem * improve group_for_core * improve docs on availability cores runtime API * guide: freed -> free * add primitives for runtime APIs * create a v1 ParachainHost API trait * guide: make validation code return `Option`al. * skeleton runtime API helpers * make parachain-host runtime-generic * skeleton for most runtime API implementation functions * guide: add runtime API helper methods * implement new helpers of the inclusion module * guide: remove retries check, as it is unneeded * implement helpers for scheduler module for Runtime APIs * clean up `validator_groups` implementation * implement next_rotation_at and last_rotation_at * guide: more helpers on GroupRotationInfo * almost finish implementing runtime APIs * add explicit block parameter to runtime API fns * guide: generalize number parameter * guide: add group_responsible to occupied-core * update primitives due to guide changes * finishing touches on runtime API implementation; squash warnings * break out runtime API impl to separate file * add tests for next_up logic * test group rotation info * point to filed TODO * remove unused TODO [now] * indentation * guide: para -> para_id * rename para field to para_id for core meta * remove reference to outdated AvailabilityCores type * add an event in `inclusion` for candidates being included or timing out * guide: candidate events * guide: adjust language * Candidate events type from guide and adjust inclusion event * implement `candidate_events` runtime API * fix runtime test compilation * max -> min * fix typos * guide: add `RuntimeAPIRequest::CandidateEvents`
-
- Jul 17, 2020
-
-
Shawn Tabrizi authored
-
Shawn Tabrizi authored
* initial mock * remove statement * Merge branch 'master' into shawntabrizi-crowdsale * only work for dead accounts * Revert "Merge branch 'master' into shawntabrizi-crowdsale" This reverts commit 6f8fde1b . * update storage name * Re-mock * Update comment * payouts * test signature verification * Update wording * fix tests * support both free and locked balance * Single statement set in configuration trait * Configurable purchase limit, initiated status * Account creation tests * make note about `max_amount` check * Update validity status tests * update balance tests * payment test * finish tests * enable in runtime * Test and verify ed25519 * make purchase pallet more configurable on the fly * Remove runtime check on purchase amount. * clean up trait * add basic weights * add extra super saftey check for vesting * Add vat tracking * remove unused const * Update to W3F Origins * remove stale comment * Support existing accounts w/o existing vesting schedule * Update runtime/common/src/purchase.rs Co-authored-by: Gavin Wood <[email protected]> * Add support for partially unlocked portion of purchased DOTs * add trait import * Expose constants from pallet * Fixes * Fixes * Update runtime/polkadot/src/lib.rs Co-authored-by: Gavin Wood <[email protected]>
-
André Silva authored
* runtime: update grandpa equivocation reporting api * Bump Co-authored-by: Gav Wood <[email protected]>
-
Gavin Wood authored
* Define BurnDestination, Kusama Treasury burns to Society. * Fixes * Remove the council elections enabling. * Bump * whitespace
-
ordian authored
* inclusion: split PendingAvailability storage into descriptor and commitments * inclusion: fix tests * implementers-guide: update CandidatePendingAvailability type * inclusion: simplify process_candidates a bit * implementers-guide: more updates to the inclusion module * inclusion: fix copy-paste errors in tests * inclusion: revert some of the changes * inclusion: lazy commitments loading and a test * guide: revert enact_candidate changes * inclusion: test process_bitfield for no commitments * Grammar Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
- Jul 16, 2020
-
-
Gavin Wood authored
-
- Jul 14, 2020
-
-
Gavin Wood authored
-
- Jul 13, 2020
-
-
Gavin Wood authored
-
- Jul 11, 2020
-
-
Gavin Wood authored
* Initial draft * Initial build * Integrate into runtime * Fix warnings. * Initial tests * Fixes and tests * Update runtime/polkadot/src/poll.rs Co-authored-by: Bastian Köcher <[email protected]> * Expose End constant * Docs * Update runtime/polkadot/src/lib.rs Co-authored-by: kaichao <[email protected]> * Update runtime/polkadot/src/poll.rs Co-authored-by: Kian Paimani <[email protected]> * Clean up filters * Warnings Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: kaichao <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
- Jul 10, 2020
-
-
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
-
- Jul 09, 2020
-
-
Fedor Sakharov authored
* Updates guide for CandidateBacking * Move assignment types to primitives * Initial implementation. * More functionality * use assert_matches * Changes to report misbehaviors * Some fixes after a review * Remove a blank line * Update guide and some types * Adds run_job function * Some comments and refactorings * Fix review * Remove warnings * Use summary in kicking off validation * Parallelize requests * Validation provides local and global validation params * Test issued validity tracking * Nits from review
-
asynchronous rob authored
* note that the initializer is responsible for buffering session changes * amend initializer definition to include session change buffering * support buffered changes before `on_initialize` * implement and test session buffering * Update roadmap/implementors-guide/src/runtime/README.md Co-authored-by: Bernhard Schuster <[email protected]> * expand on how this affects misbehavior reports * fix typo Co-authored-by: Bernhard Schuster <[email protected]>
-
Cecile Tonglet authored
Fixes #833
-
- Jul 08, 2020
-
-
Shawn Tabrizi authored
* Add `WeightInfo` * fix test * fix tests * fix more tests
-
Bastian Köcher authored
* Companion for #6584 https://github.com/paritytech/substrate/pull/6584 * updating sp-io * Update dev-dependency, too * update lockfile Co-authored-by: Benjamin Kampmann <[email protected]>
-
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 <>
-
- Jul 07, 2020
-
-
Bastian Köcher authored
https://github.com/paritytech/substrate/pull/6589
-
Peter Goodspeed-Niklaus authored
Closes #1339.
-
- Jul 06, 2020
-
-
Bastian Köcher authored
* Companion for #6576 * 'Update substrate' Co-authored-by: parity-processbot <>
-
Shawn Tabrizi authored
* Update usage of macro * 'Update substrate' * cargo update -p sp-io Co-authored-by: parity-processbot <>
-
- Jul 04, 2020
-
-
André Silva authored
* enable BABE equivocation reporting on all runtimes * runtime: fix parachains mock test runtime * cargo update -p sp-io Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jul 03, 2020
-
-
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 <[email protected]> Co-authored-by: Max Inden <[email protected]>
-
Bastian Köcher authored
* Check candidate signatures before including them in `set_heads` This work around the bug described in: https://github.com/paritytech/polkadot/issues/1327 We check the candidate signatures in `create_inherent` to ensure that all are valid. If one isn't valid, we don't include any candidate for the current inherent. * Bump runtimes
-
- Jul 02, 2020
-
-
Gavin Wood authored
-
- Jul 01, 2020
-
-
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 <[email protected]> * Update runtime/common/src/parachains.rs Co-authored-by: Robert Habermeier <[email protected]> * Update runtime/common/src/parachains.rs Co-authored-by: Robert Habermeier <[email protected]> * Minor fixes * Fix wasm build Co-authored-by: Gav Wood <[email protected]> Co-authored-by: André Silva <[email protected]> Co-authored-by: Cecile Tonglet <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
Chevdor authored
* Add registrar proxy * Add proxy filter for registrar for polkadot and westend * Renaming + allow batch calls for Kusama * Add batch calls for other chains
-
Gavin Wood authored
* Allow voting in democracy. * Ensire Root can begin referenda
-
- Jun 30, 2020
-
-
Shawn Tabrizi authored
* Add custom runtime upgrade for retract tip * cargo update -p sp-io
-
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 27, 2020
-
-
Bryan Chen authored
-
- Jun 26, 2020
-
-
Gavin Wood authored
* Companion for #6503 * Remove old filtering * Bump tx version * Bump version * Bump
-
- Jun 25, 2020
-
-
Shawn Tabrizi authored
* add new apis to externalities * Update mod.rs * update for new host function * Rename unused * cargo update -p sp-io * Add whitelists * Apply changes to polkadot runtime as well Co-authored-by: kianenigma <[email protected]>
-
- Jun 24, 2020
-
-
Tomasz Drwięga authored
* CheckEra -> CheckMortality * Update substrate.
-
- Jun 23, 2020
-
-
Gavin Wood authored
* Update staking reward curve for pre-parachain situation. * Bump runtime. * Bump versions
-
Shawn Tabrizi authored
* Make kusama proxy explicit * Make polkadot explicit * Make westend explicit * bump spec
-
Alexander Theißen authored
* Companion for Substrate #6269 (nested storage tx) * Adjust to PR changes * Bump to newest substrate * Bump spec
-
- Jun 21, 2020
-
-
Bryan Chen authored
-