Skip to content

Commit

Permalink
replace crate
Browse files Browse the repository at this point in the history
  • Loading branch information
PraetorP committed Mar 20, 2024
1 parent 3ce306f commit ddae561
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ members = [
"polkadot/xcm/pallet-xcm-benchmarks",
"polkadot/xcm/procedural",
"polkadot/xcm/xcm-builder",
"polkadot/xcm/xcm-builder/xcm-payment-runtime-api",
"polkadot/xcm/xcm-fee-payment-runtime-api",
"polkadot/xcm/xcm-executor",
"polkadot/xcm/xcm-executor/integration-tests",
"polkadot/xcm/xcm-simulator",
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ polkadot-statement-distribution = { path = "../network/statement-distribution",

xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-builder/xcm-payment-runtime-api", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-fee-payment-runtime-api", default-features = false }

[dev-dependencies]
polkadot-test-client = { path = "../test/client" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ polkadot-parachain-primitives = { path = "../../parachain", default-features = f
xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-builder/xcm-payment-runtime-api", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-fee-payment-runtime-api", default-features = false }

[dev-dependencies]
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/runtime/westend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parac
xcm = { package = "staging-xcm", path = "../../xcm", default-features = false }
xcm-executor = { package = "staging-xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-builder/xcm-payment-runtime-api", default-features = false }
xcm-fee-payment-runtime-api = { package = "xcm-fee-payment-runtime-api", path = "../../xcm/xcm-fee-payment-runtime-api", default-features = false }

[dev-dependencies]
hex-literal = "0.4.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"derive",
] }

sp-api = { path = "../../../../substrate/primitives/api", default-features = false }
sp-api = { path = "../../../substrate/primitives/api", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = [
"derive",
"serde",
] }
sp-std = { path = "../../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../../substrate/primitives/runtime", default-features = false }
sp-weights = { path = "../../../../substrate/primitives/weights", default-features = false }
xcm = { package = "staging-xcm", path = "../..", default-features = false }
frame-support = { path = "../../../../substrate/frame/support", default-features = false }
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
sp-weights = { path = "../../../substrate/primitives/weights", default-features = false }
xcm = { package = "staging-xcm", path = "../", default-features = false }
frame-support = { path = "../../../substrate/frame/support", default-features = false }

[features]
default = ["std"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub enum Error {
/// The given asset is not handled(as a fee payment).
#[codec(index = 4)]
AssetNotFound,
// Destination is known to be unroutable.
#[codec(index = 5)]
Unroutable,
}

0 comments on commit ddae561

Please sign in to comment.