1. 17 Jun, 2021 7 commits
  2. 16 Jun, 2021 8 commits
    • Shawn Tabrizi's avatar
      fix xcm pallet origin (#3272) · d0ae2a52
      Shawn Tabrizi authored
      d0ae2a52
    • asynchronous rob's avatar
      extract determine_new_blocks into a separate utility (#3261) · c3da55c8
      asynchronous rob authored
      * extract determine_new_blocks into a separate utility
      
      * rework docs
      c3da55c8
    • Lldenaurois's avatar
      Approval checking unit tests (#3252) · dd2e858b
      Lldenaurois authored
      * node/approval_checking: break out filled_tranch_iterator method
      
      In the subsequent commit, we will begin to test this method in
      isolation.
      
      * node/approval-voting: fix tranche back-filling algorithm
      
      Previously, this algorithm would generate duplicate, empty entries for
      tranches (1..pre_end). This is caused because the initial value (0) for
      gap_end is treated as the end of a prior tranche that wasn't actually
      processed. The first pass thus would add (1..tranche) empty entries, in
      addition to the (0..pre_end) empty entries chained at the end of the
      method.
      
      This is fixed by using the current tranche as the gap_start for the
      first iteration, ensuring that the approval_entries_filled only produces
      entries in the range (pre_end..post_start).
      
      * Address feedback
      dd2e858b
    • André Silva's avatar
      bridges: update finality-grandpa to 0.14.1 (#3266) · af35ec62
      André Silva authored
      * bridges: update finality-grandpa
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      af35ec62
    • Bernhard Schuster's avatar
      malus - mockable overseer mvp (#3224) · 395324a5
      Bernhard Schuster authored
      395324a5
    • Shawn Tabrizi's avatar
      use safe math (#3249) · 5161ae5b
      Shawn Tabrizi authored
      5161ae5b
    • Shawn Tabrizi's avatar
      Companion for #8920 (Control Staking) (#3260) · 40d1612b
      Shawn Tabrizi authored
      * update weight apis
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      40d1612b
    • Keith Yeung's avatar
      Companion for #8949 (#3216) · acd72ad0
      Keith Yeung authored
      * Remove Call part imports of the offences and authority discovery pallets
      
      * Remove non-existent Call enum variants
      
      * Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
      
      * Remove unused imports
      
      * Remove Call part import for randomness collective flip pallet
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      acd72ad0
  3. 15 Jun, 2021 2 commits
  4. 14 Jun, 2021 8 commits
  5. 13 Jun, 2021 4 commits
    • Andronik Ordian's avatar
      approval votes checking logs (#3233) · dd26f19e
      Andronik Ordian authored
      * approval-voting: logs for invalid votes
      
      * proper errors for assignment checks
      
      * proper errors for approval checks
      dd26f19e
    • asynchronous rob's avatar
      6d2d80d9
    • asynchronous rob's avatar
      ef0fdf42
    • asynchronous rob's avatar
      Dispute Coordinator Subsystem (#3150) · 19c1d29d
      asynchronous rob authored
      
      
      * skeleton for dispute-coordinator
      
      * add coordinator and participation message types
      
      * begin dispute-coordinator DB
      
      * functions for loading
      
      * implement strongly-typed DB transaction
      
      * add some tests for DB transaction
      
      * core logic for pruning
      
      * guide: update candidate-votes key for coordinator
      
      * update candidate-votes key
      
      * use big-endian encoding for session, and implement upper bound generator
      
      * finish implementing pruning
      
      * add a test for note_current_session
      
      * define state of the subsystem itself
      
      * barebones subsystem definition
      
      * control flow
      
      * more control flow
      
      * implement session-updating logic
      
      * trace
      
      * control flow for message handling
      
      * Update node/core/dispute-coordinator/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update node/subsystem/src/messages.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * some more control flow
      
      * guide: remove overlay
      
      * more control flow
      
      * implement some DB getters
      
      * make progress on importing statements
      
      * add SignedDisputeStatement struct
      
      * move ApprovalVote to shared primitives
      
      * add a signing-payload API to explicit dispute statements
      
      * add signing-payload to CompactStatement
      
      * add relay-parent hash to seconded/valid dispute variatns
      
      * correct import
      
      * type-safe wrapper around dispute statements
      
      * use checked dispute statement in message type
      
      * extract rolling session window cache to subsystem-util
      
      * extract session window tests
      
      * approval-voting: use rolling session info cache
      
      * reduce dispute window to match runtime in practice
      
      * add byzantine_threshold and supermajority_threshold utilities to primitives
      
      * integrate rolling session window
      
      * Add PartialOrd to CandidateHash
      
      * add Ord to CandidateHash
      
      * implement active dispute update
      
      * add dispute messages to AllMessages
      
      * add dispute stubs to overseer
      
      * inform dispute participation to participate
      
      * implement issue_local_statement
      
      * implement `determine_undisputed_chain`
      
      * fix warnings
      
      * test harness for dispute coordinator tests
      
      * add more helpers to test harness
      
      * add some more helpers
      
      * some tests for dispute coordinator
      
      * ignore wrong validator indices
      
      * test finality voting rule constraint
      
      * add more tests
      
      * add variants to network bridge
      
      * fix test compilation
      
      * remove most dispute coordinator functionality
      
      as of #3222 we can do most of the work within the approval voting subsystem
      
      * Revert "remove most dispute coordinator functionality"
      
      This reverts commit 9cd615e8
      
      .
      
      * Use thiserror
      
      Co-authored-by: default avatarBernhard Schuster <bernhard@ahoi.io>
      
      * Update node/core/dispute-coordinator/src/lib.rs
      
      Co-authored-by: default avatarBernhard Schuster <bernhard@ahoi.io>
      
      * extract tests to separate module
      
      * address nit
      
      * adjust run_iteration API
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      Co-authored-by: default avatarBernhard Schuster <bernhard@ahoi.io>
      19c1d29d
  6. 12 Jun, 2021 7 commits
  7. 11 Jun, 2021 4 commits