Backport from polkadot-sdk + bump (#2725)

* Backport from `polkadot-sdk`

* Bump `polkadot-sdk`

* revert

* Cargo.lock
This commit is contained in:
Branislav Kontur
2023-12-04 17:00:04 +01:00
committed by Bastian Köcher
parent 1a2e11a51d
commit 1eb73979bd
27 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ messages between chains.
│ ├── parachains // On-Chain Parachains Light Client │ ├── parachains // On-Chain Parachains Light Client
│ ├── relayers // Relayer Rewards Registry │ ├── relayers // Relayer Rewards Registry
│ ├── xcm-bridge-hub // Multiple Dynamic Bridges Support │ ├── xcm-bridge-hub // Multiple Dynamic Bridges Support
│ ├── xcm-bridge-hub-router // XCM Router that may be used to Connect to XCM Bridge Hub │ ├── xcm-bridge-hub-router // XCM Router that may be used to Connect to XCM Bridge Hub
├── primitives // Code shared between modules, runtimes, and relays ├── primitives // Code shared between modules, runtimes, and relays
│ └── ... │ └── ...
├── relays // Application for sending finality proofs and messages between chains ├── relays // Application for sending finality proofs and messages between chains
+2 -2
View File
@@ -50,7 +50,7 @@ bp-test-utils = { path = "../../primitives/test-utils" }
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-messages/std", "bp-messages/std",
@@ -92,4 +92,4 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks", "sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks", "xcm-builder/runtime-benchmarks",
] ]
integrity-test = [ "static_assertions" ] integrity-test = ["static_assertions"]
+1 -1
View File
@@ -37,7 +37,7 @@ sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-runtime/std", "bp-runtime/std",
+1 -1
View File
@@ -31,7 +31,7 @@ pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch =
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-messages/std", "bp-messages/std",
"bp-runtime/std", "bp-runtime/std",
+1 -1
View File
@@ -35,7 +35,7 @@ sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-parachains/std", "bp-parachains/std",
+1 -1
View File
@@ -34,7 +34,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-messages/std", "bp-messages/std",
"bp-relayers/std", "bp-relayers/std",
@@ -34,7 +34,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-xcm-bridge-hub-router/std", "bp-xcm-bridge-hub-router/std",
"codec/std", "codec/std",
@@ -17,7 +17,7 @@ frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "
bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false } bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-xcm-bridge-hub-router/std", "bp-xcm-bridge-hub-router/std",
"codec/std", "codec/std",
@@ -17,7 +17,7 @@ frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "
bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false } bp-xcm-bridge-hub-router = { path = "../xcm-bridge-hub-router", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-xcm-bridge-hub-router/std", "bp-xcm-bridge-hub-router/std",
"codec/std", "codec/std",
@@ -24,7 +24,7 @@ sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false , branch = "master" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false , branch = "master" }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-messages/std", "bp-messages/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
@@ -21,7 +21,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-bridge-hub-cumulus/std", "bp-bridge-hub-cumulus/std",
"bp-messages/std", "bp-messages/std",
@@ -22,7 +22,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-bridge-hub-cumulus/std", "bp-bridge-hub-cumulus/std",
"bp-messages/std", "bp-messages/std",
@@ -21,7 +21,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-bridge-hub-cumulus/std", "bp-bridge-hub-cumulus/std",
"bp-messages/std", "bp-messages/std",
@@ -22,7 +22,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-bridge-hub-cumulus/std", "bp-bridge-hub-cumulus/std",
"bp-messages/std", "bp-messages/std",
+1 -1
View File
@@ -21,7 +21,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
@@ -26,7 +26,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-messages/std", "bp-messages/std",
+1 -1
View File
@@ -21,7 +21,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
+1 -1
View File
@@ -21,7 +21,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
+1 -1
View File
@@ -21,7 +21,7 @@ sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
+1 -1
View File
@@ -30,7 +30,7 @@ hex = "0.4"
hex-literal = "0.4" hex-literal = "0.4"
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-runtime/std", "bp-runtime/std",
"codec/std", "codec/std",
+2 -2
View File
@@ -7,7 +7,7 @@ edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies] [dependencies]
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive", "bit-vec"] } codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
@@ -27,7 +27,7 @@ hex = "0.4"
hex-literal = "0.4" hex-literal = "0.4"
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-runtime/std", "bp-runtime/std",
+1 -1
View File
@@ -25,7 +25,7 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-polkadot-core/std", "bp-polkadot-core/std",
+1 -1
View File
@@ -29,7 +29,7 @@ sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
hex = "0.4" hex = "0.4"
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-messages/std", "bp-messages/std",
"bp-runtime/std", "bp-runtime/std",
+2 -2
View File
@@ -7,7 +7,7 @@ edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies] [dependencies]
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive", "bit-vec"] } codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] }
# Bridge Dependencies # Bridge Dependencies
@@ -26,7 +26,7 @@ hex = "0.4"
hex-literal = "0.4" hex-literal = "0.4"
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-messages/std", "bp-messages/std",
"bp-runtime/std", "bp-runtime/std",
+1 -1
View File
@@ -31,7 +31,7 @@ trie-db = { version = "0.28.0", default-features = false }
hex-literal = "0.4" hex-literal = "0.4"
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"codec/std", "codec/std",
"frame-support/std", "frame-support/std",
+3 -3
View File
@@ -7,9 +7,9 @@ edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies] [dependencies]
bp-header-chain = { path = "../header-chain", default-features = false } bp-header-chain = { path = "../header-chain", default-features = false }
bp-parachains = { path = "../parachains", default-features = false } bp-parachains = { path = "../parachains", default-features = false }
bp-polkadot-core = { path = "../polkadot-core", default-features = false } bp-polkadot-core = { path = "../polkadot-core", default-features = false }
bp-runtime = { path = "../runtime", default-features = false } bp-runtime = { path = "../runtime", default-features = false }
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false } codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false }
ed25519-dalek = { version = "2.1", default-features = false } ed25519-dalek = { version = "2.1", default-features = false }
@@ -22,7 +22,7 @@ sp-std = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master"
sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-trie = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ std = [
"bp-header-chain/std", "bp-header-chain/std",
"bp-parachains/std", "bp-parachains/std",
@@ -7,7 +7,7 @@ edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0" license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies] [dependencies]
codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["derive", "bit-vec"] } codec = { package = "parity-scale-codec", version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] } scale-info = { version = "2.10.0", default-features = false, features = ["bit-vec", "derive"] }
# Substrate Dependencies # Substrate Dependencies
@@ -15,5 +15,5 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "mas
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "master", default-features = false }
[features] [features]
default = [ "std" ] default = ["std"]
std = [ "codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std" ] std = ["codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std"]