1. Dec 10, 2020
    • Peter Goodspeed-Niklaus's avatar
      the `inclusion` inherent call is Operational, not Mandatory · e58858d1
      Peter Goodspeed-Niklaus authored
      This resolves a lot of the trickiness about this issue, because
      we no longer need to override or supplant any existing proposer
      logic; the existing logic should exhibit these behaviors:
      
      - the `inclusion` inherent is prioritized over standard transactions
      - but if it's too heavy, i.e. in case of runtime upgrade, it'll be
        dropped in favor of that.
      
      It is my belief that allowing the proposer to just not include
      this data won't have any adverse effects: it's equivalent to replacing
      them with empty versions of themselves, which the `ProvideInherent`
      impl already does.
      e58858d1
  2. Dec 08, 2020
  3. Dec 07, 2020
  4. Dec 02, 2020
  5. Dec 01, 2020
  6. Nov 30, 2020
  7. Nov 28, 2020
  8. Nov 27, 2020
  9. Nov 26, 2020
    • Martin Pugh's avatar
      Fix check_runtime.sh (#2020) · 0d321866
      Martin Pugh authored
      0d321866
    • Vincent Ulitzsch's avatar
      Add a fuzzer for the erasure coding (#2021) · a37d8aa7
      Vincent Ulitzsch authored
      
      
      * Commit a fuzzer for the erase coding
      
      * Replace tabs with spaces for the erase coding fuzzer
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      a37d8aa7
    • Bastian Köcher's avatar
    • Bastian Köcher's avatar
    • ordian's avatar
      past-session validator discovery APIs (#2009) · 734eda87
      ordian authored
      
      
      * guide: fix formatting for SessionInfo module
      
      * primitives: SessionInfo type
      
      * punt on approval keys
      
      * ah, revert the type alias
      
      * session info runtime module skeleton
      
      * update the guide
      
      * runtime/configuration: sync with the guide
      
      * runtime/configuration: setters for newly added fields
      
      * runtime/configuration: set codec indexes
      
      * runtime/configuration: update test
      
      * primitives: fix SessionInfo definition
      
      * runtime/session_info: initial impl
      
      * runtime/session_info: use initializer for session handling (wip)
      
      * runtime/session_info: mock authority discovery trait
      
      * guide: update the initializer's order
      
      * runtime/session_info: tests skeleton
      
      * runtime/session_info: store n_delay_tranches in Configuration
      
      * runtime/session_info: punt on approval keys
      
      * runtime/session_info: add some basic tests
      
      * Update primitives/src/v1.rs
      
      * small fixes
      
      * remove codec index annotation on structs
      
      * fix off-by-one error
      
      * validator_discovery: accept a session index
      
      * runtime: replace validator_discovery api with session_info
      
      * Update runtime/parachains/src/session_info.rs
      
      Co-authored-by: default avatarSergei Shulepov <[email protected]>
      
      * runtime/session_info: add a comment about missing entries
      
      * runtime/session_info: define the keys
      
      * util: expose connect_to_past_session_validators
      
      * util: allow session_info requests for jobs
      
      * runtime-api: add mock test for session_info
      
      * collator-protocol: add session_index to test state
      
      * util: fix error message for runtime error
      
      * fix compilation
      
      * fix tests after merge with master
      
      Co-authored-by: default avatarSergei Shulepov <[email protected]>
      734eda87
  10. Nov 25, 2020
    • Bastian Köcher's avatar
      Some code cleanup in overseer (#2008) · 9a32ab1d
      Bastian Köcher authored
      * Some code cleanup in overseer
      
      - Switches to select! in the overseer run loop to be more fair about
      message processing between the different sources.
      - Added a check to only send `ActiveLeaves` if the update actually
      contains any data.
      
      * Move the check
      
      * Restore old behavior
      
      * Simplify message sending and signal sending to subsystems
      
      * Update node/subsystem/src/lib.rs
      9a32ab1d
    • Fedor Sakharov's avatar
      PoV Distribution optimization (#1990) · a0541ce7
      Fedor Sakharov authored
      * Initial commit
      
      * Remove unnecessary struct
      
      * Some review nits
      
      * Update node/network/pov-distribution/src/lib.rs
      
      * Update parachain/test-parachains/adder/collator/tests/integration.rs
      
      * Review nits
      
      * notify_all_we_are_awaiting
      
      * Both ways of peers connections should work the same
      
      * Add mod-level docs to error.rs
      
      * Avoid multiple connection requests at same parent
      
      * Dont bail on errors
      
      * FusedStream for ConnectionRequests
      
      * Fix build after merge
      
      * Improve error handling
      
      * Remove whitespace formatting
      a0541ce7
    • asynchronous rob's avatar
      Approval Distribution Subsystem (#1951) · 029c8a2a
      asynchronous rob authored
      
      
      * skeleton flow control
      
      * tweaks & rename to approvals distribution
      
      * Update roadmap/implementers-guide/src/node/approval/approval-distribution.md
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Update roadmap/implementers-guide/src/node/approval/approval-distribution.md
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * add a `NewBlocks` message and dispatch
      
      * new data format for approval distribution
      
      * guide: update view to include finalized block number
      
      * approvals: document view updating
      
      * pruning when peers disconnect
      
      * add remaining message types
      
      * fix link
      
      * network message type
      
      * handle incoming assignments
      
      * import_and_circulate_approval
      
      * handle new blocks
      
      * address review comments
      
      * address review comments and use nifty VRFProof
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      029c8a2a