1. 25 Jan, 2021 2 commits
  2. 22 Jan, 2021 1 commit
  3. 21 Jan, 2021 4 commits
    • Jon Häggblad's avatar
      Companion for #7339: cleaner GRANDPA RPC API (#2100) · 12cd4b28
      Jon Häggblad authored
      * service: update for substrate PR #7339
      * "Update Substrate"
      Co-authored-by: parity-processbot <>
    • Pierre Krieger's avatar
      Add support for Grandpa warp sync (#2301) · 6f95a659
      Pierre Krieger authored
      * Add support for Grandpa warp sync
      * Don't pull the warp sync crate if not full-node
    • Shawn Tabrizi's avatar
      Update Weight for Pallet Staking including Kick (#2297) · dbbb8758
      Shawn Tabrizi authored
      * Update pallet_staking.rs
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
    • Bastian Köcher's avatar
      Compress the PoV block before sending it over the network (#2288) · 11797c73
      Bastian Köcher authored
      * Compress the PoV block before sending it over the network
      This pr changes the way we send PoV blocks over the network. We now
      compress the PoV block before it is send over the network. This should
      reduce the size significant for PoVs which contain the runtime WASM for
      * Preallocate 1KB
      * Try something..
      * Switch to zstd and some renamings
      * Make compression/decompression fail in browsers
      * Use some sane maximum value
      * Update roadmap/implementers-guide/src/types/network.md
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
      * Fix and add test
      * add
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
  4. 20 Jan, 2021 3 commits
  5. 19 Jan, 2021 2 commits
    • Sergey Pepyakin's avatar
      Glossary updates (#2291) · 85cf489e
      Sergey Pepyakin authored
      * glossary: define DMQ
      We are using DMQ quite often including in rustdoc, however, it may be
      hard to know what is that. Adding it to the glossary.
      * Clarify that DMP and HRMP are also module names
      * Define PDK
      * Define preimage
    • Pierre Krieger's avatar
      Companion PR for adding max notification sizes (#2287) · 036cf5e2
      Pierre Krieger authored
      * Companion PR for adding max notification sizes
      * Add TODO
      * Missing ;
      * =>
      * Common limit
      * "Update Substrate"
      Co-authored-by: parity-processbot <>
  6. 18 Jan, 2021 4 commits
  7. 17 Jan, 2021 2 commits
  8. 16 Jan, 2021 1 commit
  9. 15 Jan, 2021 5 commits
  10. 14 Jan, 2021 6 commits
  11. 13 Jan, 2021 7 commits
    • asynchronous rob's avatar
      scheduler: handle re-scheduling around finalization correctly (#2257) · 9115d427
      asynchronous rob authored
      * scheduler: handle re-scheduling around finalization correctly
      * also make sure parathreads get cleaned
      * run scheduling in finalization
      * Remove stray println!
      * Update the schedule call site in inclusion inherent
      * Clarify subtlety around SessionStartBlock
      * Remove double semi-colon
      * reschedule prior to `availability_cores` and in on-initialize
      * improve docs
      * fix line
      * more doc reformat
      * remove unneeded call
      * avoid unnecessary scheduling on initialize
      * split `clear` and `schedule
      * Update runtime/parachains/src/scheduler.rs
      Co-authored-by: Sergey Pepyakin's avatarSergei Shulepov <sergei@parity.io>
      Co-authored-by: Sergey Pepyakin's avatarSergei Shulepov <sergei@parity.io>
    • Bernhard Schuster's avatar
      display errors with their sources (#2264) · 2fd345b8
      Bernhard Schuster authored
      * update futures to 0.3.9
      * companion changes for generic error types
      * improve errors, keep error sources
      * command compile fix
      * use the correct Error type, add annotation
      * avoid async { fut.await.map_err(E::Variant) } with TryFuture
      * fix cargo lock, bump futures to 0.3.10
      futures 0.3.9 got yanked
      * chore cargo update -p sp-io
      * minor quirk
      * make rustc 1.48 happy by bouning the error more tightly
      * be more explicit
      * cargo lock futures
    • Sergey Pepyakin's avatar
    • Andronik Ordian's avatar
      Companion for substrate#7892 (#2262) · e5ee5748
      Andronik Ordian authored
      * session_info: use correct authorities set
      * bump rococo spec_version to 19
      * "Update Substrate"
      Co-authored-by: parity-processbot <>
    • Bernhard Schuster's avatar
      metered mpsc channels (#2235) · e3676fdc
      Bernhard Schuster authored
    • Sergey Pepyakin's avatar
      HRMP channel deposits (#2225) · 4489b528
      Sergey Pepyakin authored
      * Drive by fixes
      The visibility modifiers are remnants of the previous structure where
      HRMP wasn't a standalone module, by rather a submodule of the router
      * Add Currency assoc type to Config
      This would allow us to reserve balance for deposits. This commit also
      integrates the HRMP module in rococo, test-runtime and mocks to use the
      balances pallet.
      * Fix a bug that doesn't increment the age
      In case the request is not confirmed, the age would be incremented but
      not persisted.
      * Fix cleaning the indexes
      Before that change, the cleaning of the channel indexes was wrong, because it
      naively removed entire rows that was pertaining to the para we delete.
      This approach is flawed because it doesn't account for the rows that are
      pertaining to other paras that contain the outgoing one.
      This clearly violates the invariant imposed on the indexes, that all
      the index rows must contain alive paras, but apart from that it also
      lead to the situation where ingress index would contain the a different
      set of channels that an egress have.
      * Reserve currency for opening the channels
      Note the ugly `unique_saturated_into` calls. The reason for them is the
      currency trait accepts and defines the `Balance` associated type and the
      deposit values are coming from the `HostConfiguration` where they are
      defined using the `Balance`.
      I figured that parameterising `HostConfiguration` would be annoying. On
      the other hand, I don't expect these `unique_saturated_into` calls to
      give us problems since it seems to be a reasonable assumption that this
      module will be instantiated within a runtime where the Currency provided
      will have a Balance that matches the one used in the configuration.
      * Tests: Adapt `run_to_block` so that it submits a proper config
      * Tests: exercise the deposit logic
    • Sergey Pepyakin's avatar
      Avoid inlining `update_config_member` (#2246) · d0703258
      Sergey Pepyakin authored
      Closes #2241
  12. 12 Jan, 2021 3 commits