Skip to content
  1. Feb 25, 2021
  2. Feb 24, 2021
  3. Feb 18, 2021
  4. Feb 16, 2021
    • Bastian Köcher's avatar
      Parachain Consensus abstractions (#329) · d3f9c7db
      Bastian Köcher authored
      * Move consensus to consensus-common crate
      
      * Move the parachain consensus out of the collator
      
      * Add first relay chain consensus stuff
      
      * Remove some warnings
      
      * Fix more stuff
      
      * Fix collator test
      
      * Change `ParachainConsensus` to take a mutable self
      
      * Make everything compile
      
      * Feedback
      d3f9c7db
  5. Feb 15, 2021
  6. 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
  7. Feb 08, 2021
  8. Jan 29, 2021
  9. Jan 26, 2021
  10. 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
  11. Jan 20, 2021
  12. Jan 14, 2021
  13. 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
  14. Jan 12, 2021
  15. Jan 05, 2021
  16. Jan 03, 2021
  17. Dec 22, 2020
    • Bastian Köcher's avatar
      Rococo V1 (#268) · cd0e40a6
      Bastian Köcher authored
      
      
      * Update
      
      * Update the chain specs
      
      * Update to latest master & master
      
      * add current tick bootnodes
      
      * Update again
      
      * Add track bootnodes
      
      * add trick and track bootnodes
      
      * Update the chain specs
      
      * Update
      
      Co-authored-by: default avatarErin Grasmick <[email protected]>
      cd0e40a6
  18. Dec 21, 2020
  19. 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
  20. Dec 16, 2020
  21. 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
  22. Dec 10, 2020
  23. Dec 04, 2020
  24. Dec 01, 2020
  25. Nov 25, 2020
  26. Nov 22, 2020
    • Bastian Köcher's avatar
      Wait for relay chain block import before validatiing a block announcement (#227) · e5b4e8ca
      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
      
      * Write test that should fail
      
      * Add `WaitOnRelayChainBlock`
      
      * Update git versions
      
      * Make it all work
      
      * Update logging
      
      * Switch to provided method for pushing an extrinsic
      
      * Try to debug CI
      
      * Aaaa
      
      * Only use Debug
      
      * Updates
      
      * Use native execution to hopefully make CI happy...
      e5b4e8ca
    • Bastian Köcher's avatar
      Bring back log prefixing (#245) · b11ec7ea
      Bastian Köcher authored
      b11ec7ea
  27. Nov 20, 2020
  28. Nov 16, 2020
  29. Nov 11, 2020
  30. Nov 09, 2020
  31. 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
  32. Oct 07, 2020
    • Cecile Tonglet's avatar
      Uniformize tests (#220) · 7b4ea8d8
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Copy runtime module from rococo
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Also copy dependencies pallets and primitives
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * test-service
      
      * Move integration test
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Not sure what went wrong...
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * fmt
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Remove pallet contracts (not used)
      
      * Remove pallet parachain-info and token-dealer (not used)
      
      * Sort dependencies alphabetically
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * CumulusTestNode for testing
      
      * Speed up block generation
      
      * Fix improper shutdown
      
      * rustfmt
      
      * runtime: replace const by storage
      
      * Fix for previous commit
      
      * Remove some generics
      
      * Move generate_genesis_state to cumulus-primitives
      
      * fmt
      
      * Remove message_example
      
      * fixup! Remove message_example
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Half the solution to previous commit :(
      
      * Revert "Fix for previous commit"
      
      This reverts commit 60010bab6797487093ac8c790b3a536f7ca0895b.
      
      * Revert "runtime: replace const by storage"
      
      This reverts commit c64b3a46f0325a98922015e0cbf3570e2e431774.
      
      Not working for some reason...
      
      * Use helper
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Remove test-primitives
      
      * Revert "Half the solution to previous commit :("
      
      This reverts commit 9a8f89f9f06252198e6405057043c6b313f1aea4.
      
      * Revert "Revert "Half the solution to previous commit :(""
      
      This reverts commit 6a93f0f09d74ccdc3738dd78a777c483427c03ce.
      
      * Test with some extra extrinsics
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 56753b77
      Parent branch: origin/master
      
      * Remove message broker
      7b4ea8d8
  33. Oct 02, 2020
  34. Sep 16, 2020
    • Cecile Tonglet's avatar
      Test for not-validator mode (#167) · 56753b77
      Cecile Tonglet authored
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      56753b77
    • Cecile Tonglet's avatar
      Fix integration test again (#201) · badf52b1
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Pushed branch for polkadot & substrate
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * using rococo and tick
      
      * Revert "using rococo and tick"
      
      This reverts commit d81db9246ff7061478649ffea3e49e417fcb6959.
      
      * debug
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Revert "Revert "using rococo and tick""
      
      This reverts commit 45ec2be89f2b8af82da8dcb9d19d900571598766.
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Update rococo-parachains/src/service.rs
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Revert "WIP"
      
      This reverts commit d3f63ed0a314ffe12c0066124076736017981b80.
      
      * WIP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Use inprocess validation
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Fix failing test
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * increase logs
      
      * Removed a bit of logs
      
      * Revert branch change
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * Test without STDIN close detection
      
      * Bypass validation pool
      
      * Switch to rococo-branch
      
      * Move start_test_collator to rococo-collator
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      
      * CLEANUP
      
      Forked at: 10533db9
      Parent branch: origin/master
      badf52b1