- Feb 27, 2021
-
-
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
-
- Feb 25, 2021
-
-
Bastian Köcher authored
-
- Feb 24, 2021
-
-
Bastian Köcher authored
-
- Feb 18, 2021
-
-
Bastian Köcher authored
-
- Feb 16, 2021
-
-
Bastian Köcher authored
-
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
-
- Feb 15, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Update chainspecs * Update again to fix test
-
- Feb 11, 2021
-
-
Bastian Köcher authored
This renames and moves the `SystemInherentData` into its own crate. The struct is now called `ParachainInherentData`. Besides moving the struct, this also moves the code for creating this struct into this crate.
-
- Feb 10, 2021
-
-
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
-
- Feb 08, 2021
-
-
Sergey Pepyakin authored
* Update polkadot * Migrate all uses of MQC heads to merkle proofs * Mass rename `relay_parent_storage_root` * Restore parachain-system tests * Update polkadot and libp2p swarm for testing * Collapse match into an if let Co-authored-by:
Bastian Köcher <[email protected]> * Fix compilation error in test-service Co-authored-by:
Bastian Köcher <[email protected]>
-
- Jan 29, 2021
-
-
Cecile Tonglet authored
* Complete telemetry for parachain & relaychain * Update Substrate & Polkadot
-
- Jan 21, 2021
-
-
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
-
- Jan 20, 2021
-
-
Cecile Tonglet authored
-
- Jan 19, 2021
-
-
Sergey Pepyakin authored
* Replace ValidationData with PersistedValidationData * Update polkadot
-
- Jan 14, 2021
-
-
Black3HDF authored
-
- Jan 13, 2021
-
-
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:
Bastian Köcher <[email protected]> * Update message-broker/src/lib.rs Co-authored-by:
Bastian 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:
Bastian Köcher <[email protected]>
-
- Jan 05, 2021
-
-
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
-
Joshy Orndorff authored
-
- Jan 03, 2021
-
-
lumir-mrkva authored
* upgrade to latest polkadot * ss58 in tests * format * removed unused import
-
- Dec 21, 2020
-
-
Sergey Pepyakin authored
* The problem in the nutshell * Make it compile * make tests pass * Update the parachain-upgrade module * Fix collator tests Co-authored-by:
Bastian Köcher <[email protected]>
-
- Dec 16, 2020
-
-
Alexander Krupenkin authored
-
- Dec 10, 2020
-
-
Alexander Krupenkin authored
* Upgdate to latest polkadot & substrate * Fix code formatting (cargo fmt) * Fix unit tests
-
- Dec 04, 2020
-
-
Bastian Köcher authored
-
- Dec 01, 2020
-
-
Sergey Pepyakin authored
* update cumulus to latest polkadot * s/Trait/Config To be more consistent with the new naming. * Update Cargo.lock * fix network tests
-
- Nov 26, 2020
-
-
Bastian Köcher authored
-
- Nov 25, 2020
-
-
Bastian Köcher authored
-
- Nov 22, 2020
-
-
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...
-
- Nov 09, 2020
-
-
Bastian Köcher authored
* Switch to polkadot master branch * Fix compilation
-
- Nov 08, 2020
-
-
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:
Robert Habermeier <[email protected]> * Update to latest upstream * Update to latest master * Fix test Co-authored-by:
Robert Habermeier <[email protected]>
-
- Oct 07, 2020
-
-
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
-
- Aug 07, 2020
-
-
Alexander Theißen authored
* seal: Copy over a legacy version of pallet_contracts from substrate * seal: Fix substrate dependency pathes and add as dependency to runtime * seal: Adapt pallet to current substrate version * seal: Add contracts pallet to runtime * seal: Implement rpc runtime api * seal: Update to latest rpc output format * seal: Replace child trie by prefix trie * seal: Add contracts endpoint to the client * seal: fixup rpc test * Fix whitespace issue Co-authored-by:
Sergei Shulepov <[email protected]> * seal: Move pallet out of the runtime directory * seal: Create a seperate runtime for contracts * Move parachains to top level directory * seal: Disable rent for easier testing Co-authored-by:
Sergei Shulepov <[email protected]>
-
Cecile Tonglet authored
* Initial commit Forked at: 8fae39d3 Parent branch: origin/master * Update Cargo.lock * Graceful shutdown relay chain * Update Cargo.lock * Renamed add_children to add_child * Update test/parachain/src/service.rs Co-authored-by:
Bastian Köcher <[email protected]>
-
- Aug 06, 2020
-
-
Bastian Köcher authored
-
Cecile Tonglet authored
-
- Aug 04, 2020
-
-
Dan Forbes authored
Ran `find . -type f -name "*" -print0 | xargs -0 sed -i -e "s/cumulus-test-parachain-collator/rococo-collator/g"`
-
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:
Evaldo <[email protected]> Co-authored-by:
Cecile Tonglet <[email protected]>
-
Bastian Köcher authored
* Fix block announce * Fix compilation
-
- Jul 30, 2020
-
-
Cecile Tonglet authored
-
Cecile Tonglet authored
* Initial commit Forked at: d1d40765 Parent branch: origin/master * Fix polkadot cli arguments not properly parsed * Update test/parachain/src/command.rs Co-authored-by:
Bastian Köcher <[email protected]>
-
- Jul 29, 2020
-
-
Cecile Tonglet authored
-