Keith Yeung
e02878e87a
Fixes
2022-09-22 23:16:22 +08:00
Keith Yeung
1dba83a903
Fixes
2022-09-22 22:26:02 +08:00
Keith Yeung
7dc793d76c
Merge branch 'master' into gav-xcm-v3
2022-09-22 21:36:30 +08:00
1f2b85c87b
Companion for paritytech/substrate#12219 ( #1610 )
...
* Remove CanAuthorWith trait
CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.
* Companion for paritytech/substrate#12219
* Fixes
* polkadot-runtime-common updated
cargo update -p polkadot-runtime-common
* warning fixed
* Update cid
* update lockfile for {"polkadot", "substrate"}
* Update substrate
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Fix tests
* 🤦
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-09-14 07:59:03 +00:00
Keith Yeung and parity-processbot
6c27ce26f1
Companion for paritytech/substrate#12183 ( #1601 )
...
* Companion for paritytech/substrate#12183
* Fixes
* Update pallets/xcmp-queue/src/lib.rs
* Update pallets/xcmp-queue/src/lib.rs
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-09-08 05:29:53 +00:00
4a7a2a85b2
Companion for paritytech/substrate#12157 ( #1590 )
...
* Remove RefTimeWeight
* [ci] Apply cargo-fmt
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-02 19:36:55 +00:00
Keith Yeung
5166698140
Fixes
2022-08-25 21:18:07 +08:00
Keith Yeung
5c54d38b42
Fixes
2022-08-25 18:50:29 +08:00
Keith Yeung
bee34ba3f9
Fixes
2022-08-25 18:13:24 +08:00
Keith Yeung
004f0449f4
Fixes
2022-08-25 16:57:51 +08:00
Keith Yeung
31accbd975
Fixes
2022-08-25 16:38:08 +08:00
Keith Yeung
3ba852b3bf
Fixes
2022-08-25 02:11:44 +08:00
Keith Yeung
d1230e3d77
Fixes
2022-08-25 01:39:43 +08:00
Keith Yeung
57e44204d5
Fixes
2022-08-25 01:16:01 +08:00
Keith Yeung
0f3f8b8623
Fixes
2022-08-25 01:01:51 +08:00
Keith Yeung
1fc2cb4bd2
Fixes
2022-08-25 00:49:38 +08:00
Keith Yeung
67c99fdc4b
Fixes
2022-08-25 00:36:04 +08:00
Keith Yeung
5a34514967
Fixes
2022-08-25 00:17:33 +08:00
Keith Yeung
ad1cbecabd
Fixes
2022-08-24 23:15:56 +08:00
Keith Yeung
bd3ce91d85
Fixes
2022-08-24 23:03:03 +08:00
Keith Yeung
187c47a682
Add CallDispatcher
2022-08-24 22:45:57 +08:00
Keith Yeung
9ee4759fcf
Fixes
2022-08-24 22:42:49 +08:00
Keith Yeung
4e53da1c72
Fixes
2022-08-24 22:30:41 +08:00
Keith Yeung
059037f02d
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-08-24 21:45:32 +08:00
Keith Yeung
620c42cd0c
Fixes
2022-08-14 10:11:01 +08:00
Keith Yeung
0e6fd2dcc7
cargo fmt
2022-08-14 09:52:40 +08:00
Keith Yeung
667273a7be
Fix naming
2022-08-14 09:50:01 +08:00
Keith Yeung
9c6296ca95
Merge remote-tracking branch 'origin' into gav-xcm-v3
2022-08-14 07:19:05 +08:00
Keith Yeung
49fc743a7e
Companion for paritytech/substrate#11631 ( #1363 )
2022-06-16 17:36:19 +00:00
Keith Yeung
ae5e6d4c4d
Bounded ping pallet ( #1333 )
...
* Bounded ping pallet
* cargo fmt
2022-06-15 20:58:52 +00:00
Keith Yeung and Squirrel
5fc7d4be96
Bounded collator selection pallet ( #1337 )
...
* Bounded collator selection pallet
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-06-14 12:36:14 +00:00
567cb0ed97
Bounded aura ext pallet ( #1359 )
...
* Bounded aura ext pallet
* bump deps
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-14 02:38:50 +00:00
Keith Yeung
7b87e86562
Derive MaxEncodedLen on cumulus_pallet_xcm::Origin ( #1360 )
2022-06-14 01:26:31 +00:00
Keith Yeung
4453f082d5
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-04-14 22:47:41 -07:00
Keith Yeung
3fd47f9d17
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-03-21 08:33:06 -07:00
Keith Yeung
d8861bddbf
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-03-21 08:30:34 -07:00
Keith Yeung
b8cb39dec3
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-03-14 09:11:14 -07:00
Keith Yeung
780475dc70
Use ConstantPrice from polkadot-runtime-common
2022-03-14 09:09:02 -07:00
Keith Yeung
c3ee8a1547
cargo fmt
2022-03-12 00:02:40 -08:00
Keith Yeung
c42ccafd9f
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2022-03-11 23:58:13 -08:00
Keith Yeung
fb1d3f2a2b
Make the price of UMP/XCMP message sending configurable
2022-03-11 23:56:56 -08:00
Keith Yeung
f474297b5b
Fixes
2022-03-11 00:22:39 -08:00
Keith Yeung
484e63daf1
Fixes
2022-03-10 23:25:36 -08:00
Keith Yeung
9e70ba8317
Fixes
2022-03-10 23:00:14 -08:00
Keith Yeung
a10ac2e7d2
Fixes
2022-03-10 21:51:38 -08:00
Keith Yeung
005d37a1d4
Fixes
2022-03-10 21:21:34 -08:00
Keith Yeung
3fb3bb9b25
Merge branch 'master' into gav-xcm-v3
2022-03-10 20:31:13 -08:00
Keith Yeung
6cec5c8912
Fixes
2022-03-09 18:57:24 -08:00
Keith Yeung
23c26db563
Include message ID as params to execute_xcm
2022-03-09 03:11:16 -08:00
Keith Yeung
8b81608dfb
Merge branch 'master' into gav-xcm-v3
2022-03-08 22:58:14 -08:00
Keith Yeung
1f94506386
Use WeightToFee when calculating cost of each weight unit in XCM trader ( #1055 )
...
* Use WeightToFee when calculating cost of each weight unit in XCM trader
* Set the OnUnbalanced type parameter for XCM Traders
2022-03-08 09:10:41 +00:00
Keith Yeung
e141b72ec7
Update rand to v0.8.5 ( #987 )
...
* Update rand to v0.8.5
* Enable std_rng feature on rand
* Enable std_rng only when std is enabled
* Revert "Enable std_rng only when std is enabled"
This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
2022-02-14 23:14:05 +00:00
Keith Yeung
18af89c601
Move XCM configurations out into its own module ( #981 )
...
* Move XCM configurations out into its own module
* Revert removal of the AccountNonceApi
2022-02-11 15:59:48 -08:00
Keith Yeung and Alexander Popiak
77491879cd
Add the ability to suspend or resume XCM execution on the XCMP queue ( #896 )
...
* 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 <alexander.popiak@parity.io >
* 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 <alexander.popiak@parity.io >
2022-01-31 12:12:09 +00:00
Keith Yeung and parity-processbot
9c977d66a3
Companion for paritytech/polkadot#4712 ( #901 )
...
* 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 <>
2022-01-21 11:40:27 +00:00
Keith Yeung
2c0ac0a4a3
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
2021-12-30 21:40:20 -08:00
Keith Yeung
c88b4e643a
Update proc-macro2 to 1.0.36 ( #879 )
2021-12-28 21:38:20 +01:00
Keith Yeung
1856c5df34
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
Keith Yeung
45c6efa812
Disable asset transfers on Statemint (against master branch) ( #838 )
...
* Disable asset transfers on Statemint
* Fixup
2021-12-16 01:05:16 +00:00
Keith Yeung
e27fd228fd
Update XCM MultiLocation prefixes for assets ( #831 )
2021-12-13 23:52:38 +00:00
Keith Yeung
1a71d006a7
Update serde to 1.0.131 ( #853 )
2021-12-11 14:10:51 +01:00
Keith Yeung
1bfbc7fe0c
Add CheckNonZeroSender to runtime configs ( #847 )
...
* Add CheckNonZeroSender to runtime configs
* cargo update -p polkadot-primitives
* Fixes
* Fixes
2021-12-09 14:53:51 +01:00
Keith Yeung
b5a7ab4d12
Support overweight messages in XCMP queue ( #799 )
...
* 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
2021-12-08 18:07:08 -08:00
Keith Yeung and Alexander Popiak
ca81203b83
Refactor some types in XCMP queue ( #813 )
...
* 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 <alexander.popiak@parity.io >
2021-12-02 00:24:04 +00:00
Keith Yeung
ad517067da
Bump syn to 1.0.81 ( #707 )
...
* Bump syn to 1.0.81
* Make formatting check happy
2021-10-27 19:26:49 +02:00
Keith Yeung
1aab3349cc
Use DecodeLimit for decoding XCM messages ( #605 )
...
* Use DecodeLimit for decoding XCM messages
* Use decode_all_with_depth_limit in appropriate places
* Use decode_all while decoding byte vector
* cargo fmt
2021-09-19 15:29:34 +03:00
Keith Yeung
906bf97321
Use new MultiLocation syntax everywhere ( #570 )
...
* Use new MultiLocation syntax everywhere
* Make tests compile
2021-08-12 11:26:49 +02:00
Keith Yeung
303b194f4a
Properly declare #[pallet::validate_unsigned] in ParachainSystem ( #537 )
...
* Properly declare #[pallet::validate_unsigned] in ParachainSystem
* Add ValidateUnsigned to construct_runtime in ParachainSystem tests
2021-07-14 21:26:34 -04:00
Keith Yeung and Bastian Köcher
78ad174b15
Upgrade pallets to FRAMEv2 ( #404 )
...
* 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 <bkchr@users.noreply.github.com >
2021-05-08 22:18:01 +02:00
Keith Yeung
cbd72e7ab8
Declare Error type in decl_module! ( #390 )
...
* Declare Error type in decl_module! for parachain-systems
* Declare Error type in decl_module! for xcm-handler
2021-04-07 11:38:41 +02:00