Enforce consistent and correct toml formatting (#2518)

Using taplo, fixes all our broken and inconsistent toml formatting and
adds CI to keep them tidy.

If people want we can customise the format rules as described here
https://taplo.tamasfe.dev/configuration/formatter-options.html

@ggwpez, I suggest zepter is used only for checking features are
propagated, and leave formatting for taplo to avoid duplicate work and
conflicts.

TODO
- [x] Use `exclude = [...]` syntax in taplo file to ignore zombienet
tests instead of deleting the dir

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Liam Aharon
2023-12-01 11:38:02 +04:00
committed by GitHub
parent 52132636d9
commit 4a293bc5a2
364 changed files with 2325 additions and 2287 deletions
+5 -5
View File
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
# external deps
parity-scale-codec = { version = "3.2.2", default-features = false, features = ["derive"] }
scale-info = { version = "2.6.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.6.0", default-features = false, features = ["derive"] }
# primitive deps, used for developing FRAME pallets.
sp-runtime = { default-features = false, path = "../primitives/runtime" }
@@ -27,8 +27,8 @@ sp-core = { default-features = false, path = "../primitives/core" }
sp-arithmetic = { default-features = false, path = "../primitives/arithmetic" }
# frame deps, for developing FRAME pallets.
frame-support = { default-features = false, path = "support" }
frame-system = { default-features = false, path = "system" }
frame-support = { default-features = false, path = "support" }
frame-system = { default-features = false, path = "system" }
# primitive types used for developing FRAME runtimes.
sp-version = { default-features = false, path = "../primitives/version", optional = true }
@@ -52,8 +52,8 @@ log = { version = "0.4.20", default-features = false }
pallet-examples = { path = "./examples" }
[features]
default = [ "runtime", "std" ]
experimental = [ "frame-support/experimental", "frame-system/experimental" ]
default = ["runtime", "std"]
experimental = ["frame-support/experimental", "frame-system/experimental"]
runtime = [
"frame-executive",
"frame-system-rpc-runtime-api",
+8 -8
View File
@@ -19,27 +19,27 @@ log = { version = "0.4.14", default-features = false }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-core-hashing = { path = "../../primitives/core/hashing", default-features = false, optional = true }
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-identity = { path = "../identity", default-features = false }
pallet-collective = { path = "../collective", default-features = false, optional = true }
[dev-dependencies]
array-bytes = "6.1"
sp-core-hashing = { path = "../../primitives/core/hashing", default-features = false}
sp-core-hashing = { path = "../../primitives/core/hashing", default-features = false }
pallet-balances = { path = "../balances" }
pallet-collective = { path = "../collective" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+10 -10
View File
@@ -14,24 +14,24 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-api = { path = "../../primitives/api", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
pallet-assets = { path = "../assets" }
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info", "num-traits"] }
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "num-traits", "scale-info"] }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+8 -8
View File
@@ -16,20 +16,20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"derive",
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false, optional = true}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false, optional = true }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-io = { path = "../../primitives/io" }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+6 -6
View File
@@ -16,15 +16,15 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
# Needed for various traits. In our case, `OnFinalize`.
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false }
# Needed for type-safe access to storage DB.
frame-support = { path = "../support", default-features = false}
frame-support = { path = "../support", default-features = false }
# `system` module provides us with all sorts of useful stuff and macros depend on it being around.
frame-system = { path = "../system", default-features = false}
frame-system = { path = "../system", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
[dev-dependencies]
sp-std = { path = "../../primitives/std" }
@@ -32,7 +32,7 @@ sp-io = { path = "../../primitives/io" }
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+7 -7
View File
@@ -15,18 +15,18 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+9 -9
View File
@@ -16,20 +16,20 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-timestamp = { path = "../timestamp", default-features = false}
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false}
sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-timestamp = { path = "../timestamp", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false }
sp-consensus-aura = { path = "../../primitives/consensus/aura", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
@@ -17,22 +17,22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"derive",
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-session = { path = "../session", default-features = false, features = [
"historical",
]}
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false}
sp-authority-discovery = { path = "../../primitives/authority-discovery", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
] }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false }
sp-authority-discovery = { path = "../../primitives/authority-discovery", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+5 -5
View File
@@ -18,17 +18,17 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
impl-trait-for-tuples = "0.2.2"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+10 -10
View File
@@ -16,20 +16,20 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-authorship = { path = "../authorship", default-features = false}
pallet-session = { path = "../session", default-features = false}
pallet-timestamp = { path = "../timestamp", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-authorship = { path = "../authorship", default-features = false }
pallet-session = { path = "../session", default-features = false }
pallet-timestamp = { path = "../timestamp", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
sp-consensus-babe = { path = "../../primitives/consensus/babe", default-features = false, features = ["serde"] }
sp-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-session = { path = "../../primitives/session", default-features = false}
sp-session = { path = "../../primitives/session", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
frame-election-provider-support = { path = "../election-provider-support" }
@@ -40,7 +40,7 @@ pallet-staking-reward-curve = { path = "../staking/reward-curve" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+1 -1
View File
@@ -50,7 +50,7 @@ frame-election-provider-support = { path = "../election-provider-support" }
frame-benchmarking = { path = "../benchmarking" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+3 -3
View File
@@ -11,9 +11,9 @@ publish = false
[dependencies]
honggfuzz = "0.5"
rand = { version = "0.8", features = ["std", "small_rng"] }
frame-election-provider-support = { path = "../../election-provider-support", features = ["fuzz"]}
pallet-bags-list = { path = "..", features = ["fuzz"]}
rand = { version = "0.8", features = ["small_rng", "std"] }
frame-election-provider-support = { path = "../../election-provider-support", features = ["fuzz"] }
pallet-bags-list = { path = "..", features = ["fuzz"] }
[[bin]]
name = "bags-list"
@@ -28,7 +28,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
sp-std = { path = "../../../primitives/std" }
# utils
remote-externalities = { package = "frame-remote-externalities" , path = "../../../utils/frame/remote-externalities" }
remote-externalities = { package = "frame-remote-externalities", path = "../../../utils/frame/remote-externalities" }
# others
log = "0.4.17"
+6 -6
View File
@@ -16,11 +16,11 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-transaction-payment = { path = "../transaction-payment" }
@@ -29,7 +29,7 @@ sp-io = { path = "../../primitives/io" }
paste = "1.0.12"
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+14 -14
View File
@@ -14,26 +14,26 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", optional = true }
binary-merkle-tree = { path = "../../utils/binary-merkle-tree", default-features = false}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-beefy = { path = "../beefy", default-features = false}
pallet-mmr = { path = "../merkle-mountain-range", default-features = false}
pallet-session = { path = "../session", default-features = false}
sp-consensus-beefy = { path = "../../primitives/consensus/beefy", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false}
sp-state-machine = { path = "../../primitives/state-machine", default-features = false}
binary-merkle-tree = { path = "../../utils/binary-merkle-tree", default-features = false }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-beefy = { path = "../beefy", default-features = false }
pallet-mmr = { path = "../merkle-mountain-range", default-features = false }
pallet-session = { path = "../session", default-features = false }
sp-consensus-beefy = { path = "../../primitives/consensus/beefy", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-api = { path = "../../primitives/api", default-features = false }
sp-state-machine = { path = "../../primitives/state-machine", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
sp-staking = { path = "../../primitives/staking" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"array-bytes",
"binary-merkle-tree/std",
+8 -8
View File
@@ -13,15 +13,15 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
serde = { version = "1.0.193", optional = true }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-authorship = { path = "../authorship", default-features = false}
pallet-session = { path = "../session", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-authorship = { path = "../authorship", default-features = false }
pallet-session = { path = "../session", default-features = false }
sp-consensus-beefy = { path = "../../primitives/consensus/beefy", default-features = false, features = ["serde"] }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-session = { path = "../../primitives/session", default-features = false}
sp-session = { path = "../../primitives/session", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
frame-election-provider-support = { path = "../election-provider-support" }
@@ -33,10 +33,10 @@ pallet-timestamp = { path = "../timestamp" }
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
sp-staking = { path = "../../primitives/staking" }
sp-state-machine = { path = "../../primitives/state-machine", default-features = false}
sp-state-machine = { path = "../../primitives/state-machine", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-election-provider-support/std",
+12 -12
View File
@@ -19,17 +19,17 @@ log = { version = "0.4.17", default-features = false }
paste = "1.0"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", optional = true }
frame-support = { path = "../support", default-features = false}
frame-support-procedural = { path = "../support/procedural", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false}
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-runtime-interface = { path = "../../primitives/runtime-interface", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-storage = { path = "../../primitives/storage", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-support-procedural = { path = "../support/procedural", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-api = { path = "../../primitives/api", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-runtime-interface = { path = "../../primitives/runtime-interface", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-storage = { path = "../../primitives/storage", default-features = false }
static_assertions = "1.1.0"
[dev-dependencies]
@@ -38,7 +38,7 @@ rusty-fork = { version = "0.3.0", default-features = false }
sp-keystore = { path = "../../primitives/keystore" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support-procedural/std",
+7 -7
View File
@@ -14,15 +14,15 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "..", default-features = false}
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-benchmarking = { path = "..", default-features = false }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
+9 -9
View File
@@ -18,20 +18,20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-treasury = { path = "../treasury", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-treasury = { path = "../treasury", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -12,22 +12,22 @@ repository.workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
bitvec = { version = "1.0.0", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
[dev-dependencies]
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"bitvec/std",
+10 -10
View File
@@ -18,21 +18,21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-bounties = { path = "../bounties", default-features = false}
pallet-treasury = { path = "../treasury", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-bounties = { path = "../bounties", default-features = false }
pallet-treasury = { path = "../treasury", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+8 -8
View File
@@ -16,16 +16,16 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+13 -13
View File
@@ -9,7 +9,7 @@ homepage = "https://substrate.io"
repository.workspace = true
description = "FRAME pallet for WASM contracts"
readme = "README.md"
include = ["src/**/*", "benchmarks/**", "build.rs", "README.md", "CHANGELOG.md"]
include = ["CHANGELOG.md", "README.md", "benchmarks/**", "build.rs", "src/**/*"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
@@ -37,19 +37,19 @@ rand_pcg = { version = "0.3", optional = true }
# Substrate Dependencies
environmental = { version = "1.1.4", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-balances = { path = "../balances", default-features = false , optional = true}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-balances = { path = "../balances", default-features = false, optional = true }
pallet-contracts-uapi = { path = "uapi" }
pallet-contracts-proc-macro = { path = "proc-macro" }
sp-api = { path = "../../primitives/api", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false}
xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false}
xcm = { package = "staging-xcm", path = "../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
@@ -60,7 +60,7 @@ wat = "1"
pallet-contracts-fixtures = { path = "./fixtures" }
# Polkadot Dependencies
xcm-builder = {package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder"}
xcm-builder = { package = "staging-xcm-builder", path = "../../../polkadot/xcm/xcm-builder" }
# Substrate Dependencies
pallet-balances = { path = "../balances" }
@@ -74,7 +74,7 @@ sp-keystore = { path = "../../primitives/keystore" }
sp-tracing = { path = "../../primitives/tracing" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"environmental/std",
@@ -20,5 +20,3 @@ toml = "0.8.8"
twox-hash = "1.6.3"
anyhow = "1.0.0"
cfg-if = { version = "1.0", default-features = false }
@@ -6,4 +6,3 @@ authors.workspace = true
edition.workspace = true
license.workspace = true
description = "Common utilities for pallet-contracts-fixtures."
@@ -9,36 +9,36 @@ repository.workspace = true
description = "A mock network for testing pallet-contracts"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ "derive", "max-encoded-len"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-assets = { path = "../../assets" }
pallet-balances = { path = "../../balances" }
pallet-contracts = { path = ".." }
pallet-contracts-uapi = { path = "../uapi", default-features = false}
pallet-contracts-uapi = { path = "../uapi", default-features = false }
pallet-contracts-proc-macro = { path = "../proc-macro" }
pallet-insecure-randomness-collective-flip = { path = "../../insecure-randomness-collective-flip" }
pallet-message-queue = { path = "../../message-queue" }
pallet-proxy = { path = "../../proxy" }
pallet-timestamp = { path = "../../timestamp" }
pallet-utility = { path = "../../utility" }
pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false}
polkadot-parachain-primitives = { path = "../../../../polkadot/parachain" }
polkadot-primitives = { path = "../../../../polkadot/primitives" }
polkadot-runtime-parachains = {path = "../../../../polkadot/runtime/parachains"}
pallet-xcm = { path = "../../../../polkadot/xcm/pallet-xcm", default-features = false }
polkadot-parachain-primitives = { path = "../../../../polkadot/parachain" }
polkadot-primitives = { path = "../../../../polkadot/primitives" }
polkadot-runtime-parachains = { path = "../../../../polkadot/runtime/parachains" }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-api = { path = "../../../primitives/api", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false}
sp-api = { path = "../../../primitives/api", default-features = false }
sp-core = { path = "../../../primitives/core", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-keystore = { path = "../../../primitives/keystore" }
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
sp-tracing = { path = "../../../primitives/tracing" }
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false}
xcm-builder = {package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder"}
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false}
xcm-simulator = {path = "../../../../polkadot/xcm/xcm-simulator"}
xcm = { package = "staging-xcm", path = "../../../../polkadot/xcm", default-features = false }
xcm-builder = { package = "staging-xcm-builder", path = "../../../../polkadot/xcm/xcm-builder" }
xcm-executor = { package = "staging-xcm-executor", path = "../../../../polkadot/xcm/xcm-executor", default-features = false }
xcm-simulator = { path = "../../../../polkadot/xcm/xcm-simulator" }
[dev-dependencies]
assert_matches = "1"
@@ -46,7 +46,7 @@ pretty_assertions = "1"
pallet-contracts-fixtures = { path = "../fixtures" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
@@ -0,0 +1,33 @@
[package]
name = "pallet-contracts-primitives"
version = "24.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "A crate that hosts a common definitions that are relevant for the pallet-contracts."
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
bitflags = "1.0"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
# Substrate Dependencies (This crate should not rely on frame)
sp-std = { path = "../../../primitives/std", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-weights = { path = "../../../primitives/weights", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"sp-runtime/std",
"sp-std/std",
"sp-weights/std",
]
+3 -4
View File
@@ -11,13 +11,12 @@ description = "Exposes all the host functions that a contract can import."
[dependencies]
paste = { version = "1.0", default-features = false }
bitflags = "1.0"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"], optional = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
"max-encoded-len",
], optional = true }
[features]
default = [ "scale" ]
scale = [ "dep:scale", "scale-info" ]
default = ["scale"]
scale = ["dep:scale", "scale-info"]
+7 -7
View File
@@ -20,12 +20,12 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"], optional = true }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -33,7 +33,7 @@ pallet-scheduler = { path = "../scheduler" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -16,17 +16,17 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+8 -8
View File
@@ -18,13 +18,13 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"], optional = true }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
log = { version = "0.4.17", default-features = false }
[dev-dependencies]
@@ -33,7 +33,7 @@ pallet-scheduler = { path = "../scheduler" }
pallet-preimage = { path = "../preimage" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -20,35 +20,35 @@ scale-info = { version = "2.10.0", default-features = false, features = [
] }
log = { version = "0.4.17", default-features = false }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
frame-election-provider-support = { path = "../election-provider-support", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
frame-election-provider-support = { path = "../election-provider-support", default-features = false }
# Optional imports for benchmarking
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
pallet-election-provider-support-benchmarking = { path = "../election-provider-support/benchmarking", default-features = false, optional = true }
rand = { version = "0.8.5", default-features = false, features = ["alloc", "small_rng"], optional = true }
strum = { version = "0.24.1", default-features = false, features = ["derive"], optional = true }
strum = { version = "0.24.1", default-features = false, features = ["derive"], optional = true }
[dev-dependencies]
parking_lot = "0.12.1"
rand = "0.8.5"
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io" }
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false}
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
sp-tracing = { path = "../../primitives/tracing" }
pallet-balances = { path = "../balances" }
frame-benchmarking = { path = "../benchmarking" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -23,7 +23,7 @@ sp-io = { path = "../../../primitives/io" }
sp-std = { path = "../../../primitives/std" }
sp-staking = { path = "../../../primitives/staking" }
sp-core = { path = "../../../primitives/core" }
sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false}
sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false }
sp-tracing = { path = "../../../primitives/tracing" }
frame-system = { path = "../../system" }
@@ -15,13 +15,13 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-election-provider-solution-type = { path = "solution-type" }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
[dev-dependencies]
rand = { version = "0.8.5", features = ["small_rng"] }
@@ -29,8 +29,8 @@ sp-io = { path = "../../primitives/io" }
sp-npos-elections = { path = "../../primitives/npos-elections" }
[features]
default = [ "std" ]
fuzz = [ "default" ]
default = ["std"]
fuzz = ["default"]
std = [
"codec/std",
"frame-support/std",
@@ -15,15 +15,15 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true}
frame-election-provider-support = { path = "..", default-features = false}
frame-system = { path = "../../system", default-features = false}
sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true }
frame-election-provider-support = { path = "..", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-npos-elections = { path = "../../../primitives/npos-elections", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
clap = { version = "4.4.10", features = ["derive"] }
honggfuzz = "0.5"
rand = { version = "0.8", features = ["std", "small_rng"] }
rand = { version = "0.8", features = ["small_rng", "std"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
@@ -24,7 +24,7 @@ frame-election-provider-support = { path = "../.." }
sp-arithmetic = { path = "../../../../primitives/arithmetic" }
sp-runtime = { path = "../../../../primitives/runtime" }
# used by generate_solution_type:
sp-npos-elections = { path = "../../../../primitives/npos-elections", default-features = false}
sp-npos-elections = { path = "../../../../primitives/npos-elections", default-features = false }
frame-support = { path = "../../../support" }
[[bin]]
+10 -10
View File
@@ -18,15 +18,15 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
log = { version = "0.4.14", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-npos-elections = { path = "../../primitives/npos-elections", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -35,7 +35,7 @@ sp-tracing = { path = "../../primitives/tracing" }
substrate-test-utils = { path = "../../test-utils" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+7 -7
View File
@@ -13,16 +13,16 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
pallet-default-config-example = { path = "default-config", default-features = false}
pallet-dev-mode = { path = "dev-mode", default-features = false}
pallet-example-basic = { path = "basic", default-features = false}
pallet-default-config-example = { path = "default-config", default-features = false }
pallet-dev-mode = { path = "dev-mode", default-features = false }
pallet-example-basic = { path = "basic", default-features = false }
pallet-example-frame-crate = { path = "frame-crate", default-features = false }
pallet-example-kitchensink = { path = "kitchensink", default-features = false}
pallet-example-offchain-worker = { path = "offchain-worker", default-features = false}
pallet-example-split = { path = "split", default-features = false}
pallet-example-kitchensink = { path = "kitchensink", default-features = false }
pallet-example-offchain-worker = { path = "offchain-worker", default-features = false }
pallet-example-split = { path = "split", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"pallet-default-config-example/std",
"pallet-dev-mode/std",
+9 -9
View File
@@ -16,19 +16,19 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true}
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
pallet-balances = { path = "../../balances", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-balances = { path = "../../balances", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -16,15 +16,15 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+8 -8
View File
@@ -16,18 +16,18 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
pallet-balances = { path = "../../balances", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-balances = { path = "../../balances", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
@@ -16,9 +16,9 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
frame = { path = "../..", default-features = false, features = ["runtime", "experimental"] }
frame = { path = "../..", default-features = false, features = ["experimental", "runtime"] }
[features]
default = [ "std" ]
std = [ "codec/std", "frame/std", "scale-info/std" ]
default = ["std"]
std = ["codec/std", "frame/std", "scale-info/std"]
@@ -16,22 +16,22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true}
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true }
pallet-balances = { path = "../../balances", default-features = false}
pallet-balances = { path = "../../balances", default-features = false }
[dev-dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
lite-json = { version = "0.2.0", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false}
sp-keystore = { path = "../../../primitives/keystore", optional = true}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-core = { path = "../../../primitives/core", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-keystore = { path = "../../../primitives/keystore", optional = true }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+8 -8
View File
@@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true}
frame-benchmarking = { path = "../../benchmarking", default-features = false, optional = true }
[dev-dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -46,4 +46,4 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime"]
+9 -9
View File
@@ -18,14 +18,14 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
frame-try-runtime = { path = "../try-runtime", default-features = false, optional = true }
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-tracing = { path = "../../primitives/tracing", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-tracing = { path = "../../primitives/tracing", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
@@ -37,8 +37,8 @@ sp-io = { path = "../../primitives/io" }
sp-version = { path = "../../primitives/version" }
[features]
default = [ "std" ]
with-tracing = [ "sp-tracing/with-tracing" ]
default = ["std"]
with-tracing = ["sp-tracing/with-tracing"]
std = [
"codec/std",
"frame-support/std",
+10 -10
View File
@@ -16,22 +16,22 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false}
frame-election-provider-support = { path = "../election-provider-support", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
frame-election-provider-support = { path = "../election-provider-support", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
docify = "0.2.6"
[dev-dependencies]
pallet-staking-reward-curve = { path = "../staking/reward-curve" }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
substrate-test-utils = { path = "../../test-utils" }
sp-tracing = { path = "../../primitives/tracing" }
pallet-staking = { path = "../staking" }
@@ -39,7 +39,7 @@ pallet-balances = { path = "../balances" }
pallet-timestamp = { path = "../timestamp" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
+8 -8
View File
@@ -17,19 +17,19 @@ blake2 = { version = "0.10.4", default-features = false }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
log = { version = "0.4.14", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"blake2/std",
"codec/std",
+9 -9
View File
@@ -16,19 +16,19 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-authorship = { path = "../authorship", default-features = false}
pallet-session = { path = "../session", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-authorship = { path = "../authorship", default-features = false }
pallet-session = { path = "../session", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
sp-consensus-grandpa = { path = "../../primitives/consensus/grandpa", default-features = false, features = ["serde"] }
sp-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-session = { path = "../../primitives/session", default-features = false}
sp-session = { path = "../../primitives/session", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
grandpa = { package = "finality-grandpa", version = "0.16.2", features = ["derive-codec"] }
@@ -42,7 +42,7 @@ pallet-timestamp = { path = "../timestamp" }
sp-keyring = { path = "../../primitives/keyring" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+7 -7
View File
@@ -16,19 +16,19 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
enumflags2 = { version = "0.7.7" }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"enumflags2/std",
+7 -7
View File
@@ -16,22 +16,22 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-authorship = { path = "../authorship", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-authorship = { path = "../authorship", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
sp-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-session = { path = "../session" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -15,20 +15,20 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-keyring = { path = "../../primitives/keyring", optional = true}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-keyring = { path = "../../primitives/keyring", optional = true }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -16,17 +16,17 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
safe-mix = { version = "1.0", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+6 -6
View File
@@ -16,11 +16,11 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
"derive",
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
frame-support-test = { path = "../support/test" }
@@ -29,7 +29,7 @@ sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+6 -6
View File
@@ -16,16 +16,16 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -15,14 +15,14 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-mmr-primitives = { path = "../../primitives/merkle-mountain-range", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-mmr-primitives = { path = "../../primitives/merkle-mountain-range", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
@@ -30,7 +30,7 @@ env_logger = "0.9"
itertools = "0.10.3"
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+10 -10
View File
@@ -14,16 +14,16 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive
serde = { version = "1.0.193", optional = true, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-weights = { path = "../../primitives/weights", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-weights = { path = "../../primitives/weights", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
[dev-dependencies]
sp-tracing = { path = "../../primitives/tracing" }
@@ -31,7 +31,7 @@ rand = "0.8.5"
rand_distr = "0.4.3"
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+1 -1
View File
@@ -28,7 +28,7 @@ sp-runtime = { default-features = false, path = "../../primitives/runtime" }
sp-std = { default-features = false, path = "../../primitives/std" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+7 -7
View File
@@ -15,12 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
# third party
log = { version = "0.4.17", default-features = false }
@@ -29,7 +29,7 @@ log = { version = "0.4.17", default-features = false }
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -16,13 +16,13 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-assets = { path = "../assets", default-features = false}
pallet-nfts = { path = "../nfts", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-assets = { path = "../assets", default-features = false }
pallet-nfts = { path = "../nfts", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -31,7 +31,7 @@ sp-io = { path = "../../primitives/io" }
sp-std = { path = "../../primitives/std" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
+8 -8
View File
@@ -17,20 +17,20 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
enumflags2 = { version = "0.7.7" }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-keystore = { path = "../../primitives/keystore" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"enumflags2/std",
+2 -2
View File
@@ -19,5 +19,5 @@ sp-api = { path = "../../../primitives/api", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[features]
default = [ "std" ]
std = [ "codec/std", "pallet-nfts/std", "sp-api/std", "sp-std/std" ]
default = ["std"]
std = ["codec/std", "pallet-nfts/std", "sp-api/std", "sp-std/std"]
+6 -6
View File
@@ -15,18 +15,18 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+8 -8
View File
@@ -15,20 +15,20 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -15,15 +15,15 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+9 -9
View File
@@ -17,13 +17,13 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
# FRAME
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
log = { version = "0.4.0", default-features = false }
# Optional: use for testing and/or fuzzing
@@ -35,8 +35,8 @@ pallet-balances = { path = "../balances" }
sp-tracing = { path = "../../primitives/tracing" }
[features]
default = [ "std" ]
fuzzing = [ "pallet-balances", "sp-tracing" ]
default = ["std"]
fuzzing = ["pallet-balances", "sp-tracing"]
std = [
"codec/std",
"frame-support/std",
@@ -18,29 +18,29 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
# FRAME
frame-benchmarking = { path = "../../benchmarking", default-features = false}
frame-election-provider-support = { path = "../../election-provider-support", default-features = false}
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
pallet-bags-list = { path = "../../bags-list", default-features = false}
pallet-staking = { path = "../../staking", default-features = false}
pallet-nomination-pools = { path = "..", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false }
frame-election-provider-support = { path = "../../election-provider-support", default-features = false }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-bags-list = { path = "../../bags-list", default-features = false }
pallet-staking = { path = "../../staking", default-features = false }
pallet-nomination-pools = { path = "..", default-features = false }
# Substrate Primitives
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-runtime-interface = { path = "../../../primitives/runtime-interface", default-features = false}
sp-staking = { path = "../../../primitives/staking", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-runtime-interface = { path = "../../../primitives/runtime-interface", default-features = false }
sp-staking = { path = "../../../primitives/staking", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../../balances", default-features = false}
pallet-balances = { path = "../../balances", default-features = false }
pallet-timestamp = { path = "../../timestamp" }
pallet-staking-reward-curve = { path = "../../staking/reward-curve" }
sp-core = { path = "../../../primitives/core" }
sp-io = { path = "../../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
@@ -14,10 +14,10 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
sp-api = { path = "../../../primitives/api", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
pallet-nomination-pools = { path = "..", default-features = false}
sp-api = { path = "../../../primitives/api", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
pallet-nomination-pools = { path = "..", default-features = false }
[features]
default = [ "std" ]
std = [ "codec/std", "pallet-nomination-pools/std", "sp-api/std", "sp-std/std" ]
default = ["std"]
std = ["codec/std", "pallet-nomination-pools/std", "sp-api/std", "sp-std/std"]
+7 -7
View File
@@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", optional = true }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-balances = { path = "../balances", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-balances = { path = "../balances", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
@@ -15,20 +15,20 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../../benchmarking", default-features = false}
frame-election-provider-support = { path = "../../election-provider-support", default-features = false}
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
pallet-babe = { path = "../../babe", default-features = false}
pallet-balances = { path = "../../balances", default-features = false}
pallet-grandpa = { path = "../../grandpa", default-features = false}
pallet-im-online = { path = "../../im-online", default-features = false}
pallet-offences = { path = "..", default-features = false}
pallet-session = { path = "../../session", default-features = false}
pallet-staking = { path = "../../staking", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-staking = { path = "../../../primitives/staking", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false }
frame-election-provider-support = { path = "../../election-provider-support", default-features = false }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-babe = { path = "../../babe", default-features = false }
pallet-balances = { path = "../../balances", default-features = false }
pallet-grandpa = { path = "../../grandpa", default-features = false }
pallet-im-online = { path = "../../im-online", default-features = false }
pallet-offences = { path = "..", default-features = false }
pallet-session = { path = "../../session", default-features = false }
pallet-staking = { path = "../../staking", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-staking = { path = "../../../primitives/staking", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
[dev-dependencies]
@@ -38,7 +38,7 @@ sp-core = { path = "../../../primitives/core" }
sp-io = { path = "../../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
+9 -9
View File
@@ -12,22 +12,22 @@ repository.workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "derive"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] }
docify = "0.2.6"
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false, optional = true}
sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false, optional = true }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
@@ -55,4 +55,4 @@ try-runtime = [
"sp-runtime/try-runtime",
]
frame-metadata = [ "sp-metadata-ir" ]
frame-metadata = ["sp-metadata-ir"]
+3 -3
View File
@@ -17,6 +17,6 @@ path = "src/paged_list.rs"
arbitrary = "1.3.0"
honggfuzz = "0.5.49"
frame-support = { path = "../../support", default-features = false, features = [ "std" ]}
sp-io = { path = "../../../primitives/io", default-features = false, features = [ "std" ] }
pallet-paged-list = { path = "..", default-features = false, features = [ "std" ] }
frame-support = { path = "../../support", default-features = false, features = ["std"] }
sp-io = { path = "../../../primitives/io", default-features = false, features = ["std"] }
pallet-paged-list = { path = "..", default-features = false, features = ["std"] }
+9 -9
View File
@@ -11,21 +11,21 @@ description = "FRAME pallet for storing preimages of hashes"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false, optional = true}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false, optional = true }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
+7 -7
View File
@@ -15,12 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["max-encoded-len"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -28,7 +28,7 @@ pallet-utility = { path = "../utility" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -16,17 +16,17 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+8 -8
View File
@@ -15,26 +15,26 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
runtime-benchmarks = [
'frame-benchmarking',
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
'frame-benchmarking',
]
std = [
"codec/std",
+8 -8
View File
@@ -19,13 +19,13 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"], optional = true }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
log = { version = "0.4.17", default-features = false }
[dev-dependencies]
@@ -36,7 +36,7 @@ pallet-scheduler = { path = "../scheduler" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -16,19 +16,19 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", optional = true }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
+8 -8
View File
@@ -16,13 +16,13 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
pallet-session = { path = "../session", default-features = false , features = [ "historical" ]}
pallet-staking = { path = "../staking", default-features = false}
pallet-session = { path = "../session", default-features = false, features = ["historical"] }
pallet-staking = { path = "../staking", default-features = false }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-runtime = { path = "../../primitives/runtime" }
sp-staking = { path = "../../primitives/staking", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
@@ -30,8 +30,8 @@ pallet-timestamp = { path = "../timestamp" }
pallet-staking-reward-curve = { path = "../staking/reward-curve" }
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
frame-election-provider-support = { path = "../election-provider-support" }
@@ -56,7 +56,7 @@ try-runtime = [
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-election-provider-support/std",
+7 -7
View File
@@ -15,12 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
try-runtime = [
@@ -28,7 +28,7 @@ try-runtime = [
"frame-system/try-runtime",
"sp-runtime/try-runtime",
]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+9 -9
View File
@@ -14,16 +14,16 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
docify = "0.2.6"
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
pallet-balances = { path = "../balances", default-features = false, optional = true }
pallet-utility = { path = "../utility", default-features = false, optional = true }
pallet-proxy = { path = "../proxy", default-features = false, optional = true }
pallet-utility = { path = "../utility", default-features = false, optional = true }
pallet-proxy = { path = "../proxy", default-features = false, optional = true }
[dev-dependencies]
sp-core = { path = "../../primitives/core" }
@@ -34,7 +34,7 @@ pallet-proxy = { path = "../proxy" }
frame-support = { path = "../support", features = ["experimental"] }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
+9 -9
View File
@@ -16,17 +16,17 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.16", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -13,22 +13,22 @@ readme = "README.md"
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-weights = { path = "../../primitives/weights", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-weights = { path = "../../primitives/weights", default-features = false }
docify = "0.2.6"
[dev-dependencies]
pallet-preimage = { path = "../preimage" }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
substrate-test-utils = { path = "../../test-utils" }
[features]
default = [ "std" ]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
+6 -6
View File
@@ -15,18 +15,18 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+10 -10
View File
@@ -17,21 +17,21 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
impl-trait-for-tuples = "0.2.2"
log = { version = "0.4.17", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
pallet-timestamp = { path = "../timestamp", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-timestamp = { path = "../timestamp", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false, features = ["serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-session = { path = "../../primitives/session", default-features = false}
sp-session = { path = "../../primitives/session", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-trie = { path = "../../primitives/trie", default-features = false, optional = true}
sp-state-machine = { path = "../../primitives/state-machine", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
sp-trie = { path = "../../primitives/trie", default-features = false, optional = true }
sp-state-machine = { path = "../../primitives/state-machine", default-features = false }
[features]
default = [ "historical", "std" ]
historical = [ "sp-trie" ]
default = ["historical", "std"]
historical = ["sp-trie"]
std = [
"codec/std",
"frame-support/std",
@@ -15,14 +15,14 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
rand = { version = "0.8.5", default-features = false, features = ["std_rng"] }
frame-benchmarking = { path = "../../benchmarking", default-features = false}
frame-support = { path = "../../support", default-features = false}
frame-system = { path = "../../system", default-features = false}
pallet-session = { path = "..", default-features = false}
pallet-staking = { path = "../../staking", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-session = { path = "../../../primitives/session", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false }
frame-support = { path = "../../support", default-features = false }
frame-system = { path = "../../system", default-features = false }
pallet-session = { path = "..", default-features = false }
pallet-staking = { path = "../../staking", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-session = { path = "../../../primitives/session", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
[dev-dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
@@ -35,7 +35,7 @@ sp-core = { path = "../../../primitives/core" }
sp-io = { path = "../../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"frame-benchmarking/std",
"frame-election-provider-support/std",
+8 -8
View File
@@ -18,13 +18,13 @@ rand_chacha = { version = "0.2", default-features = false }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
[dev-dependencies]
frame-support-test = { path = "../support/test" }
@@ -33,7 +33,7 @@ sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+9 -9
View File
@@ -13,23 +13,23 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
serde = { version = "1.0.193", default-features = false, features = ["alloc", "derive"]}
serde = { version = "1.0.193", default-features = false, features = ["alloc", "derive"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive", "serde"] }
sp-io = { path = "../../primitives/io", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false, features = ["serde"] }
sp-staking = { path = "../../primitives/staking", default-features = false, features = ["serde"] }
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
pallet-session = { path = "../session", default-features = false, features = [
"historical",
]}
pallet-authorship = { path = "../authorship", default-features = false}
] }
pallet-authorship = { path = "../authorship", default-features = false }
sp-application-crypto = { path = "../../primitives/application-crypto", default-features = false, features = ["serde"] }
frame-election-provider-support = { path = "../election-provider-support", default-features = false}
frame-election-provider-support = { path = "../election-provider-support", default-features = false }
log = { version = "0.4.17", default-features = false }
# Optional imports for benchmarking
@@ -50,7 +50,7 @@ frame-election-provider-support = { path = "../election-provider-support" }
rand_chacha = { version = "0.2" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+3 -3
View File
@@ -15,8 +15,8 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = { version = "0.4.17", default-features = false }
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false}
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false }
[features]
default = [ "std" ]
std = [ "log/std", "sp-arithmetic/std" ]
default = ["std"]
std = ["log/std", "sp-arithmetic/std"]
@@ -18,5 +18,5 @@ sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../pri
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/staking" }
[features]
default = [ "std" ]
std = [ "codec/std", "sp-api/std", "sp-staking/std" ]
default = ["std"]
std = ["codec/std", "sp-api/std", "sp-staking/std"]
+10 -10
View File
@@ -18,15 +18,15 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive
serde = { version = "1.0.193", optional = true }
thousands = { version = "0.2.0", optional = true }
zstd = { version = "0.12.4", default-features = false, optional = true }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
remote-externalities = { package = "frame-remote-externalities" , path = "../../utils/frame/remote-externalities", optional = true}
sp-core = { path = "../../primitives/core", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
substrate-state-trie-migration-rpc = { path = "../../utils/frame/rpc/state-trie-migration-rpc", optional = true}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
remote-externalities = { package = "frame-remote-externalities", path = "../../utils/frame/remote-externalities", optional = true }
sp-core = { path = "../../primitives/core", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
substrate-state-trie-migration-rpc = { path = "../../utils/frame/rpc/state-trie-migration-rpc", optional = true }
[dev-dependencies]
parking_lot = "0.12.1"
@@ -35,7 +35,7 @@ pallet-balances = { path = "../balances" }
sp-tracing = { path = "../../primitives/tracing" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+10 -10
View File
@@ -12,23 +12,23 @@ description = "FRAME pallet for statement store"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"]}
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-statement-store = { path = "../../primitives/statement-store", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-statement-store = { path = "../../primitives/statement-store", default-features = false }
sp-api = { path = "../../primitives/api", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
log = { version = "0.4.17", default-features = false }
[dev-dependencies]
pallet-balances = { path = "../balances" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
+7 -7
View File
@@ -14,13 +14,13 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true}
frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-support = { path = "../support", default-features = false}
frame-system = { path = "../system", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-std = { path = "../../primitives/std", default-features = false}
frame-support = { path = "../support", default-features = false }
frame-system = { path = "../system", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-std = { path = "../../primitives/std", default-features = false }
docify = "0.2.6"
@@ -28,7 +28,7 @@ docify = "0.2.6"
sp-core = { path = "../../primitives/core" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+19 -19
View File
@@ -18,23 +18,23 @@ serde = { version = "1.0.193", default-features = false, features = ["alloc", "d
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
sp-api = { path = "../../primitives/api", default-features = false, features = [ "frame-metadata" ] }
sp-std = { path = "../../primitives/std", default-features = false}
sp-io = { path = "../../primitives/io", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-tracing = { path = "../../primitives/tracing", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-inherents = { path = "../../primitives/inherents", default-features = false}
sp-staking = { path = "../../primitives/staking", default-features = false}
sp-weights = { path = "../../primitives/weights", default-features = false}
sp-debug-derive = { path = "../../primitives/debug-derive", default-features = false}
sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false}
sp-api = { path = "../../primitives/api", default-features = false, features = ["frame-metadata"] }
sp-std = { path = "../../primitives/std", default-features = false }
sp-io = { path = "../../primitives/io", default-features = false }
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-tracing = { path = "../../primitives/tracing", default-features = false }
sp-core = { path = "../../primitives/core", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
sp-inherents = { path = "../../primitives/inherents", default-features = false }
sp-staking = { path = "../../primitives/staking", default-features = false }
sp-weights = { path = "../../primitives/weights", default-features = false }
sp-debug-derive = { path = "../../primitives/debug-derive", default-features = false }
sp-metadata-ir = { path = "../../primitives/metadata-ir", default-features = false }
tt-call = "1.0.8"
macro_magic = "0.5.0"
frame-support-procedural = { path = "procedural", default-features = false}
frame-support-procedural = { path = "procedural", default-features = false }
paste = "1.0"
sp-state-machine = { path = "../../primitives/state-machine", default-features = false, optional = true}
sp-state-machine = { path = "../../primitives/state-machine", default-features = false, optional = true }
bitflags = "1.3"
impl-trait-for-tuples = "0.2.2"
smallvec = "1.11.0"
@@ -42,7 +42,7 @@ log = { version = "0.4.17", default-features = false }
sp-core-hashing-proc-macro = { path = "../../primitives/core/hashing/proc-macro" }
k256 = { version = "0.13.1", default-features = false, features = ["ecdsa"] }
environmental = { version = "1.1.4", default-features = false }
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features=false}
sp-genesis-builder = { path = "../../primitives/genesis-builder", default-features = false }
serde_json = { version = "1.0.108", default-features = false, features = ["alloc"] }
docify = "0.2.6"
static_assertions = "1.1.0"
@@ -55,7 +55,7 @@ pretty_assertions = "1.2.1"
frame-system = { path = "../system" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"environmental/std",
@@ -101,8 +101,8 @@ no-metadata-docs = [
]
# By default some types have documentation, `full-metadata-docs` allows to add documentation to
# more types in the metadata.
full-metadata-docs = [ "scale-info/docs" ]
full-metadata-docs = ["scale-info/docs"]
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
# pallets in a runtime grows. Does increase the compile time!
tuples-96 = [ "frame-support-procedural/tuples-96" ]
tuples-128 = [ "frame-support-procedural/tuples-128" ]
tuples-96 = ["frame-support-procedural/tuples-96"]
tuples-128 = ["frame-support-procedural/tuples-128"]
@@ -29,7 +29,7 @@ expander = "2.0.0"
sp-core-hashing = { path = "../../../primitives/core/hashing" }
[features]
default = [ "std" ]
default = ["std"]
std = []
no-metadata-docs = []
# Generate impl-trait for tuples with the given number of tuples. Will be needed as the number of
@@ -15,5 +15,5 @@ targets = ["x86_64-unknown-linux-gnu"]
proc-macro-crate = "1.1.3"
proc-macro2 = "1.0.56"
quote = "1.0.28"
syn = { version = "2.0.38", features = ["full", "visit", "extra-traits"] }
syn = { version = "2.0.38", features = ["extra-traits", "full", "visit"] }
frame-support-procedural-tools-derive = { path = "derive" }
@@ -17,4 +17,4 @@ proc-macro = true
[dependencies]
proc-macro2 = "1.0.56"
quote = { version = "1.0.28", features = ["proc-macro"] }
syn = { version = "2.0.38", features = ["proc-macro", "full", "extra-traits", "parsing"] }
syn = { version = "2.0.38", features = ["extra-traits", "full", "parsing", "proc-macro"] }
+17 -17
View File
@@ -17,27 +17,27 @@ serde = { version = "1.0.193", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
sp-api = { path = "../../../primitives/api", default-features = false}
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false}
sp-api = { path = "../../../primitives/api", default-features = false }
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-state-machine = { path = "../../../primitives/state-machine", optional = true}
frame-support = { path = "..", default-features = false}
frame-benchmarking = { path = "../../benchmarking", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-version = { path = "../../../primitives/version", default-features = false}
sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false}
trybuild = { version = "1.0.74", features = [ "diff" ] }
sp-state-machine = { path = "../../../primitives/state-machine", optional = true }
frame-support = { path = "..", default-features = false }
frame-benchmarking = { path = "../../benchmarking", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-core = { path = "../../../primitives/core", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
sp-version = { path = "../../../primitives/version", default-features = false }
sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false }
trybuild = { version = "1.0.74", features = ["diff"] }
pretty_assertions = "1.3.0"
rustversion = "1.0.6"
frame-system = { path = "../../system", default-features = false}
frame-executive = { path = "../../executive", default-features = false}
frame-system = { path = "../../system", default-features = false }
frame-executive = { path = "../../executive", default-features = false }
# The "std" feature for this pallet is never activated on purpose, in order to test construct_runtime error message
test-pallet = { package = "frame-support-test-pallet", path = "pallet", default-features = false}
test-pallet = { package = "frame-support-test-pallet", path = "pallet", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
@@ -58,7 +58,7 @@ std = [
"sp-version/std",
"test-pallet/std",
]
experimental = [ "frame-support/experimental" ]
experimental = ["frame-support/experimental"]
try-runtime = [
"frame-executive/try-runtime",
"frame-support/try-runtime",
@@ -72,4 +72,4 @@ frame-feature-testing = []
frame-feature-testing-2 = []
# Disable ui tests
disable-ui-tests = []
no-metadata-docs = [ "frame-support/no-metadata-docs" ]
no-metadata-docs = ["frame-support/no-metadata-docs"]
@@ -14,14 +14,14 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
renamed-frame-support = { package = "frame-support", path = "../..", default-features = false}
renamed-frame-system = { package = "frame-system", path = "../../../system", default-features = false}
sp-core = { path = "../../../../primitives/core", default-features = false}
sp-runtime = { path = "../../../../primitives/runtime", default-features = false}
sp-version = { path = "../../../../primitives/version", default-features = false}
renamed-frame-support = { package = "frame-support", path = "../..", default-features = false }
renamed-frame-system = { package = "frame-system", path = "../../../system", default-features = false }
sp-core = { path = "../../../../primitives/core", default-features = false }
sp-runtime = { path = "../../../../primitives/runtime", default-features = false }
sp-version = { path = "../../../../primitives/version", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"renamed-frame-support/std",
@@ -15,12 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.193", default-features = false, features = ["derive"] }
frame-support = { path = "../..", default-features = false}
frame-system = { path = "../../../system", default-features = false}
sp-runtime = { path = "../../../../primitives/runtime", default-features = false}
frame-support = { path = "../..", default-features = false }
frame-system = { path = "../../../system", default-features = false }
sp-runtime = { path = "../../../../primitives/runtime", default-features = false }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-support/std",

Some files were not shown because too many files have changed in this diff Show More