Skip to content
  1. 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
  2. Sep 20, 2021
  3. 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
  4. 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
  5. Aug 23, 2021
  6. Aug 18, 2021
  7. 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
  8. Aug 09, 2021
  9. Aug 04, 2021
  10. Aug 02, 2021
  11. 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
  12. 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
  13. Jul 08, 2021
  14. Jun 28, 2021
  15. 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
  16. Jun 20, 2021
  17. Jun 19, 2021
  18. Jun 16, 2021
  19. Jun 11, 2021
  20. 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
  21. Jun 04, 2021
  22. May 27, 2021
  23. May 26, 2021
  24. May 12, 2021
  25. May 10, 2021
  26. May 03, 2021
  27. May 01, 2021
  28. Apr 27, 2021
    • Robert Klotzner's avatar
      Send statements to own backing group first (#2927) · c86a774b
      Robert Klotzner authored
      * Factor out runtime module into utils.
      
      * First fatal error design.
      
      * Better error handling infra.
      
      * Error handling cleanup.
      
      * Send to peers of our group first.
      
      * Finish backing group prioritization.
      
      * Little cleanup.
      
      * More cleanup.
      
      * Forgot to checkin error.rs.
      
      * Notes.
      
      * Runtime -> RuntimeInfo
      
      * qed in debug assert.
      
      * PolkaErr -> Fault.
      c86a774b
  29. Apr 22, 2021
    • André Silva's avatar
      Introduce Wococo testnet (#2918) · ae558997
      André Silva authored
      
      
      * runtime: remove mmr and beefy from westend runtime
      
      * runtime: westend: remove pallet_beefy config
      
      * node: only start beefy gadget on rococo
      
      * node: remove beefy keys from westend chain spec
      
      * node: add wococo testnet chain spec
      
      * node: add comments about beefy gadget task
      
      * runtime: update wococo chainspec
      
      * Remove stale comment
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avataradoerr <[email protected]>
      ae558997
  30. Apr 21, 2021
    • André Silva's avatar
      runtime: remove mmr and beefy from westend runtime (#2916) · c25e79d8
      André Silva authored
      * runtime: remove mmr and beefy from westend runtime
      
      * runtime: westend: remove pallet_beefy config
      
      * node: only start beefy gadget on rococo
      
      * node: remove beefy keys from westend chain spec
      c25e79d8
    • Kian Paimani's avatar
      Fix bench bot (#2900) · 47889d84
      Kian Paimani authored
      
      
      * Fix bench bot
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * Fix weights files
      
      * Fix'
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      47889d84
  31. Apr 20, 2021
  32. Apr 09, 2021