- 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 12, 2021
-
-
Bastian Köcher authored
* Update yeah * Update spec_version
-
- 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
-
Bastian Köcher authored
* Update to latest Substrate & Polkadot * Update the chain specs * Update polkadot properly... * Update chainspecs again... * Again...
-
- Jan 03, 2021
-
-
lumir-mrkva authored
* upgrade to latest polkadot * ss58 in tests * format * removed unused import
-
- Dec 17, 2020
-
-
Shawn Tabrizi authored
* initial mock * integrate xcm-handler into runtime * expose xcm send error * oops * better comment
-
- Dec 15, 2020
-
-
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: Bastian 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: Bastian Köcher <[email protected]>
-
- Dec 10, 2020
-
-
Alexander Krupenkin authored
* Upgdate to latest polkadot & substrate * Fix code formatting (cargo fmt) * Fix unit tests
-
- 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 20, 2020
-
-
Sergey Pepyakin authored
-
- Nov 16, 2020
-
-
Sergey Pepyakin authored
This is mostly a copy of the predating version with exception of some renaming and alterations (e.g. the message handler takes an inbound downward message by value, not by reference).
-
- 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]>
-
- Sep 09, 2020
-
-
Victory Van authored
-
- Aug 14, 2020
-
-
Bastian Köcher authored
-
- Aug 11, 2020
-
-
Bastian Köcher authored
* One node two runtimes This enables the rococo-collator to run the normal and the contracts runtime. * Fix tests
-
- Aug 07, 2020
-
-
Joshy Orndorff authored
* Separate paraid injection to own pallet * Move token dealer to a crate * Move to rococo-parachains * Remove parameter_types hack * Fix chainspec * fix build * remove commented code * Update contracts runtime to match other runtime * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Alphebetize workspace members * Parachain info to own crate * prune system = frame_system Co-authored-by: Ricardo Rius <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
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]>
-