Skip to content
  1. Dec 20, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: HeaderBackend::header (#6418) · fcc26d42
      Michal Kucharczyk authored
      * BlockId removal: refactor: HeaderBackend::header
      
      It changes the arguments of:
      - `HeaderBackend::header`,
      - `Client::header`
      
      methods from: `BlockId<Block>` to: `Block::Hash`
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * missed fixes
      
      * BlockId removal: refactor: HeaderBackend::expect_header
      
      It changes the arguments of `HeaderBackend::expect_header` method from: `BlockId<Block>` to: `Block::Hash`
      
      * update lockfile for {"substrate"}
      
      * misspell fixed
      
      Co-authored-by: parity-processbot <>
      fcc26d42
  2. Dec 16, 2022
  3. Dec 02, 2022
    • alexgparity's avatar
      Reduce provisioner work (#6328) · a7eee7dd
      alexgparity authored
      
      
      * Store values needed to create inherent data when needed instead of creating them early on
      
      * Point deps to substrate branch
      
      * Arc the client
      
      * Cargo update
      
      * Fix main cargo files
      
      * Undo cargo file changes
      
      * Add overseer dep to inherents
      
      * Update deps
      
      * Simplify code
      
      * Update benchmark
      
      * Update node/client/src/benchmarking.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/core/parachains-inherent/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/core/parachains-inherent/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Revert "Update node/core/parachains-inherent/src/lib.rs"
      
      This reverts commit 8b9555dc2451acfabab173d259e00da2728b7aa2.
      
      * Revert "Update node/core/parachains-inherent/src/lib.rs"
      
      This reverts commit 816c92d0e001e71f677d0acbcf22bdc3f511bc56.
      
      * cargo update -p sp-io
      
      * fmt
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      a7eee7dd
  4. Nov 29, 2022
  5. Nov 15, 2022
  6. Nov 08, 2022
  7. Oct 06, 2022
  8. Oct 03, 2022
  9. Sep 26, 2022
    • Aaro Altonen's avatar
      Companion for paritytech/substrate#12264 (#5973) · 2a9800f2
      Aaro Altonen authored
      
      
      * Companion for paritytech/substrate#12198
      
      * Use `ProtocolName` from sc-network-common
      
      * Update node service
      
      * Revert Cargo.lock changes
      
      * Fix node service test
      
      * cargo-fmt
      
      * disable cancel-pipeline-test-linux-stable to check companion
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: default avataralvicsam <[email protected]>
      Co-authored-by: parity-processbot <>
      2a9800f2
  10. Sep 23, 2022
  11. Sep 22, 2022
  12. Sep 13, 2022
    • Michal Kucharczyk's avatar
      Remove CanAuthorWith trait (#5986) · 85f9ad25
      Michal Kucharczyk authored
      
      
      * Remove CanAuthorWith trait
      
      CanAuthotWith trait removed. Also all dependencies, parameters, type
      paramers were removed. This is related to removal of native runtime.
      
      * update lockfile for {"substrate"}
      
      * Ensure we use unique directories after the recent change to `new_temp_dir`
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      85f9ad25
  13. Sep 08, 2022
  14. Sep 06, 2022
  15. Aug 30, 2022
  16. Aug 12, 2022
  17. Aug 09, 2022
  18. Aug 04, 2022
  19. Jul 29, 2022
  20. Jul 28, 2022
  21. Jul 22, 2022
    • ordian's avatar
      malus: add `finality_delay` cli flag (#5770) · b1f8445d
      ordian authored
      * add malus_finality_delay flag
      
      * cargo update -p sp-io
      
      * no warnings when malus is disabled
      
      * subpar workaround for feature unification problem
      
      * remove malus_finality_delay from regular cli
      
      * document finality_delay param, rename cli arg
      b1f8445d
  22. Jul 09, 2022
    • Vsevolod Stakhov's avatar
      Implement prune only stagnant check mode (#5761) · c11c1f38
      Vsevolod Stakhov authored
      
      
      * Limit number of elements loaded from the stagnant key
      
      This will likely be required if we enable stagnant prunning as currently database has way
      too many entries to be prunned in a single iteration
      
      * Fmt run
      
      * Slightly improve logging
      
      * Some more debug nits
      
      * Fmt pass
      
      * Add stagnant prunning delay
      
      * Enable stagnant check worker
      
      * Implement stagnant pruning without stagnant checks
      
      * Update node/core/chain-selection/src/tree.rs
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik <[email protected]>
      
      Co-authored-by: default avatarAndronik <[email protected]>
      c11c1f38
  23. May 31, 2022
  24. May 19, 2022
  25. May 11, 2022
    • Bernhard Schuster's avatar
      polkadot-node-subsystem package rename mish mash cleanup (#5502) · d437a33e
      Bernhard Schuster authored
      * unify to polkadot-node-subsystem{,-test-helpers}
      
      * chore: fmt
      d437a33e
    • Davide Galassi's avatar
      Revert approval voting (#5438) · 8837dc7e
      Davide Galassi authored
      * Revert approval-voting subsystem
      
      * Approval voting revert encapsulated within 'ops' module
      
      * use 'get_stored_blocks' to get lower block height
      
      * Fix error message
      
      * Optionally shrink/delete stored blocks range
      
      * range end number is last block number plus 1
      
      * Apply code review suggestions
      
      * Use tristate enum for block range in backend overlay
      
      * Add clarification comment
      
      * Add comments to private struct
      8837dc7e
  26. May 10, 2022
    • Robert Klotzner's avatar
      Double grandpa gossip duration for Kusama and test networks (#5448) · 7a602c47
      Robert Klotzner authored
      * Double grandpa gossip duration.
      
      * Make resend period slightly larger.
      
      So it won't get triggered by additional grandpa delay.
      
      * Bump other values as well.
      
      * Don't change gossip duration on Polkadot.
      
      (and Westend as it is meant to be a testbed for Polkadot)
      7a602c47
    • Niklas Adolfsson's avatar
      companion for #8783 - jsonrpsee (#4344) · 804d0f38
      Niklas Adolfsson authored
      * add jsonrpsee glue code
      
      * diener --substrate dp-jsonrpsee-integration-2
      
      * cargo fmt
      
      * update substrate
      
      * fix build
      
      * update substrate
      
      * fix tests
      
      * update substrate
      
      * update substrate
      
      * revert Cargo.toml
      
      * revert changes in Cargo.toml
      
      * jsonrpsee v0.11
      
      * fix staking miner
      
      * chore: update jsonrpsee v0.12
      
      * update companion
      
      * update companion
      
      * fix changes in substrate
      
      * revert requires_full_sync removal
      
      * fix: read WS address from polkadot output
      
      * fit nits
      
      * fix more nits
      
      * update lockfile for {"substrate"}
      
      * cargo fmt
      
      Co-authored-by: parity-processbot <>
      804d0f38
  27. May 05, 2022
  28. Apr 28, 2022
    • Davide Galassi's avatar
      Chain-selection subsystem data revert (#5350) · bbdfc3d9
      Davide Galassi authored
      
      
      * Chain-selection subsystem data revert
      
      * Cargo fmt
      
      * Better code comments
      
      * Remove unwraps
      
      * Document public method
      
      * Remove duplicated 'ChainSelectionSubsystem' impl block
      
      * Fix typos
      
      * Nitpicks
      
      * Revert returns a service Error
      
      * Removed superflous error handling
      
      * Apply suggestions from code review
      
      * Rename tree 'revert' to 'revert_to'
      
      Co-authored-by: default avatarSebastian Kunert <[email protected]>
      bbdfc3d9
  29. Apr 26, 2022
  30. Apr 13, 2022
  31. Apr 12, 2022
    • Tsvetomir Dimitrov's avatar
      Add staging runtime api (#5048) · fd020c07
      Tsvetomir Dimitrov authored
      * Move `trait ParachainHost` to a separate version independent module
      
      `trait ParachainHost` is no longer part of a specific primitives
      version. Instead there is a single trait for stable and staging api
      versions. The trait contains stable AND staging methods. The latter are
      explicitly marked as unstable.
      
      * Fix `use` primitives
      
      `polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api`
      
      * Staging API declaration and stubs
      
      Introduces the concept for 'staging functions' in runtime API. These
      functions are still in testing and they are meant to be used only
      within test networks (Westend).
      They coexist with the stable calls for technical reasons - maintaining
      different runtime APIs for different networks is hard to implement.
      
      Check the doc comments in source files for more details how the staging
      API should be used.
      
      * Add new staging method - get_session_disputes()
      
      Add `staging_get_session_disputes` to `ParachainHost` as the first
      method of the staging API.
      
      * Hide vstaging runtime api implementations  behind feature flag
      
      * Fix test runtime
      
      * fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
      fd020c07
  32. Apr 04, 2022
    • cheme's avatar
      Trie State migration rpc (#5180) · 8f784d59
      cheme authored
      * update
      
      * unsafe
      
      * switch remote
      
      * update rpc usage
      
      * update cargo.lock
      
      * lock from master
      
      * updated lock
      8f784d59
  33. Mar 23, 2022
  34. Mar 15, 2022
  35. Mar 09, 2022
    • asynchronous rob's avatar
      Finish migration to v2 primitives (#5037) · 49f7e5cc
      asynchronous rob authored
      * remove v0 primitives from polkadot-primitives
      
      * first pass: remove v0
      
      * fix fallout in erasure-coding
      
      * remove v1 primitives, consolidate to v2
      
      * the great import update
      
      * update runtime_api_impl_v1 to v2 as well
      
      * guide: add `Version` request for runtime API
      
      * add version query to runtime API
      
      * reintroduce OldV1SessionInfo in a limited way
      49f7e5cc
  36. Mar 03, 2022
    • cheme's avatar
      paritydb support for parachains db. (#4838) · d5ddb1a8
      cheme authored
      * parity db subsystem without cache and no splitted column
      
      * fmt
      
      * fix path (auto from parity-db fail)
      
      * lru cache for db column with cache
      
      * Revert "lru cache for db column with cache"
      
      This reverts commit ae177bc5e107a075eff6a21f651218ada6599b74.
      
      * Write_lock mutex
      
      * theoric code for bridges
      
      * revert changes
      
      * Revert bridge changes
      
      * fix spec_version
      
      * update parity db
      
      * test purge-db
      
      * Use specific ordered collection with paritydb.
      
      * Revert "Use specific ordered collection with paritydb."
      
      This reverts commit 8b66d0a4ae914cba1af0f44050d45dd6d9327c6b.
      
      * fix chain selection tests.
      
      * remove patch
      
      * fix auto.
      
      * Remove useless exists directory method
      
      * purge chain without parity-db removal
      
      * spellcheck
      
      * renamings and filtering.
      
      * fix assertion
      
      * format
      
      * update parity-db and fmt
      
      * Auto keep using rocksdb when it exists.
      
      * Revert "Auto keep using rocksdb when it exists."
      
      This reverts commit cea49b32ae590bdce31fed5c45f3c028ae0c7564.
      
      * Update kvdb version.
      d5ddb1a8
  37. Feb 22, 2022