Add XCM Handler (#267)

* initial mock

* integrate xcm-handler into runtime

* expose xcm send error

* oops

* better comment
This commit is contained in:
Shawn Tabrizi
2020-12-17 09:42:00 -08:00
committed by GitHub
parent 8226063135
commit afc50e8ade
8 changed files with 349 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
[package]
name = "xcm-handler"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
# Other dependencies
codec = { package = "parity-scale-codec", version = "1.3.0", features = [ "derive" ], default-features = false }
# Substrate Dependencies
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
# Polkadot Dependencies
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
# Cumulus Dependencies
cumulus-primitives = { path = "../primitives", default-features = false }
[features]
default = [ "std" ]
std = [
"codec/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"cumulus-primitives/std",
"xcm/std"
]