1. Jun 23, 2020
  2. Jun 20, 2020
    • Peter Goodspeed-Niklaus's avatar
      signed wrapper (#1283) · 4f79b770
      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: default avatarRobert Habermeier <[email protected]>
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      4f79b770
  3. Jun 19, 2020
  4. Jun 18, 2020
    • asynchronous rob's avatar
      Inclusion Module (#1242) · 9d874fa5
      asynchronous rob authored
      * add availability bitfield types to primitives
      
      * begin inclusion module
      
      * use GitHub issue link for limitation
      
      * fix some compiler errors
      
      * integrate validators into initializer
      
      * add generic signing context
      
      * make signing-context more generic
      
      * fix issues with inclusion module
      
      * add TODO
      
      * guide: add validators and session index to inclusion
      
      * guide: add session index to change notification
      
      * implement session change logic
      
      * add BackedCandidate type
      
      * guide: refine inclusion pipeline
      
      * guide: rename group_on to group_validators
      
      * guide: add check about collator for parathread
      
      * guide: add last_code_upgrade to paras and use in inclusion
      
      * implement Paras::last_code_upgrade
      
      * implement most checks in process_candidates
      
      * make candidate receipt structs more generic
      
      * make BackedCandidate struct more generic
      
      * use hash param, not block number
      
      * check that candidate is in context of the parent block
      
      * include inclusion module in initializer
      
      * implement enact-candidate
      
      * check that only occupied cores have bits set
      
      * finish implementing bitfield processing
      
      * restructure consistency checks on candidates
      
      * make some more primitives generic
      
      * signature checking logic for backed candidates
      
      * finish implementing process_candidates
      
      * implement collect_pending
      
      * add some trait implementations to primitives
      
      * implement InclusionInherent and squash warnings
      
      * test bitfield signing checks
      
      * rename parachain head to para_head
      
      * fix note_new_head bug in paras
      
      * test bitfield enactment in inclusion
      
      * helpers for candidate checks
      
      * add test for most candidate checks
      
      * add test for backing setting storage
      
      * test session change logic
      
      * remove extraneous type parameter
      
      * remove some allow(unused)s
      
      * extract threshold computation to const fn
      
      * remove some more allow(unused)s
      
      * improve doc
      
      * add debug assertion
      
      * fix primitive test compilation
      
      * tag unanimous variant as unused
      9d874fa5
  5. Jun 17, 2020
  6. Jun 16, 2020
  7. Jun 12, 2020
  8. Jun 10, 2020
    • Gavin Wood's avatar
      v0.8.7 (#1222) · 32a791ee
      Gavin Wood authored
      
      
      * Bump Substrate again.
      
      * update kusama runtmie for ensure origin
      
      * update polkadot runtime for ensure origin
      
      * fix imports
      
      * root only available for runtime benchmarks
      
      * Fix lock file
      
      * Bump Substrate
      
      * Update lock
      
      * Remove questionable feature-gating.
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      32a791ee
  9. Jun 09, 2020
  10. Jun 08, 2020
  11. Jun 04, 2020
  12. Jun 01, 2020
  13. May 28, 2020
  14. May 26, 2020
    • Gavin Wood's avatar
      Chain Candidate One: Final changes (#1155) · 57b3d36b
      Gavin Wood authored
      * Test CC1 spec
      
      * Adaptive default chainspec
      
      * Strip -pre
      
      * Update to next CC1 iteration
      
      * Raw chainspec
      57b3d36b
    • Gavin Wood's avatar
      Prepare for final genesis (#1131) · 848e1a89
      Gavin Wood authored
      
      
      * Update claim statements
      
      * Update URLs
      
      * Minor tweak to make enum agree with URL
      
      * final html multihashes
      
      * New hashes
      
      * Version
      
      * updated SAFT statement hash
      
      * Update runtimes; this relies on substrate #6131
      
      * Bump
      
      * Share transaction filterer and fix Kusama
      
      * Warning
      
      * Gah!
      
      * Tidy
      
      * Westend fixes
      
      * Westend fix
      
      * Tweak constants
      
      * Implement TCF stuff
      
      * Fix
      
      * Warning
      
      * 15 minute lookahead
      
      * 15 minute lookahead in Polkadot
      
      * update max transactions
      
      * Enable utility, disable vested_transfer
      
      * Update runtime/common/src/lib.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Filter calls for validate unsigned also
      
      * Deduplicate
      
      * Fix
      
      * Introduce Polkadot (mainnet) chainspec
      
      * Fix naming.
      
      * Enable indices and fix comment.
      
      * Fix compilation
      
      * Enable indices and fix comment.
      
      * polkadot: babe: enable secondary VRF slots
      
      * Test JSON
      
      * Allow set_heads
      
      * Fix
      
      * Raw chain spec added
      
      Co-authored-by: default avatarkeorn <[email protected]>
      Co-authored-by: default avatarNikVolf <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      848e1a89
  15. May 16, 2020
    • Gavin Wood's avatar
      Extra requirements for claimants (#1091) · d8328043
      Gavin Wood authored
      
      
      * Introduce mandatory statement signing into claims
      
      * Introduce SignedExtension
      
      * Tests passing
      
      * Bump runtime version
      
      * Bump version, fix test
      
      * Test for validate
      
      * Another couple of tests
      
      * Enable PrevalidateAttests on Polkadot
      
      * Enable PrevalidateAttests on Polkadot
      
      * Fix build
      
      * Fixes
      
      * More fixes
      
      * Fix bench tests
      
      * Fix & test Preclaim clobbering.
      
      * Fix for errant claim logic
      
      * Add test
      
      * Update tests, always use Vec as input
      
      * mint_claim can add signature, some_benchmarks
      
      * Add claim with statement test
      
      * finish benchmarks
      
      * put the correct number of claims with benchmarks
      
      * fix compiler warning
      
      * Update weights
      
      * Weight comments for validation
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      d8328043
  16. May 06, 2020
    • André Silva's avatar
      grandpa: report equivocations on all runtimes (#1000) · 872bd4fd
      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
      872bd4fd
  17. May 05, 2020
  18. Apr 29, 2020
    • Gavin Wood's avatar
      Prep v0.7.32 (#1056) · b2c024f3
      Gavin Wood authored
      * Bump Westend runtime version
      
      * Bump Substrate
      
      * Prep for release of 0.7.32
      
      * Update lock
      b2c024f3
  19. Apr 28, 2020
  20. Apr 27, 2020
  21. Apr 17, 2020
  22. Apr 16, 2020
  23. Apr 14, 2020
    • Bastian Köcher's avatar
      Release 0.7.29 (#998) · 13ec3023
      Bastian Köcher authored
      * Release 0.7.29
      
      * Update `Cargo.lock`
      v0.7.29
      13ec3023
    • ddorgan's avatar
      Westend Mark II (#983) · 20cb15d0
      ddorgan authored
      
      
      * Initial draft
      
      * More work
      
      * Build
      
      * Docs
      
      * Insert westend keys
      
      * Add badBlock to fork from old chain
      
      * Updated spec to reset westend
      
      * Use raw spec
      
      * Fix spec format and use westend2 for both id's
      
      * Correct public key for bootnode 3
      
      * Build
      
      * Extra space
      
      * Fix build
      
      * Lock
      
      * Update lock
      
      * Fixes
      
      * Fix for he startup text
      
      * Bump
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      20cb15d0
  24. Apr 13, 2020
  25. Apr 06, 2020
    • asynchronous rob's avatar
      Upgradeable validation functions (#918) · ed2c4cab
      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
      ed2c4cab
  26. Apr 03, 2020
    • Bastian Köcher's avatar
      Ensure that table router is always built (#952) · ec11d7e6
      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
      ec11d7e6
  27. Apr 01, 2020
    • Bastian Köcher's avatar
      Rework consensus instance communication with the network worker (#958) · 639dfd67
      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.
      639dfd67
    • Gavin Wood's avatar
      Companion for #5412 (#942) · d4f0a74b
      Gavin Wood authored
      * Fixes for democracy using Scheduler
      
      * Revert branch change
      d4f0a74b
  28. Mar 30, 2020
  29. Mar 25, 2020
  30. Mar 23, 2020
  31. Mar 22, 2020
    • Fedor Sakharov's avatar
      Parachains double vote handler initial implementation. (#840) · b3611713
      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]>
      b3611713
  32. Mar 21, 2020