- Mar 22, 2022
-
-
Squirrel authored
* less indexing * removed unneeded clone Co-authored-by: Keith Yeung <[email protected]>
-
- Mar 21, 2022
-
-
Squirrel authored
-
- Mar 07, 2022
-
-
Doordashcon authored
* add benchmarks for xcmp queue config data setters * add new benchmarks * cargo fmt * added newline * Additional weights for dmp queue for westmint * include new weights * Adding WeightInfo trait and friends * WeightInfo should be on xcmp rather than dmp pallet * cargo fmt * update scripts * mock weightinfo * cargo fmt * canvas kusama is substrate weight * weights from bm2 * expanding to other similar config functions * updated weights from bm2 * Revert "updated weights from bm2" This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76. * Consolidation to one benchmark * reran weights * Update pallets/xcmp-queue/src/lib.rs Co-authored-by: Ignacio Palacios <[email protected]> * integrating review feedback * rerun weights * Add DispatchClass::Operational Co-authored-by: Squirrel <[email protected]> Co-authored-by: Ignacio Palacios <[email protected]>
-
- Feb 25, 2022
-
-
wigy authored
* Updating dependencies * Adapting code to scale v3 * cargo fmt * Fix compilation * Update Cargo.lock * TIL exists Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 05, 2022
-
-
Doordashcon authored
* add QueueConfigData setter * update weights * syntax change * add test case * fix Result error * cargo fmt * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> * update * one call per set * cargo fmt * cargo fmt * mutate method * cargo fmt Co-authored-by: Alexander Popiak <[email protected]>
-
- Jan 31, 2022
-
-
Keith Yeung authored
* Add the ability to suspend or resume XCM execution on the XCMP queue * Rename QueueActive to QueueSuspended * Add the ability to suspend the DMP queue * Rename XCMP to DMP in comments where appropriate Co-authored-by: Alexander Popiak <[email protected]> * Add a bypass for XCMP queue suspension * Revert "Add the ability to suspend the DMP queue" This reverts commit 363ca09b41e40fce3f2740e7ab78f5c54781ca5c. * Change controller origin to either root or council-issued origin * Rename to ControllerOriginConverter Co-authored-by: Alexander Popiak <[email protected]>
-
- Jan 21, 2022
-
-
Keith Yeung authored
* Rename ParentIsDefault to ParentIsAllZeroes * Fixes * Create ParentAccounts for respective networks * Fixes * Use b"Parent" as the basis for generating parent AccountId * Fixes * Use preset parent account ID * update lockfile for {"polkadot"} Co-authored-by: parity-processbot <>
-
- Jan 20, 2022
-
-
Oliver Tale-Yazdi authored
* Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add `without_storage_info` Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"polkadot"} * Run `cargo update -p sp-io` Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: parity-processbot <>
-
- Jan 19, 2022
-
-
Bastian Köcher authored
* xcmp-queue: Fix handling of encoded blobs With #701 we tried to fix some infinite loop related to encoded blobs, however that lead actually to not being able to process encoded blobs at all. The reason for this is that `decode_all` doesn't consume the given input. The point of this function is that it returns an error if the data couldn't be decoded or there is still data left. However, this means that the check `remaining_fragments.len() < last_remaining_fragments.len()` would always fail. We remove the while loop, because we decode the entire fragment anyway or it fails. Aka, we don't need to loop here. Next we remove the broken check and we directly reset the `remaining_fragments` (because `decode_all` doesn't consume anything). * Restore correct behavior We need to use a while loop, because there can be multiple `Vec<u8>`s. We also need to use `decode`, because `decode_all` would otherwise return an error if the input is not empty afterwards. * Remove unused import
-
- Jan 14, 2022
-
-
Ignacio Palacios authored
* before adding seedling client side * seedling runtime compiles * create seedling spec script added * seedling node & BaseCallFilter fixes * update AllPalets * formatting * CallFilter + SignedExtra + AccountData fix * XCM removed * cleanup * solo-to-para pallet added & before testing * fix runtime upgrade method * soloToPara pallet + set header * clean up * clean up 2 * signed extension check sudo added * fmt + cleanup * Refac code and fixes * fmt * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * small fixes * OnValidationData used * small changes * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update pallets/solo-to-para/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * OnValidationData replaced by OnSystemEvent * fmt + cargo fix * disable-default-bootnodes for seedling script Co-authored-by: Ricardo Rius <[email protected]> Co-authored-by: Ricardo Rius <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Dec 10, 2021
-
-
Bastian Köcher authored
* Update to latest Polkadot & Substrate * More fixes
-
- Dec 09, 2021
-
-
Gavin Wood authored
* MaxConsumers * Fixes * Fixes * Fixes * Fixes * Bump * Fixes * Fixes Co-authored-by: Shawn Tabrizi <[email protected]>
-
Keith Yeung authored
* Support overweight messages in XCMP queue * Add storage migration logic to XCMP queue pallet * Check whether required weight is larger than max individual weight first * cargo fmt * Add some unit tests * Remove review question comment
-
- Dec 02, 2021
-
-
Keith Yeung authored
* Rename InboundXcmpStatus and its related types * Rename OutboundXcmpStatus and its relevant types * Add documentation to the newly created types * Ensure storage prefixes are kept the same * Add code comments * Revert storage name changes * typo fix Co-authored-by: Alexander Popiak <[email protected]>
-
- Nov 24, 2021
-
-
Chevdor authored
* Initial version * Fix branch pattern * Fix template * Update .github/ISSUE_TEMPLATE/release.md Co-authored-by: Alexander Popiak <[email protected]> * Update .github/ISSUE_TEMPLATE/release.md Co-authored-by: Alexander Popiak <[email protected]> * Rebase master and fmt * Swap out Polkadot JS section for integration tests + remove tags * remove tags Co-authored-by: Alexander Popiak <[email protected]>
-
Gavin Wood authored
-
- Nov 19, 2021
-
-
Bastian Köcher authored
* Update Substrate & Polkadot * Disable tests without debug assertions
-
- Oct 27, 2021
-
-
Gavin Wood authored
* Ensure a bad datastream cannot cause problems * Formatting * Formatting
-
- Oct 01, 2021
-
-
Bastian Köcher authored
* Same procedure as not every day * Remove warning * Update
-
- Sep 19, 2021
-
-
Keith Yeung authored
* Use DecodeLimit for decoding XCM messages * Use decode_all_with_depth_limit in appropriate places * Use decode_all while decoding byte vector * cargo fmt
-
- Sep 16, 2021
-
-
Chevdor authored
* ci: add quick-check with clippy and rustfmt * chore: rustfmt round * chore: set the same rustfmt config than substrate * chore: fix formatting * cI: remove clippy * ci: switch to nightly for the checks * ci: fix toolchains and naming * ci: Limit the check to formatting * chore: fix formatting * Update .rustfmt.toml * Update .rustfmt.toml Co-authored-by: Bastian Köcher <[email protected]>
-
Andrew Jones authored
* Remove event pallet::metadata attributes * Add scale-info deps, TypeInfo derives, update call variants * Update metadata runtime APIs * Add missing scale_info dependency, update rococo runtime API * Add missing scale_info dependency * Remove pushed diener patches * Cargo.lock * Add missing scale-info dependencies * Fixes * Statemint runtime fixes * Call struct variant empty matches * Add missing scale-info dependency * Fixes * scale-info 1.0 * cargo update -p xcm * update lock * Update Cargo.lock * update to latest polkadot * remove rpc_http_threads https://github.com/paritytech/substrate/pull/9737 * replace task executor with tokio handler https://github.com/paritytech/substrate/pull/9737 * fix test compilation? * Update Cargo.lock * cargo update * remove unused * Update substrate and polkadot * Update test/client/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Sep 04, 2021
-
-
asynchronous rob authored
* bump deps, fix aura-ext pallet, and fill in stubs for XCM * response handler, asset trap, asset claims * subscription_service * update xcmp-queue mock * fix tests * Update polkadot deps Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Aug 28, 2021
-
-
Gavin Wood authored
* Update .gitignore and bring into line with XCM v2's SendError * type * Some work * Weighed responses * extra fields to xcm pallet * Fixes * Bump
-
- Aug 12, 2021
-
-
Keith Yeung authored
* Use new MultiLocation syntax everywhere * Make tests compile
-
- Aug 09, 2021
-
-
Gavin Wood authored
* Remove Filter and use Contains instead * Fixes * Remove patch * Bump Polkadot * bump
-
- 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
-
-
Shaun Wang authored
* Use definitions from polkadot. * Remove unused imports. * Rerun CI.
-
- Jul 20, 2021
-
-
Bastian Köcher authored
-
- Jul 15, 2021
-
-
Shawn Tabrizi authored
-
- Jul 06, 2021
-
-
Shaun Wang authored
* Fix xcmp message processing condition. * add a very simple test * Update Cargo.lock * remove comment * remove comment Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Alexander Popiak <[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]>
-
- Apr 30, 2021
-
-
Gavin Wood authored
Closes #419
-
- 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
-
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]>
-