This repository has been 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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add xcm-simulator and xcm-simulator-example. * Abstract xcmp and dmp handling. * Use mock message queue. * Xcm simulator example unit tests. * Use relay chain block number on sending msg. * Fix typo. * fmt * more fmt * Fix deps.
- Loading branch information
Showing
11 changed files
with
1,107 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "xcm-simulator" | ||
version = "0.9.8" | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
description = "Test kit to simulate cross-chain message passing and XCM execution" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "2.0.0" } | ||
paste = "1.0.5" | ||
|
||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
||
xcm = { path = "../" } | ||
xcm-executor = { path = "../xcm-executor" } | ||
polkadot-core-primitives = { path = "../../core-primitives"} | ||
polkadot-parachain = { path = "../../parachain" } | ||
polkadot-runtime-parachains = { path = "../../runtime/parachains" } |
This file contains 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
name = "xcm-simulator-example" | ||
version = "0.9.8" | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
description = "Examples of xcm-simulator usage." | ||
edition = "2018" | ||
|
||
[dependencies] | ||
codec = { package = "parity-scale-codec", version = "2.0.0" } | ||
paste = "1.0.5" | ||
|
||
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } | ||
|
||
xcm = { path = "../../" } | ||
xcm-simulator = { path = "../" } | ||
xcm-executor = { path = "../../xcm-executor" } | ||
xcm-builder = { path = "../../xcm-builder" } | ||
pallet-xcm = { path = "../../pallet-xcm" } | ||
polkadot-core-primitives = { path = "../../../core-primitives"} | ||
polkadot-runtime-parachains = { path = "../../../runtime/parachains" } | ||
polkadot-parachain = { path = "../../../parachain" } |
Oops, something went wrong.