This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
XCM v0 #1657
Closed
Closed
XCM v0 #1657
Changes from 1 commit
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
8f6ce0e
Rename XCMP -> Xcmp
gavofyork 6ce0b56
Merge remote-tracking branch 'origin/rococo-branch' into gav-xcmp
gavofyork 4ba8022
WiP: Xcm
gavofyork 7492c3b
Finish up on draft
gavofyork 9658a23
Remove old code, work on getting it all to build.
gavofyork 84d1c55
XCM handler and parachains now build 🎉
gavofyork 0c0796e
Various fixes
gavofyork a563c53
Fix compilation
bkchr 38656a0
fix tests
shawntabrizi d8b67f1
Merge branch 'gav-xcmp' of https://github.com/paritytech/polkadot int…
shawntabrizi 9c16e3d
bump parity-scale-codec 1.3.5, fix `dest_` -> `dest`
shawntabrizi f979fab
remove unused
shawntabrizi 87e2090
Remove defunct code
gavofyork f672cc6
Merge branch 'gav-xcmp' of github.com:paritytech/polkadot into gav-xcmp
gavofyork 4d2e8d1
Derive `RuntimeDebug` across XCM enums
shawntabrizi db7aa74
Working
gavofyork 89b3695
More work
gavofyork 3115e1d
Some fixes
bkchr 0dfcd00
Merge branch 'gav-xcmp' into gav-xcmp-working
gavofyork 9dd154b
More work
gavofyork 4163db9
Merge branch 'gav-xcmp-working' of github.com:paritytech/polkadot int…
gavofyork 0566de0
Move interpreter into polkadot, split & repot
gavofyork a5c0e95
Move interpreter into polkadot, split & repot
gavofyork fdfabe6
Remove 'static'
gavofyork fa116b0
Fix toml file
bkchr 10f8641
imports
shawntabrizi 3887848
fix filename
shawntabrizi b2384b9
some fixes
shawntabrizi 7d158e8
Fix
gavofyork 8743525
Merge branch 'gav-xcmp-working' of github.com:paritytech/polkadot int…
gavofyork 060a337
Fixes
gavofyork 9a4497a
Fixes
gavofyork ee07247
Fixes
gavofyork 2d9550e
Fixes
gavofyork 3ae493e
Fixes
gavofyork 40a6fb0
Fixes
gavofyork 534b731
Fixes
gavofyork 953a581
Fixes
gavofyork 91f3914
Fixes
gavofyork ba8bdaa
Fixes
gavofyork 52affef
Fixes
gavofyork 1b1e265
fixes
shawntabrizi c958d08
Fixes
gavofyork 1a3dc55
remove `frame-system`
shawntabrizi 721a3e9
Fixes
gavofyork c83ee04
Merge branch 'gav-xcmp-working' of github.com:paritytech/polkadot int…
gavofyork a6131ae
Fixes
gavofyork 85dee1a
Fixes
gavofyork 4c77f93
fixes for `parachains`
shawntabrizi 22d5321
Merge branch 'gav-xcmp-working' of https://github.com/paritytech/polk…
shawntabrizi 0d37c9b
Fixes
gavofyork 9ccc139
Merge branch 'gav-xcmp-working' of github.com:paritytech/polkadot int…
gavofyork 7a7c958
QueryHolding
gavofyork a213bd3
`From` instead of `UncheckedFrom`
shawntabrizi e609000
Initial effort at integrating xcm-executor into Rococo
gavofyork c25b4b7
Merge branch 'gav-xcmp-working' of github.com:paritytech/polkadot int…
gavofyork 1aeb7c8
Fixes
gavofyork 6080e7b
Fixes
gavofyork 739eeb7
Fixes
gavofyork 9334f62
Fixes
gavofyork bc01389
Fixes
gavofyork ec55f0b
Rococo builds! 🎉
gavofyork 6e112c9
Implement Xcm for the unit type
shawntabrizi b092cd4
Fixes
gavofyork 61a4090
Fixes
gavofyork 7dea1b3
Fixes
gavofyork 758d675
Fixes
gavofyork aa08941
Fixes
gavofyork 2e8a923
Fixes
gavofyork 3869118
Fixes
gavofyork eab83fe
Fixes
gavofyork 6565989
Fixes
gavofyork a388c68
Refactor all the hard logic away.
gavofyork 17a6a16
Fixes
gavofyork 3121739
Fixes
gavofyork 9b39a46
Fixes
gavofyork 3b3ef7c
Broken.
gavofyork 14b36e3
Add `RuntimeDebug` to Assets
shawntabrizi a6222b2
Fixes
gavofyork f5143f3
Merge branch 'gav-xcmp' of github.com:paritytech/polkadot into gav-xcmp
gavofyork 87ab207
Fix DepositReserveAsset. Repotting, renaming and docs.
gavofyork 7d572f6
fix networkid export
shawntabrizi 7d1629d
Full docs.
gavofyork 358673b
Merge remote-tracking branch 'origin/gav-xcmp' into gav-xcmp
gavofyork baa3e74
Polkadot JS Types
shawntabrizi 2ef7c7e
Update types.json
shawntabrizi f712a36
Fix `RocLocation`
shawntabrizi b4bc868
Fixes
gavofyork ccb2c08
Merge branch 'gav-xcmp' of github.com:paritytech/polkadot into gav-xcmp
gavofyork 573df3d
Generate tuples properly.
gavofyork e19549f
Improve docs
gavofyork 94b96dd
Docs and API tidy
gavofyork cf02df9
Merge branch 'gav-xcmp' of github.com:paritytech/polkadot into gav-xcmp
gavofyork a4eeae0
Introduce some error handling (#1709)
shawntabrizi b60cf99
Fixes
gavofyork dfa3290
Merge branch 'gav-xcmp' of github.com:paritytech/polkadot into gav-xcmp
gavofyork 3f22946
Fixes
gavofyork 8c86f3f
Fixes
gavofyork 17bacc8
Fixes
gavofyork e4c31ee
Add result events, logging
gavofyork 33ecb02
Fixes
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Derive
RuntimeDebug across XCM enums
- Loading branch information
commit 4d2e8d15a2eb349e4ee691ce98c2547ed7ada0e8
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,7 @@ impl Decode for XcmEnvelope { | |
| } | ||
|
|
||
| /// A single XCM message, together with its version code. | ||
| #[derive(Clone, Eq, PartialEq, Encode, Decode)] | ||
| #[derive(Clone, Eq, PartialEq, Encode, Decode, RuntimeDebug)] | ||
| pub enum VersionedXcm { | ||
| V0(v0::Xcm), | ||
| } | ||
|
|
@@ -167,7 +167,7 @@ pub mod v0 { | |
| Each(Vec<MultiAsset>), | ||
| } | ||
|
|
||
| #[derive(Clone, Eq, PartialEq, Encode, Decode)] | ||
| #[derive(Clone, Eq, PartialEq, Encode, Decode, RuntimeDebug)] | ||
| pub enum Ai { | ||
|
||
| Each(Vec<Ai>), | ||
| DepositAsset { asset: MultiAsset, dest: MultiLocation }, | ||
|
|
@@ -177,7 +177,7 @@ pub mod v0 { | |
| QueryHolding { #[codec(compact)] query_id: u64, dest: MultiLocation, assets: Vec<MultiAsset> }, | ||
| } | ||
|
|
||
| #[derive(Clone, Eq, PartialEq, Encode, Decode)] | ||
| #[derive(Clone, Eq, PartialEq, Encode, Decode, RuntimeDebug)] | ||
| pub enum Xcm { | ||
| WithdrawAsset { asset: MultiAsset, effect: Ai }, | ||
| // Equivalent to WithdrawAsset{asset, Ai::InitiateReserveTransfer{asset, dest, effect} | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this to first one to match with
Ai::Each