1. Aug 03, 2020
  2. Aug 02, 2020
  3. Jul 31, 2020
    • Fedor Sakharov's avatar
      Parachains-runtime (#1505) · eca01a8c
      Fedor Sakharov authored
      * Initial commit
      
      * v0 to v1 primitives and remove attestations
      
      * Review fixes
      
      * implement candidate_events
      
      * remove dead code
      eca01a8c
  4. Jul 30, 2020
  5. Jul 29, 2020
  6. Jul 28, 2020
  7. Jul 27, 2020
  8. Jul 26, 2020
  9. Jul 24, 2020
  10. Jul 23, 2020
    • asynchronous rob's avatar
      Include a reference to the validation data in the candidate descriptor (#1442) · cce0a950
      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
      cce0a950
  11. Jul 22, 2020
  12. Jul 21, 2020
  13. Jul 20, 2020
  14. Jul 18, 2020
    • asynchronous rob's avatar
      Implement Runtime APIs (#1411) · 5d7142f1
      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`
      5d7142f1
  15. Jul 17, 2020
    • Shawn Tabrizi's avatar
      Add purchase module to westend (#1429) · 7071a022
      Shawn Tabrizi authored
      v0.8.15
      7071a022
    • Shawn Tabrizi's avatar
      Pallet for Purchase (#1369) · 5b27dd39
      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: default avatarGavin 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: default avatarGavin Wood <[email protected]>
      5b27dd39
    • André Silva's avatar
      runtime: update grandpa equivocation reporting api (#1407) · 37793976
      André Silva authored
      
      
      * runtime: update grandpa equivocation reporting api
      
      * Bump
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      37793976
    • Gavin Wood's avatar
      Define BurnDestination, Kusama Treasury burns to Society (#6671) (#1421) · 28c26d69
      Gavin Wood authored
      * Define BurnDestination, Kusama Treasury burns to Society.
      
      * Fixes
      
      * Remove the council elections enabling.
      
      * Bump
      
      * whitespace
      28c26d69
    • ordian's avatar
      inclusion: split CandidatePendingAvailability according to the guide (#1413) · d390eb51
      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: default avatarRobert Habermeier <[email protected]>
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      d390eb51
  16. Jul 16, 2020
  17. Jul 14, 2020
  18. Jul 13, 2020
  19. Jul 11, 2020
  20. Jul 10, 2020
    • asynchronous rob's avatar
      Refactor primitives (#1383) · 96af6ead
      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
      96af6ead
  21. Jul 09, 2020
  22. Jul 08, 2020
  23. Jul 07, 2020