Skip to content
  1. Apr 03, 2020
    • Bastian Köcher's avatar
      Ensure that table router is always built (#952) · c021f854
      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
      c021f854
  2. Apr 01, 2020
    • Bastian Köcher's avatar
      Rework consensus instance communication with the network worker (#958) · 1e6f3707
      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.
      1e6f3707
    • Gavin Wood's avatar
      Companion for #5412 (#942) · d8e11800
      Gavin Wood authored
      * Fixes for democracy using Scheduler
      
      * Revert branch change
      d8e11800
  3. Mar 30, 2020
  4. Mar 25, 2020
  5. Mar 23, 2020
  6. Mar 22, 2020
    • Fedor Sakharov's avatar
      Parachains double vote handler initial implementation. (#840) · 88ba0244
      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: default avatarRobert Habermeier <[email protected]>
      
      * Prune ParentToSessionIndex
      
      * Remove a clone and a warning
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      88ba0244
  7. Mar 21, 2020
  8. Mar 19, 2020
  9. Mar 17, 2020
  10. Mar 16, 2020
  11. Mar 14, 2020
  12. Mar 13, 2020
    • Gavin Wood's avatar
      Prepare for version 0.7.23 (#899) · 844ca939
      Gavin Wood authored
      * Bump version
      
      * Cargo lock
      
      * Bump runtime version
      
      * Bump Substrate again to include recent fix
      844ca939
    • Shawn Tabrizi's avatar
      Benchmark Polkadot Claims Pallet (#876) · 70a5bda2
      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: default avatarthiolliere <[email protected]>
      70a5bda2
  13. Mar 07, 2020
  14. Mar 06, 2020
  15. Feb 25, 2020
    • asynchronous rob's avatar
      A more comprehensive model for PoV-Blocks and Candidate receipts (#843) · b7d30aa3
      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
      b7d30aa3
  16. Feb 19, 2020
  17. Feb 13, 2020
    • Ashley's avatar
      Strip out old XCMP primitives (#823) · 5f9e602a
      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
      5f9e602a
  18. Feb 10, 2020
    • Bastian Köcher's avatar
      Be specific about the `BitVec` generic arguments (#830) · eefbaffe
      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`
      eefbaffe
    • asynchronous rob's avatar
      Include parent head in `CandidateReceipt` (#826) · 1c2aff5b
      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
      1c2aff5b
  19. Feb 03, 2020
  20. Jan 31, 2020
  21. Jan 18, 2020
  22. Jan 17, 2020
    • André Silva's avatar
      v0.17.18: Update latest substrate (#776) · 2b081f9e
      André Silva authored
      * update latest substrate polkadot-master
      
      * fix test compilation
      
      * bump version to 0.7.18
      
      * bump impl_version
      
      * update substrate
      
      * Revert "Instantiate environment with asynchronous API (#768)"
      
      This reverts commit a5d9645b.
      
      * update substrate
      
      * remove unused parameter type
      
      * bump trie-db version for tests
      
      * fix collator test
      
      * update substrate
      
      * remove unnecessary service changes
      2b081f9e
  23. Jan 09, 2020
    • Gavin Wood's avatar
      Bump Substrate & versions (#747) · ddce5fe4
      Gavin Wood authored
      * Bump versions
      
      * Update for tipping treasury
      
      * Bump substrate
      
      * Fixes
      
      * Put send_consensus back in.
      
      * Fix test
      
      * Fixes
      
      * Fixes
      
      * Fix warning
      ddce5fe4
    • Gavin Wood's avatar
      v0.7.16 (#744) · d9b8ba77
      Gavin Wood authored
      * Bump Substrate and versions
      
      * Bump Substrate
      d9b8ba77
  24. Jan 08, 2020
  25. Jan 07, 2020
  26. Jan 06, 2020
  27. Jan 05, 2020
  28. Jan 03, 2020
  29. Dec 24, 2019
  30. Dec 18, 2019