1. Apr 24, 2024
  2. Feb 22, 2024
  3. Jan 29, 2024
    • s0me0ne-unkn0wn's avatar
      Do not run unneeded subsystems on collator and its alongside node (#3061) · 3e8139e7
      s0me0ne-unkn0wn authored
      Currently, collators and their alongside nodes spin up a full-scale
      overseer running a bunch of subsystems that are not needed if the node
      is not a validator. That was considered to be harmless; however, we've
      got problems with unused subsystems getting stalled for a reason not
      currently known, resulting in the overseer exiting and bringing down the
      whole node.
      
      This PR aims to only run needed subsystems on such nodes, replacing the
      rest with `DummySubsystem`.
      
      It also enables collator-optimized availability recovery subsystem
      implementation.
      
      Partially solves #1730.
      3e8139e7
  4. Dec 05, 2023
  5. Nov 28, 2023
  6. Aug 30, 2023
  7. Aug 15, 2023
  8. Aug 14, 2023
  9. Aug 11, 2023
  10. Aug 01, 2023
    • Marcin S.'s avatar
      Companion for Polkadot#7337 (#2929) · 082d9e1d
      Marcin S. authored
      * Companion for Polkadot#7337
      
      Companion for paritytech/polkadot#7337
      
      * Remove unnecessary items relating to PVF workers
      
      * Remove `dont_use_external_workers` parameter
      
      * Update Cargo.lock
      
      * update lockfile for {"polkadot", "substrate"}
      
      * Update Cargo.lock
      
      * update lockfile for {"polkadot", "substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      082d9e1d
  11. Jul 11, 2023
  12. Jul 06, 2023
  13. Jul 04, 2023
  14. May 06, 2023
  15. Mar 07, 2023
  16. Mar 06, 2023
  17. Feb 21, 2023
    • Michal Kucharczyk's avatar
      `BlockId` removal: refactor of runtime API (#2190) · 21e5a982
      Michal Kucharczyk authored
      * BlockId removal: refactor of runtime API
      
      It changes the first argument of all generated runtime API calls from: `BlockId<Block>` to: `Block::Hash`
      
      * fmt
      
      * cargo update -p polkadot-primitives
      
      * Revert "cargo update -p polkadot-primitives"
      
      This reverts commit 58506ecd31e1e5e42b78c2db3982acbc4d8edc70.
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      21e5a982
  18. Feb 14, 2023
  19. Jan 11, 2023
  20. Dec 21, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: HeaderBackend::status (#2007) · 525b0cc0
      Michal Kucharczyk authored
      * BlockId removal: refactor: HeaderBackend::status
      
      It changes the arguments of `HeaderBackend::status` method from: `BlockId<Block>` to: `Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      525b0cc0
  21. Nov 07, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: &Hash to Hash (#1818) · eb4aabf8
      Michal Kucharczyk authored
      * BlockId removal: &Hash to Hash
      
      It changes &Block::Hash argument to Block::Hash.
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      eb4aabf8
  22. Oct 14, 2022
  23. Oct 10, 2022
    • Sebastian Kunert's avatar
      Enable collation via RPC relay chain node (#1585) · cdcf5ddd
      Sebastian Kunert authored
      * Add minimal overseer gen with dummy subsystems
      
      * Fix dependencies
      
      * no-compile: only client transaction pool missing
      
      * Remove unused imports
      
      * Continue to hack towards PoC
      
      * Continue
      
      * Make mini node compile
      
      * Compiling version with blockchainevents trait
      
      * Continue
      
      * Check in lockfile
      
      * Block with tokio
      
      * update patches
      
      * Update polkadot patches
      
      * Use polkadot-primitives v2
      
      * Fix build problems
      
      * First working version
      
      * Adjust cargo.lock
      
      * Add integration test
      
      * Make integration test work
      
      * Allow startinc collator without relay-chain args
      
      * Make OverseerRuntimeClient async
      
      * Create separate integration test
      
      * Remove unused ChainSelection code
      
      * Remove unused parameters on new-mini
      
      * Connect collator node in test to relay chain nodes
      
      * Make BlockChainRPCClient obsolete
      
      * Clean up
      
      * Clean up
      
      * Reimplement blockchain-rpc-events
      
      * Revert "Allow startinc collator without relay-chain args"
      
      This reverts commit f22c70e16521f375fe125df5616d48ceea926b1a.
      
      * Add `strict_record_validation` to AuthorityDiscovery
      
      * Move network to cumulus
      
      * Remove BlockchainRPCEvents
      
      * Remove `BlockIdTo` and `BlockchainEvents`
      
      * Make AuthorityDiscovery async
      
      * Use hash in OverseerRuntime
      
      * Adjust naming of runtime client trait
      
      * Implement more rpc-client methods
      
      * Improve error handling for `ApiError`
      
      * Extract authority-discovery creationand cleanup
      
      * RPC -> Rpc
      
      * Extract bitswap
      
      * Adjust to changes on master
      
      * Implement `hash` method
      
      * Introduce DummyChainSync, remove ProofProvider and BlockBackend
      
      * Remove `HeaderMetadata` from blockchain-rpc-client
      
      * Make ChainSync work
      
      * Implement NetworkHeaderBackend
      
      * Cleanup
      
      * Adjustments after master merge
      
      * Remove ImportQueue from network parameters
      
      * Remove cargo patches
      
      * Eliminate warnings
      
      * Revert to HeaderBackend
      
      * Add zombienet test
      
      * Implement `status()` method
      
      * Add more comments, improve readability
      
      * Remove patches from Cargo.toml
      
      * Remove integration test in favor of zombienet
      
      * Remove unused dependencies, rename minimal node crate
      
      * Adjust to latest master changes
      
      * fmt
      
      * Execute zombienet test on gitlab ci
      
      * Reuse network metrics
      
      * Chainsync metrics
      
      * fmt
      
      * Feed RPC node as boot node to the relay chain minimal node
      
      * fmt
      
      * Add bootnodes to zombienet collators
      
      * Allow specification of relay chain args
      
      * Apply review suggestions
      
      * Remove unnecessary casts
      
      * Enable PoV recovery for rpc full nodes
      
      * Revert unwanted changes
      
      * Make overseerHandle non-optional
      
      * Add availability-store subsystem
      
      * Add AuxStore and ChainApiSubsystem
      
      * Add availability distribution subsystem
      
      * Improve pov-recovery logging and add RPC nodes to tests
      
      * fmt
      
      * Make availability config const
      
      * lock
      
      * Enable debug logs for pov-recovery in zombienet
      
      * Add log filters to test binary
      
      * Allow wss
      
      * Address review comments
      
      * Apply reviewer comments
      
      * Adjust to master changes
      
      * Apply reviewer suggestions
      
      * Bump polkadot
      
      * Add builder method for minimal node
      
      * Bump substrate and polkadot
      
      * Clean up overseer building
      
      * Add bootnode to two in pov_recovery test
      
      * Fix missing quote in pov recovery zombienet test
      
      * Improve zombienet pov test
      
      * More debug logs for pov-recovery
      
      * Remove reserved nodes like on original test
      
      * Revert zombienet test to master
      cdcf5ddd
  24. Aug 09, 2022
  25. Jul 23, 2022
  26. Jul 21, 2022
  27. Jun 17, 2022
  28. Jun 07, 2022
  29. May 30, 2022
  30. May 06, 2022
  31. Apr 26, 2022
    • Koute's avatar
      Companion for Substrate#11062 (#1113) · 9550172c
      Koute authored
      * Align to changes in Substrate
      
      * Align to the newest changes in substrate
      
      * Update `Cargo.lock`
      
      * Add hwbenches to `parachain-template` too
      
      * update lockfile for {"polkadot"}
      
      Co-authored-by: parity-processbot <>
      9550172c
  32. Apr 12, 2022
  33. Mar 10, 2022
  34. Mar 04, 2022
  35. Mar 01, 2022
    • Sebastian Kunert's avatar
      Introduce rpc client for relay chain full node (#963) · bc532724
      Sebastian Kunert authored
      
      
      * Initial network interface preparations
      
      * Implement get_storage_by_key
      
      * Implement `validators` and `session_index_for_child`
      
      * Implement persisted_validation_data and candidate_pending_availability
      
      * Fix method name for persisted_validation_data and add encoded params
      
      * Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
      
      * Implement `prove_read`
      
      * Introduce separate RPC client, expose JsonRpSee errors
      
      * Simplify closure in call_remote_runtime_function
      
      * Implement import stream, upgrade JsonRpSee
      
      * Implement finality stream
      
      * Remove unused method from interface
      
      * Implement `is_major_syncing`
      
      * Implement `wait_on_block`
      
      * Fix tests
      
      * Unify error handling `ApiError`
      
      * Replace WaitError with RelayChainError
      
      * Wrap BlockChainError in RelayChainError
      
      * Unify error handling in relay chain intefaces
      
      * Fix return type of proof method
      
      * Improve error handling of new methods
      
      * Improve error handling and move logging outside of interface
      
      * Clean up
      
      * Remove unwanted changes, clean up
      
      * Remove unused import
      
      * Add format for StatemachineError and remove nused From trait
      
      * Use 'thiserror' crate to simplify error handling
      
      * Expose error for overseer, further simplify error handling
      
      * Reintroduce network interface
      
      * Implement cli option
      
      * Adjust call_state method to use hashes
      
      * Disable PoV recovery when RPC is used
      
      * Add integration test for network full node
      
      * Use Hash instead of BlockId to ensure compatibility with RPC interface
      
      * Fix cargo check warnings
      
      * Implement retries
      
      * Remove `expect` statements from code
      
      * Update jsonrpsee to 0.8.0 and make collator keys optional
      
      * Make cli arguments conflicting
      
      * Remove unused `block_status` method
      
      * Add clippy fixes
      
      * Cargo fmt
      
      * Validate relay chain rpc url
      
      * Clean up dependencies and add one more integration test
      
      * Clean up
      
      * Clean up dependencies of relay-chain-network
      
      * Use hash instead of blockid for rpc methods
      
      * Fix tests
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarKoute <[email protected]>
      
      * Improve error message of cli validation
      
      * Add rpc client constructor
      
      * Do not use debug formatting for errors
      
      * Improve logging for remote runtime methods
      
      * Only retry on transport problems
      
      * Use PHash by value, rename test
      
      * Improve tracing, return error  on relay-chain-interface build
      
      * Fix naming, use generics instead of deserializing manually
      
      * Rename RelayChainLocal and RelayChainNetwork
      
      * lock
      
      * Format
      
      * Use impl trait for encodable runtime payload
      
      * Only instantiate full node in tests when we need it
      
      * Upgrade scale-codec to 3.0.0
      
      * Improve expect log
      
      Co-authored-by: default avatarKoute <[email protected]>
      bc532724
  36. Feb 07, 2022
  37. Jan 25, 2022