1. Jan 21, 2021
  2. Jan 20, 2021
  3. Jan 19, 2021
    • 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
      85cf489e
    • 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 <>
      036cf5e2
  4. Jan 18, 2021
  5. Jan 17, 2021
  6. Jan 16, 2021
  7. Jan 15, 2021
  8. Jan 14, 2021
  9. Jan 13, 2021
    • 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: default avatarSergei Shulepov <[email protected]>
      
      Co-authored-by: default avatarSergei Shulepov <[email protected]>
      9115d427
    • 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
      2fd345b8
    • Sergey Pepyakin's avatar
      4fbfe934
    • ordian's avatar
      Companion for substrate#7892 (#2262) · e5ee5748
      ordian authored
      * session_info: use correct authorities set
      
      * bump rococo spec_version to 19
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      e5ee5748
    • Bernhard Schuster's avatar
      metered mpsc channels (#2235) · e3676fdc
      Bernhard Schuster authored
      e3676fdc
    • 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
      module.
      
      * 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
      4489b528
    • Sergey Pepyakin's avatar
      Avoid inlining `update_config_member` (#2246) · d0703258
      Sergey Pepyakin authored
      Closes #2241
      d0703258
  10. Jan 12, 2021
  11. Jan 11, 2021
    • thiolliere's avatar
      bump codec minor version (#2247) · 2709aebc
      thiolliere authored
      2709aebc
    • Shawn Tabrizi's avatar
      Crowdloan Updates (#2166) · 9dd75c5c
      Shawn Tabrizi authored
      * Rename crowdfund -> crowdloan
      
      * allow contribution on behalf of another user
      
      * starting some benchmarks
      
      * optimization: use append api
      
      * Use on_initialize instead of on_finalize
      
      * More benchmarks
      
      * try to implement partial child storage removal
      
      * partial dissolve test
      
      * onboard benchmark
      
      * begin retirement
      
      * on_initialize
      
      * remove _ { }
      
      * Revert "allow contribution on behalf of another user"
      
      This reverts commit b7dd7d1e
      
      .
      
      * finish undo of "allow contribution on behalf of another user"
      
      * Allow any user to trigger withdraw on closed crowdloan
      
      * use transfer instead of withdraw/create pattern
      
      * unused warning
      
      * Update runtime/common/src/crowdloan.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * dont need to assign to empty variable
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      9dd75c5c