Skip to content
  1. 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
  2. Jan 12, 2021
  3. Jan 05, 2021
    • Bastian Köcher's avatar
      Wait for block import in parachain consensus (#271) · 9dc7cc57
      Bastian Köcher authored
      * Wait for block import in parachain consensus
      
      There was a bug in the parachain consensus that when importing a relay
      chain block that sets a new best parachain block, but the required
      parachain block was not yet imported. This pr fixes this by waiting for
      the block to be imported.
      
      * Finish docs
      9dc7cc57
    • Bastian Köcher's avatar
      Update to latest Substrate & Polkadot (#280) · d51f1d85
      Bastian Köcher authored
      * Update to latest Substrate & Polkadot
      
      * Update the chain specs
      
      * Update polkadot properly...
      
      * Update chainspecs again...
      
      * Again...
      d51f1d85
  4. Jan 03, 2021
  5. Dec 17, 2020
    • Shawn Tabrizi's avatar
      Add XCM Handler (#267) · afc50e8a
      Shawn Tabrizi authored
      * initial mock
      
      * integrate xcm-handler into runtime
      
      * expose xcm send error
      
      * oops
      
      * better comment
      afc50e8a
  6. Dec 15, 2020
    • Sergey Pepyakin's avatar
      Integrate HRMP (#258) · c84c9b6b
      Sergey Pepyakin authored
      
      
      * HRMP message ingestion
      
      * Plumb hrmp_watermark to build_collation
      
      * Plumb hrmp_watermark to ValidationResult
      
      * Plumb hrmp outbound messages
      
      * Implement message-broker part of HRMP
      
      * Kill UPWARD_MESSAGES as well
      
      Otherwise, they will get resent each block
      
      * Add sudo versions for easier testing
      
      * Remove the xcmp module
      
      Not useful for the moment
      
      * Doc for HRMP message handler
      
      * Estimate the weight upper bound for on_finalize
      
      * Remove a redundant type annotation
      
      * fix spelling of a method
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Deabbreviate dmp and hrmp in the message ingestion type
      
      * Don't use binary_search since it's broken by a following rotate
      
      Instead use the linear search. We can afford linear search here since
      due to limited scalability of HRMP we can only have at most a couple of
      dozens of channels.
      
      * Fix the watermark
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      c84c9b6b
  7. Dec 10, 2020
  8. Dec 01, 2020
  9. Nov 20, 2020
  10. Nov 16, 2020
  11. Nov 08, 2020
    • Bastian Köcher's avatar
      Update Cumulus for Parachains V1 (#224) · 28338431
      Bastian Köcher authored
      
      
      * Start with something
      
      * Whatever
      
      * Update
      
      * MOARE
      
      * Make cumulus-network compile and tests work
      
      * Update more and fixes
      
      * More stuff
      
      * More fixes
      
      * Make collator build
      
      * Make test almost work
      
      * Remove contracts runtime
      
      * More test work
      
      * Make service compile
      
      * Fix test-service
      
      * Fix test client
      
      * More fixes
      
      * Fix collator test
      
      * Fix network tests (again)
      
      * Make everything compile, finally
      
      * Fix tests
      
      * Update to latest masters
      
      * Remove ignore
      
      * Switch to different branch in polkadot for now
      
      * Update reference
      
      * Make it compile with latest changes
      
      * Update collator/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Update to latest upstream
      
      * Update to latest master
      
      * Fix test
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      28338431
  12. Sep 09, 2020
  13. Aug 14, 2020
  14. Aug 11, 2020
  15. Aug 07, 2020
  16. Aug 04, 2020
    • Bastian Köcher's avatar
      Add parachains for rococo (#144) · 23c1954c
      Bastian Köcher authored
      * Add parachains for rococo
      
      * Fix chain specs
      
      * Update to revert log rotation
      
      * Support selecting the chain in `export-genesis-state`
      
      * Add subcommand for exporting the genesis wasm of a Parachain
      
      * Update stuff
      
      * Fix `export-genesis-wasm`
      
      * Update the polkadot ref
      
      * Add bootNodes address
      
      * Add bootNodes address - track
      
      * Add bootNodes address - trick
      
      * Fix incorrect peer id (trick)
      
      * Fixes https://github.com/paritytech/cumulus/issues/157
      
      
      
      * Update chainspecs
      
      * Update specs again
      
      * Set correct sudo account
      
      * Update properties
      
      * Update readme
      
      * Update `Cargo.lock`
      
      * Switch to rococo-branch
      
      Co-authored-by: default avatarEvaldo <[email protected]>
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      23c1954c
  17. Jul 09, 2020
  18. Jul 01, 2020
  19. Jun 18, 2020
    • Bastian Köcher's avatar
      Implement basic upward & downward messages (#118) · c9aaddf6
      Bastian Köcher authored
      * Start by replacing branch names and set `DownwardMessage`
      
      * Add the upward-message crate
      
      * Add Kusama & Polkadot
      
      * More work on getting the upward messages working
      
      * Fix build
      
      * Begin to integrate it into the test Parachain
      
      * Update
      
      * Make everything compile again
      
      * Switch to westend and print parachain account on startup
      
      * Use MultiSignature etc
      
      * Fix validate block
      
      * Some downward messages work
      
      * Update git reference
      
      * More downward messages integration
      
      * Update test runtime for downward messages
      
      * Enable downward message handler and withdraw send tokens
      
      * Add some docs
      
      * Begin to implement simple XCMP
      
      * More work
      
      * Fixes and make parachain id configurable
      
      * Make parachain ID be part of the genesis
      
      * Finishing the XCMP message demo
      
      * Update and fixes tests
      
      * Update branch
      c9aaddf6
  20. Jun 05, 2020
  21. May 15, 2020
  22. Apr 29, 2020
  23. Apr 21, 2020
  24. Apr 06, 2020
  25. Mar 11, 2020
  26. Feb 24, 2020
  27. Feb 10, 2020
  28. Feb 03, 2020
    • Cecile Tonglet's avatar
      Update substrate and polkadot (#50) · 4a3ffe07
      Cecile Tonglet authored
      * Update Cargo.lock
      
      * Fix for substrate update
      
      * Update Cargo.lock
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Update Cargo.lock
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * Fix for substrate update
      
      * WIP
      
      * Temporary fix until polkadot is fixed
      
      * WIP
      
      * WIP
      4a3ffe07
  29. Jan 16, 2020
  30. Jan 14, 2020
  31. Oct 21, 2019
  32. Oct 18, 2019
  33. Oct 16, 2019