- Aug 06, 2021
-
-
Gavin Wood authored
* support for XCM v1 * Fixes * Fix. * Use `xcm::latest` * Bump Polkadot Co-authored-by: Bastian Köcher <[email protected]>
-
- Aug 05, 2021
-
-
Bastian Köcher authored
-
- Jul 20, 2021
-
-
Bastian Köcher authored
-
- Jul 15, 2021
-
-
Shawn Tabrizi authored
-
- Jul 05, 2021
-
-
Bastian Köcher authored
-
- Jul 02, 2021
-
-
Bruno Škvorc authored
* Propose bumping StringLimit to 64 bytes The StringLimit of 50 bytes is too short for useful hashes of different protocols: - When using IPFS, the hash is 46 bytes. With a protocol prefix and type prefix (IPFS vs IPNS) it becomes: `ipfs://ipfs/QmPK1s3pNYLi9ERiq3BDxKa4XosgWwFRQUydHUtz4YgpqB` or 59 bytes. - On arweave, the hash is 43 bytes. Prefixed with just `arweave://` bumps it up to 53: `arweave://BNttzDav3jHVnNiV7nYbQv-GY0HQ-4XXsdkE5K9ylHQ`. - On Sia, with 46 char hashes, adding `sia://` as the protocol to use will bump it past 50: `sia://GACjmEWXmYF1N3Rc-PyjN304-8M0zOXHYzAXY9222xkGhA` (52) As such, we feel that 64 bytes is a reasonable minimum for the `StringLimit`. * Update lib.rs * Add different const for `UniquesStringLimit` Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 28, 2021
-
-
Chevdor authored
chore: refactor for consistant naming of the crates and paths of the runtimes * tests: ignore folder created by the tests * chore: refactoring * Update polkadot-parachains/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 19, 2021
-
-
Shawn Tabrizi authored
* fix max block weight * fix milli per block too
-
- Jun 17, 2021
-
-
Sergey Pepyakin authored
* WIP: Update Substrate * Update Substrate & Polkadot * fixes * more fixes * few missing origins * use spawn_essential_handle * bump polkadot dep * remove newlines * fix test Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 16, 2021
-
-
Bastian Köcher authored
* Adds support for checking the timestamp inherent while validating a block This adds support for checking the timestamp inherent while validating a block. This will use the relay chain slot number * relay chain slot duration to calculate a timestamp. This timestamp is used to check the timestamp in the timestamp inherent. * Update polkadot-parachains/rococo-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update polkadot-parachains/statemine-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update primitives/timestamp/src/lib.rs Co-authored-by: André Silva <[email protected]> * Fix warnings Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Jun 12, 2021
-
-
Bastian Köcher authored
* Start * More work * Add proc-macro for `validate_block` * Make everything compile * Add some test
-
- Jun 07, 2021
-
-
Bastian Köcher authored
This is basically a hack that prevents the inclusion of `:code` in the storage proof. A proper fix requires some changes to the trie crate to not include nodes that aren't read.
-
- Jun 04, 2021
-
-
Xiliang Chen authored
* update substrate * try again
-
- May 19, 2021
-
-
Sergey Pepyakin authored
* Slap runtime_version macro everywhere * Update Substrate This includes the fix of compilation for macOS platforms.
-
- May 17, 2021
-
-
Bastian Köcher authored
* Introduce `CollectCollationInfo` runtime api Instead of using well known keys to communicate information about a collation between the runtime and the collator, we now use a runtime api for this. * Fixes bug * Apply suggestions from code review Co-authored-by: Sergei Shulepov <[email protected]> * Doc update Co-authored-by: Sergei Shulepov <[email protected]>
-
- May 13, 2021
-
-
Gavin Wood authored
* Companion for #3010 (Reserve Xfer extrinsic) * cargo update -p xcm Co-authored-by: Shawn Tabrizi <[email protected]>
-
- May 12, 2021
-
-
Gavin Wood authored
* Companion for #3007: Track teleported assets * Bump * Try fix the breakage Co-authored-by: Sergei Shulepov <[email protected]>
-
Bastian Köcher authored
* Rename `rococo-collator` to `polkadot-collator` Also contains some other small changes. * Test fixes and some further search&replace
-
- May 11, 2021
-
-
Gavin Wood authored
* Companion #2995: Dispatchable for teleporting assets * Fixes * Fixes * Fixes * Fixes * Bump Substrate * Bump Polkadot * Fixes
-
- May 10, 2021
-
-
Bastian Köcher 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]> * Start with something * Update Substrate & Polkadot * Start to make it compile * Make it compile * Begin with something * Yep * I'm a hacker * Bring back the builder * Make it work in some way * Compile * Parachains use their own "slot" * Adds cumulus-pallet-aura * Wrap AuRa import queue to disable equivocation checking by default * Pass slot duration * Check the seal when validating a block * Adds missing file * Try to make the seal working * Fix it * Some fixes * Bring in the latest features to cleanup the code * Update and make it compile * Improve the import * Start fixing * More work * Fix fix fix * Make everything compile * Small cleanups * Rename and more docs * Docs * Fixes fixes fixes * Update rococo-parachains/src/chain_spec.rs * Update client/consensus/aura/src/lib.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/aura/src/lib.rs Co-authored-by: André Silva <[email protected]> * Update primitives/parachain-inherent/Cargo.toml Co-authored-by: André Silva <[email protected]> * Update primitives/parachain-inherent/Cargo.toml * Update primitives/parachain-inherent/Cargo.toml * Update primitives/parachain-inherent/Cargo.toml Co-authored-by: Sergei Shulepov <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- May 08, 2021
-
-
Keith Yeung authored
* Upgrade parachain info pallet to FRAMEv2 * Upgrade parachain system pallet to FRAMEv2 * Use Pallet<T> instead of Module<T> * Upgrade XCMP queue pallet to FRAMEv2 * Correctly specify the metadata for events in xcmp-queue pallet * Apply suggestions from code review * Update pallets/parachain-system/src/tests.rs Co-authored-by: Bastian Köcher <[email protected]>
-
- May 04, 2021
-
-
Bastian Köcher authored
-
- May 02, 2021
-
-
Gavin Wood authored
* Introduce the converter into the hub * Parachain recognises Rococo governance body as admin * Whitespace * Use UsingComponents for fee payment in XCM * Fixes * Fixes for XCM permissions * Remove encode_call test * Fixes * Rococo Collator supports Shell runtime * Fixes * Fixes * Initial draft of DMP Queue pallet * DMP Queue builds. * Companion for Polkadot gav-allow-xcm-exec * Bump * Fix std * Fixes * fix and improve docs * fix compile errors in tests * add test for try_service_message * update cargo.lock * Fixes * Make test name read well * Fixes * Add a couple of simple tests * Tests * Tests * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Chain ID and ParaID don't collide * Fixes * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update pallets/dmp-queue/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fixes Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Apr 28, 2021
-
-
Gavin Wood authored
* Companion for #2953 * Fixes * Fixes
-
Gavin Wood authored
* Introduce the converter into the hub * Parachain recognises Rococo governance body as admin * Whitespace * Use UsingComponents for fee payment in XCM * Fixes * Fixes for XCM permissions * Remove encode_call test * Fixes * Rococo Collator supports Shell runtime * Fixes * Fixes
-
Gavin Wood authored
* Introduce the converter into the hub * Parachain recognises Rococo governance body as admin * Whitespace * Use UsingComponents for fee payment in XCM * Fixes * Fixes for XCM permissions * Remove encode_call test * Fixes * Fixes * Fixes
-
- Apr 27, 2021
-
-
thiolliere authored
* parachain unnamed field * bump polkadot: cargo udpate -p xcm * Update lock * Fixes * Fixes Co-authored-by: Gav Wood <[email protected]>
-
- Apr 14, 2021
-
-
Gavin Wood authored
* Add spambot * Fixes * Add some extra functions to spambot, bump version * Lock.. * Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot. * Fix tests, bump Polkadot. * Fix HMP tests * Rename Hrmp -> Xcmp for handler/sender * Use master branch * Test Xcm message passing & rename away from HMP * Docs * Introduce fee payment mechanics into XCM. * Rename spambot -> ping * Lock * XCMP message dispatch system reimagining - Moved most of the logic into xcm-handler pallet - Altered the outgoing XCMP API from push to pull - Changed underlying outgoing queue data structures to avoid multi-page read/writes - Introduced queuing for incoming messages - Introduced signal messages as a flow-control sub-stream - Introduced flow-control with basic threshold back-pressure - Introduced overall weight limitation on messages executed - Additonal alterations to XCM APIs for the new system * Should process any remaining XCM messages when we're not doing anything else. * Update API usage and preparation for the big build. * Some build fixes * Build fixes * xcm-handler builds * Fix warnings * Docs * Parachains system builds * Parachain runtime building * Fix build * Introduce transfer_asset specialisation. * Fixes * Two-stage upgrade for parachains. * Fixes * Fixes * Updates for message sending. * Repotting/renaming. Add primitives/utility. * Remove real-overseer and bump refs * Configure & document Rococo XCM runtime. * Add shell runtime, some companion changes for #8589 * Bumps & fixes * Fix test * Build fix * Update pallets/xcmp-queue/src/lib.rs Co-authored-by: Amar Singh <[email protected]> * Make tests compile * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * remove unused * remove unused event stuff * Adds proper validation-worker to make integration tests work * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * import saturating * remove panic test Co-authored-by: Robert Habermeier <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Amar Singh <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 02, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Enforce `ParachainSetCode`
-
- Mar 30, 2021
-
-
Sergey Pepyakin authored
-
- Mar 23, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Remove `can_set_code` for now
-
- Mar 11, 2021
-
-
Cecile Tonglet authored
-
- Mar 09, 2021
-
-
Shaun Wang authored
* Support xcm local execution in xcm handler. * Add docs.
-
- Mar 03, 2021
-
-
Cecile Tonglet authored
* Add a command to purge the relay chain only * WIP * Update rococo-parachains/src/cli.rs Co-authored-by: Bastian Köcher <[email protected]> * Move cli stuff to its own crate * Copyright dates * Test not working for some reason... * WIP * Revert "WIP" This reverts commit f97cd63742c7df822e4a6e52a29db5e0f56b7bfa. * Fix test to use provided relay chain * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Add hint about which database could not be purged Co-authored-by: Bastian Köcher <[email protected]>
-
- 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 26, 2021
-
-
Shaun Wang authored
-
- 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
-
-
Shawn Tabrizi authored
* Fix HRMP Location * Add call to xcm handler
-
- 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 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]>
-