1. Aug 19, 2020
  2. Aug 18, 2020
    • asynchronous rob's avatar
      Implement validation data refactor (#1585) · 8c881e45
      asynchronous rob authored
      
      
      * update primitives
      
      * correct parent_head field
      
      * make hrmp field pub
      
      * refactor validation data: runtime
      
      * refactor validation data: messages
      
      * add arguments to full_validation_data runtime API
      
      * port runtime API
      
      * mostly port over candidate validation
      
      * remove some parameters from ValidationParams
      
      * guide: update candidate validation
      
      * update candidate outputs
      
      * update ValidationOutputs in primitives
      
      * port over candidate validation
      
      * add a new test for no-transient behavior
      
      * update util runtime API wrappers
      
      * candidate backing
      
      * fix missing imports
      
      * change some fields of validation data around
      
      * runtime API impl
      
      * update candidate validation
      
      * fix backing tests
      
      * grumbles from review
      
      * fix av-store tests
      
      * fix some more crates
      
      * fix provisioner tests
      
      * fix availability distribution tests
      
      * port collation-generation to new validation data
      
      * fix overseer tests
      
      * Update roadmap/implementers-guide/src/node/utility/candidate-validation.md
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      8c881e45
    • Shawn Tabrizi's avatar
      Companion for Substrate 6868 (WeightInfo for System, Utility, and Timestamp) (#1606) · 62b9d4a5
      Shawn Tabrizi authored
      * fix compile warning
      
      * remove tests for weights
      
      * add custom weights
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      62b9d4a5
  3. Aug 17, 2020
  4. Aug 13, 2020
    • asynchronous rob's avatar
      Remove v0 parachains runtime (#1501) · ae5990c7
      asynchronous rob authored
      * remove v0 parachains modules and switch to v1 primitives
      
      * get tests compiling for runtime-common
      
      * remove registrar module
      
      * Add a dummy module
      
      * remove runtime-parachains
      
      * mostly remove old parachains code from polkadot-runtime
      
      * remove slots::Trait implementation
      
      * remove sp_std prelude import
      
      * add a ZeroSizedTypeDifferentiator to dummy
      
      * finish porting over polkadot runtime
      
      * ZeroSizedTypeDifferentiator was actually unnecessary
      
      * westend
      
      * kusama
      
      * test-runtime (no dummy modules)
      
      * fix warning
      
      * fix chain-specs
      
      * fix test-service
      
      * test-client
      
      * remove dead import
      
      * remove unused needed_extrinsics parameter
      
      * runtimes compile
      
      * remove rococo-v0
      
      * remove remaining references to Rococo
      
      * bump versions
      ae5990c7
  5. Aug 05, 2020
  6. Aug 04, 2020
    • thiolliere's avatar
      Companion PR: add weightinfo for democracy (#1522) · 4817654f
      thiolliere authored
      
      
      * add weight for democracy
      
      * update companion
      
      * update companion
      
      * remove democracy weight tests
      
      * fix import
      
      * fix name
      
      * fix merge
      
      * cargo update -p sp-io
      
      * fix compile
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      4817654f
    • Shawn Tabrizi's avatar
      Unalias Substrate Imports (#1530) · 19b88fff
      Shawn Tabrizi authored
      
      
      * cargo.toml updates
      
      * session and system
      
      * more
      
      * more
      
      * more
      
      * more
      
      * more
      
      * fix
      
      * compiles
      
      * fix tests
      
      * fix more tests
      
      * fix mock
      
      * fix deleted space
      
      * Update validation/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update Cargo.lock
      
      * update rococo
      
      * remove unused warning
      
      * update add benchmarks
      
      * rename weight file
      
      * forgot a file
      
      * Update chain_spec.rs
      
      * Revert "remove unused warning"
      
      This reverts commit 4227cd0d
      
      .
      
      * fix merge
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      19b88fff
    • Bastian Köcher's avatar
      Rewrite client handling (#1531) · f5c84254
      Bastian Köcher authored
      
      
      * Rewrite client handling
      
      We are supporting muliple polkadot-like chains and all have different
      client types. This pr reworks the client handling by having all of them
      in one enum combined. Besides that, there is added a special trait
      `ExecuteWithClient` to use the internal client.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Up the versions
      
      * Fix Cargo.lock
      
      * Fix merge conflict
      
      * ......................
      
      * ....v2
      
      * yep
      
      * I'm dumb...
      
      * Browser lol
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      f5c84254
    • Bastian Köcher's avatar
      Add Rococo test network (#1363) · 5fd6440a
      Bastian Köcher authored
      * Add Rococo test network
      
      * Correct license header
      
      * Add bootNodes address
      
      * Fix compile errors
      
      * Change bootNodes
      
      * Change rococo bootNodes
      
      * Add new bootNodes
      
      * Fix bootNodes typo
      
      * Remove public telemetry
      
      * Add rococo-local chain spec
      
      * Remove staking
      
      * Remove staking from chain spec
      
      * use rococo-staging chain spec and preserve bootnodes
      
      * Same but with --raw
      
      * update chain name and remove telemetry
      
      * Empty commit to re-trigger CI
      
      * Fix revision (temp. until I merge master)
      
      * Revert to branch = master to avoid conflicts
      
      * Revert to branch = master to avoid conflicts
      
      * Disable test (temp)
      
      * Revert to branch = master to avoid conflicts
      
      * Revert to branch = master to avoid conflicts
      
      * Change bootNodes IPs for second rococo network
      
      * Revert "Disable test (temp)"
      
      This reverts commit a159f12e
      
      .
      
      * Revert purchase
      
      * Update chain spec
      
      * FUUU
      
      * Update service/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Update runtime/rococo/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Fix compilation
      
      Co-authored-by: default avatarEvaldo <[email protected]>
      Co-authored-by: default avatarDavid Dorgan <[email protected]>
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      5fd6440a
  7. Aug 03, 2020
  8. Aug 02, 2020
  9. 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
  10. Jul 30, 2020
  11. Jul 29, 2020
  12. Jul 28, 2020
  13. Jul 27, 2020
  14. Jul 26, 2020
  15. Jul 24, 2020
  16. 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
  17. Jul 22, 2020
  18. Jul 21, 2020
  19. Jul 20, 2020
  20. 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
  21. 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