Skip to content
  1. Nov 18, 2021
  2. Nov 12, 2021
  3. Nov 11, 2021
  4. Nov 03, 2021
  5. Oct 30, 2021
    • Squirrel's avatar
      companion PR to removal of light client (#4105) · 5a760f13
      Squirrel authored
      
      
      * not needed
      
      * cargo fmt
      
      * remove light-node
      
      * make full-node feature mandatory?
      
      * cargo fmt
      
      * Revert "cargo fmt"
      
      This reverts commit 5a2c7d850047466ed902faf673b779a2e02dfed2.
      
      * Revert "make full-node feature mandatory?"
      
      This reverts commit c35eb4fa399e43d29a10c83187cc39b9c74f1feb.
      
      * bump versionn numbers
      
      * Update bridges/primitives/chain-westend/src/lib.rs
      
      * fix typo + expand dictionary
      
      * update lockfile for substrate
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: parity-processbot <>
      5a760f13
  6. Oct 15, 2021
  7. Oct 07, 2021
  8. Sep 29, 2021
    • Bernhard Schuster's avatar
      remove `AllSubsystems` and `AllSubsystemsGen` types (#3874) · c57a1e79
      Bernhard Schuster authored
      
      
      * introduce the OverseerConnector, use it
      
      * introduce is_relay_chain to RelayChainSelection
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
      
      * positive assertion is not mandated, only the negative one, to avoid a stall
      
      * cleanup: overseer residue
      
      * spellcheck
      
      * fixin
      
      * groundwork to obsolete Overseer::new and AllSubsystemsGen proc-macro
      
      * Now all malus & tests can be ported to the builder pattern.
      
      Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`.
      
      * spellcheck
      
      * adjust tests, minor fixes
      
      * remove derive macro AllSubsystemsGen
      
      * add forgotten file dummy.rs
      
      * remove residue
      
      * good news everyone!
      
      * spellcheck
      
      * address review comments
      
      * fixup imports
      
      * make it conditional
      
      * fixup docs
      
      * reduce import
      
      * chore: fmt
      
      * chore: fmt
      
      * chore: spellcheck / nlprules
      
      * fixup malus variant-a
      
      * fmt
      
      * fix
      
      * fixins
      
      * pfmt
      
      * fixins
      
      * chore: fmt
      
      * remove expanded overseer generation
      
      * tracing version
      
      * Update node/network/statement-distribution/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * use future::ready instead
      
      * silence warning
      
      * chore: fmt
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      c57a1e79
  9. Sep 28, 2021
    • Bernhard Schuster's avatar
      remove connected disconnected state, 3rd attempt (#3898) · c9662531
      Bernhard Schuster authored
      
      
      * overseer: remove mut in connector
      
      * rename SelectRelayChainWFallback -> SelectRelayChain
      
      * split Basics
      
      * introduce the OverseerConnector, use it
      
      * introduce is_relay_chain to RelayChainSelection
      
      * chore: rename var
      
      * avoid dummy import in subsystem
      
      * actually remove Disconnecte/Connected enum
      
      * extract DummySubsystem into mod dummy.
      
      * Handle::Connected -> Handle::new
      
      * chore: fmt
      
      * fix test
      
      * select relay chain takes no arg, simplification
      
      * fmt
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * chore: improve malus tests
      
      * avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
      
      * positive assertion is not mandated, only the negative one, to avoid a stall
      
      * chore: fmt
      
      * assure the `RelayChainSelection` is not used before the overseer is up and running
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      c9662531
  10. Sep 20, 2021
  11. Sep 17, 2021
    • Zeke Mostov's avatar
      Run fmt (#3887) · aca0b242
      Zeke Mostov authored
      aca0b242
    • Bernhard Schuster's avatar
      remove connected disconnected state only (#3868) · 5f637c51
      Bernhard Schuster authored
      * remove connected disconnected state from overseer
      
      * foo
      
      * split new partial
      
      * fix
      
      * refactor init code to not require a `OverseerHandle` when we don't have an overseer
      
      * intermediate
      
      * fixins
      
      * X
      
      * fixup
      
      * foo
      
      * fixup
      
      * docs
      
      * conditional
      
      * Update node/service/src/lib.rs
      
      * review by ladi
      5f637c51
  12. Sep 13, 2021
    • ordian's avatar
      make polkadot-runtime optional feature (#3820) · 33d7f9dd
      ordian authored
      * make polkadot-runtime optional feature
      
      * sprinkle some cfg statements
      
      * ok
      
      * ok, ok
      
      * add CI check
      
      * set -e
      
      * chmod +x
      
      * fixes
      
      * fmt
      
      * nicer compile errors
      
      * Update outdated comments
      33d7f9dd
  13. Aug 23, 2021
  14. Aug 18, 2021
  15. Aug 12, 2021
    • Robert Klotzner's avatar
      Remove request multiplexer (#3624) · 55154a8d
      Robert Klotzner authored
      * WIP: Get rid of request multiplexer.
      
      * WIP
      
      * Receiver for handling of incoming requests.
      
      * Get rid of useless `Fault` abstraction.
      
      The things the type system let us do are not worth getting abstracted in
      its own type. Instead error handling is going to be merely a pattern.
      
      * Make most things compile again.
      
      * Port availability distribution away from request multiplexer.
      
      * Formatting.
      
      * Port dispute distribution over.
      
      * Fixup statement distribution.
      
      * Handle request directly in collator protocol.
      
      + Only allow fatal errors at top level.
      
      * Use direct request channel for availability recovery.
      
      * Finally get rid of request multiplexer
      
      Fixes #2842 and paves the way for more back pressure possibilities.
      
      * Fix overseer and statement distribution tests.
      
      * Fix collator protocol and network bridge tests.
      
      * Fix tests in availability recovery.
      
      * Fix availability distribution tests.
      
      * Fix dispute distribution tests.
      
      * Add missing dependency
      
      * Typos.
      
      * Review remarks.
      
      * More remarks.
      55154a8d
  16. Aug 09, 2021
  17. Aug 04, 2021
  18. Aug 02, 2021
  19. Jul 30, 2021
    • Squirrel's avatar
      Companion for substrate #9319 (#3456) · 4c5b7309
      Squirrel authored
      * move client consensus code out of primitives
      
      * merging crates
      
      * import tweak
      
      * Fixing build: ServiceFactory is a word...
      
      * updating lock file
      
      * Fixed typo in error message
      
      (to bump build)
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      4c5b7309
  20. Jul 26, 2021
    • Bernhard Schuster's avatar
      integrate dispute finality (#3484) · 6519ba98
      Bernhard Schuster authored
      
      
      * finality_target adjustments
      
      * fn finality_target
      
      * partially address review comments
      
      * fixins
      
      * more rustic if condition
      
      * fix tests
      
      * fixins
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * review comments part one
      
      * rename candidates -> block_descriptions
      
      * testing outline (incomplete, WIP)
      
      * test foo
      
      * split RelayChainSelection into RelayChainSelection{,WithFallback}, introduce HeaderProvider{,Provider}
      
      * make some stuff public (revert this soon™)
      
      * some test improvements
      
      * slips of pens
      
      * test fixins
      
      * add another trait abstraction
      
      * pending edge case tests + warnings fixes
      
      * more test cases
      
      * fin
      
      * chore fmt
      
      * fix cargo.lock
      
      * Undo obsolete changes
      
      * // comments
      
      * make mod pub(crate)
      
      * fix
      
      * minimize static bounds
      
      * resolve number() as before
      
      * fmt
      
      * post merge fix
      
      * address some nits
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      6519ba98
    • ordian's avatar
      enable disputes (#3478) · bd9b7438
      ordian authored
      
      
      * initial integration and migration code
      
      * fix tests
      
      * fix counting test
      
      * assume the current version on missing file
      
      * use SelectRelayChain
      
      * remove duplicate metric
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * remove ApprovalCheckingVotingRule
      
      * address my concern
      
      * never mode for StagnantCheckInterval
      
      * REVERTME: some logs
      
      * w00t
      
      * it's ugly but it works
      
      * Revert "REVERTME: some logs"
      
      This reverts commit e210505a2e83e31c381394924500b69277bb042e.
      
      * it's handle, not handler
      
      * fix a few typos
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      bd9b7438
  21. Jul 08, 2021
  22. Jun 28, 2021
  23. Jun 22, 2021
    • asynchronous rob's avatar
      SelectChain implementation for relay chains (#3341) · b57b9cf7
      asynchronous rob authored
      * stubbed SelectRelayChain
      
      * disconnected overseer handlers
      
      * add is_disconnected
      
      * add fallback in case overseer is disconnected
      
      * fall back on fallback
      
      * fetch leaves by calling into chain-selection subsystem
      
      * implement best_chain
      
      * mostly implement finality_target
      
      * chain constrain
      
      * metrics and maximum safeguard
      
      * remove review comment after review
      b57b9cf7
  24. Jun 20, 2021
  25. Jun 19, 2021
  26. Jun 16, 2021
  27. Jun 11, 2021
  28. Jun 08, 2021
    • Bastian Köcher's avatar
      polkadot-service: Make native runtime configurable (#3189) · f6cbe8e8
      Bastian Köcher authored
      * polkadot-service: Make native runtime configurable
      
      This pull requests adds support for configuring the native runtimes used
      by polkadot-service. While this whole pr doesn't change that much for
      polkadot, besides not having the light-node enabled for the default
      polkadot binary. However, downstream projects (parachains) will have a
      much better compile time. In cumulus for example the `cargo test --all
      --release` is about 4m faster to compile.
      
      * Fixes
      
      * Fix
      
      * Enable rococo-native
      
      * Fix light client
      
      * 🤦
      
      * Fixes
      f6cbe8e8
    • Lldenaurois's avatar
      Remove candidate selection (#3148) · 2abaca3a
      Lldenaurois authored
      * Create validator_side module
      
      * Subsume Candidate Selection
      
      * Add test to ensure candidate backing logic is correct
      
      * Ensure secondings are adequately cleaned up and address test flakyness
      
      * Address Feedback
      2abaca3a
  29. Jun 04, 2021
  30. May 27, 2021
  31. May 26, 2021
  32. May 12, 2021
  33. May 10, 2021
  34. May 03, 2021