Skip to content
  1. May 19, 2022
  2. May 16, 2022
  3. May 12, 2022
  4. 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
    • Kian Paimani's avatar
      Add Nomination Pools to Kusama (#5447) · 9f21ec97
      Kian Paimani authored
      
      
      * add nomination pools to kusama
      
      * Update runtime/kusama/src/lib.rs
      
      Co-authored-by: default avatarMara Robin B. <[email protected]>
      
      * Update runtime/kusama/src/lib.rs
      
      * probably fix build
      
      * really fix build
      
      * fix benches
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * whitelist transactional storage limit
      
      * make defensive
      
      * fix
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * update
      
      * fix benches
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * change head
      
      * fmt
      
      Co-authored-by: default avatarMara Robin B. <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      9f21ec97
  5. 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
  6. May 08, 2022
  7. May 06, 2022
  8. May 05, 2022
  9. May 04, 2022
  10. May 03, 2022
  11. Apr 28, 2022
  12. Apr 27, 2022
  13. Apr 26, 2022
  14. Apr 25, 2022
  15. Apr 18, 2022
  16. Apr 13, 2022
  17. 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
  18. Apr 08, 2022
  19. Apr 04, 2022
  20. Apr 03, 2022
  21. Mar 30, 2022
  22. Mar 24, 2022
    • Vsevolod Stakhov's avatar
      Try to fix out of view statements (#5177) · af94fc95
      Vsevolod Stakhov authored
      This issue happens when some peer sends a good but already known Seconded statement and the statement-distribution code does not update the statements_received field in the peer_knowledge structure. Subsequently, a Valid statement causes out-of-view message that is incorrectly emitted and causes reputation lose.
      
      This PR also introduces a concept of passing the specific pseudo-random generator to subsystems to make it easier to write deterministic tests. This functionality is not really necessary for the specific issue and unit test but it can be useful for other tests and subsystems.
      af94fc95
  23. Mar 23, 2022
  24. Mar 22, 2022
  25. Mar 15, 2022