-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bifrost xcm-action * Refactor xcm-action * Support xcm-action moonbeam * Match moonbeam account * Add xcm-action to bifrost kusama * Support xcm-action * Add tuples-96 feature * Fix conditional compile * Update * Remove conditional compile * Fix ASTAR MaxWeightInValid * Remove tuples-96 feature and fix bug
- Loading branch information
1 parent
8986511
commit 400f989
Showing
27 changed files
with
2,215 additions
and
36 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
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
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,74 @@ | ||
[package] | ||
name = "bifrost-xcm-action" | ||
description = "A pallet to manage the execution of XCM messages" | ||
authors = ["hqwangningbo <[email protected]>"] | ||
edition = "2021" | ||
version = "0.8.0" | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
hex-literal = "0.3.4" | ||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } | ||
serde = { version = "1.0.152", default-features = false, features = ["derive"] } | ||
frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38",default-features = false, optional = true } | ||
frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38",default-features = false } | ||
frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38",default-features = false } | ||
cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } | ||
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } | ||
cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38",default-features = false } | ||
sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38",default-features = false } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38",default-features = false } | ||
xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } | ||
orml-traits = { version = "0.4.1-dev", default-features = false } | ||
orml-xtokens = { version = "0.4.1-dev", default-features = false } | ||
zenlink-protocol = { version = "*", default-features = false } | ||
|
||
node-primitives = { path = "../../node/primitives", default-features = false } | ||
xcm-interface = { path = "../xcm-interface", default-features = false } | ||
bifrost-asset-registry = { path = "../asset-registry", default-features = false } | ||
|
||
[dev-dependencies] | ||
pallet-balances = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } | ||
bifrost-vtoken-minting = { path = "../vtoken-minting" } | ||
bifrost-slp = { path = "../slp" } | ||
cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } | ||
orml-tokens = "0.4.1-dev" | ||
orml-currencies = "0.4.1-dev" | ||
xcm-executor = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } | ||
pallet-xcm = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } | ||
xcm-builder = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } | ||
xcm-simulator = {git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } | ||
bifrost-runtime-common = { package = "bifrost-runtime-common", path = "../../runtime/common", default-features = false } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"codec/std", | ||
"frame-benchmarking?/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"scale-info/std", | ||
"serde/std", | ||
"zenlink-protocol/std", | ||
"orml-traits/std", | ||
"orml-xtokens/std", | ||
"node-primitives/std", | ||
"cumulus-primitives-core/std", | ||
"sp-std/std", | ||
"bifrost-slp/std", | ||
"bifrost-runtime-common/std", | ||
"cumulus-pallet-xcm/std", | ||
"sp-core/std", | ||
"sp-runtime/std", | ||
"bifrost-asset-registry/std", | ||
] | ||
runtime-benchmarks = [ | ||
"frame-benchmarking/runtime-benchmarks", | ||
"frame-support/runtime-benchmarks", | ||
"frame-system/runtime-benchmarks", | ||
] | ||
try-runtime = ["frame-support/try-runtime"] | ||
with-bifrost-polkadot-runtime = [] |
Oops, something went wrong.