Skip to content
  1. Mar 04, 2021
  2. Mar 03, 2021
  3. Feb 27, 2021
    • Bastian Köcher's avatar
      Change the way we store, handle and validate the validation data (#342) · d6bc185e
      Bastian Köcher authored
      Currently validation data is shared by using a well known key between
      the parachain system pallet and the validate block implementation. This
      pr changes this by passing the parachain system directly to the validate
      block implementation to make use of it. Besides that, we also store the
      validation params in some thread local variable to make it inspectable
      by parachain system. This moves the validation of validation data and
      validation params to the parachain system pallet directly, instead of
      having this hidden inside the validate block implementation.
      
      Fixes: https://github.com/paritytech/cumulus/issues/217
      d6bc185e
  4. Feb 26, 2021
  5. Feb 25, 2021
  6. Feb 24, 2021
  7. Feb 23, 2021
  8. Feb 18, 2021
  9. Feb 16, 2021
  10. Feb 15, 2021
  11. Feb 11, 2021
  12. Feb 10, 2021
    • Bastian Köcher's avatar
      The great refactor (#325) · 119e0859
      Bastian Köcher authored
      * Move pallets to pallets folder and rename them
      
      * Move genesis file to service
      
      * Rename primitives to primitives-core
      
      * Delete cumulus-runtime
      
      * Move stuff to client folder and rename
      119e0859
  13. Feb 08, 2021
  14. Feb 02, 2021
    • Sergey Pepyakin's avatar
      MQC authorization (#308) · 274b3f61
      Sergey Pepyakin authored
      
      
      * MQC auth
      
      Update polkadot
      
      WIP
      
      * Update polkadot
      
      * Silly syntax errors
      
      * Fix typo
      
      * Leave some comments and docs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Introduce the MessageQueueChain structure
      
      * Move the HRMP channel relevance check below
      
      * Fix the `receive_hrmp_after_pause` test
      
      * ValidationData is passed by reference
      
      * Replace "to cumulus" with "to the collator"
      
      * Update the test so that they are same as in polkadot
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      274b3f61
  15. Jan 29, 2021
  16. Jan 26, 2021
    • Bastian Köcher's avatar
      Update the chainspecs (#311) · c6ba3b56
      Bastian Köcher authored
      c6ba3b56
    • Bastian Köcher's avatar
      Switch to custom `BlockAnnounceData` (#310) · 2f40e59e
      Bastian Köcher authored
      * Switch to custom `BlockAnnounceData`
      
      Instead of sending a `SignedFullStatement` this switches to a new struct
      `BlockAnnounceData` that is being send alongside the block announcement.
      The signed full statement contains the candidate commitments, meaning it
      could be a full runtime upgrade that we send alongside a block
      announcement... To prevent this, we now only send the candidate receipt
      and the compact statement.
      
      * Update to latest polkadot
      2f40e59e
  17. Jan 21, 2021
    • Sergey Pepyakin's avatar
      parachain-system (#296) · 615ac5fe
      Sergey Pepyakin authored
      * rename parachain-{upgrade -> system}
      
      * Merge message-broker into parachain-system
      
      * Remove message-broker and clean up
      
      * Update docs
      
      * Test upward messages sending
      
      And also update the relay-sproof-builder so that it allows to set the
      relay dispatch queue size for the given parachain.
      
      * Test horizontal message sending
      
      * Remove old inherent definitions
      615ac5fe
  18. Jan 20, 2021
  19. Jan 19, 2021
  20. Jan 18, 2021
  21. Jan 15, 2021
  22. Jan 14, 2021
  23. Jan 13, 2021
    • Sergey Pepyakin's avatar
      Inform the PVF with the latest relevant relay chain state (#279) · b424d0f5
      Sergey Pepyakin authored
      * Update polkadot
      
      * Extend cumulus primitives with some relay chain exports
      
      Follow https://github.com/paritytech/polkadot/pull/2194
      
       to see the
      polkadot PR
      
      * collator: collect the state proof
      
      This commit changes cumulus-collator so that it takes the relay chain
      state at the relay parent and creates a storage proof that contains all
      the required data for PVF.
      
      * parachain-upgrade: use the proofs instead
      
      This change is needed to make cumulus logic to not longer depend on the
      transient validation data. As part of this change, in order to preserve
      the current behavior `code_upgrade_allowed` now is computed on the
      parachain side, rather than provided by polkadot.
      
      Turned out that this requires to know the self parachain id so it was
      added where needed.
      
      * message-broker: use relay state to track limits
      
      this should make sending messages safe from accidentally running over
      the relay chain limits that were previously unknown.
      
      * Update polkadot
      
      So that `relay_storage_root` is available through `ValidationParams`
      
      * Check `relay_storage_root` matches expected
      
      Check that `relay_storage_root` submitted by the collator matches the
      one that we receive in `validate_block` through `ValidationParams`
      
      * Add a missing check for `dmq_mqc_head` while we are at it
      
      * Update polkadot
      
      * Fix tests that use the relay storage root
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update message-broker/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Remove unneeded (&_)
      
      * Fix unwraps
      
      * Polish basti's suggestion
      
      * Fix merge
      
      * Bring back the System::can_set_code check
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      b424d0f5
  24. Jan 12, 2021
  25. Jan 11, 2021
  26. Jan 08, 2021
  27. Jan 05, 2021
  28. Jan 03, 2021