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
+4 -4
View File
@@ -24,9 +24,9 @@ jsonrpsee = { version = "0.16.2", features = ["server"] }
serde_json = "1.0.108"
sc-cli = { path = "../../../client/cli" }
sc-executor = { path = "../../../client/executor" }
sc-network = { path = "../../../client/network" }
sc-service = { path = "../../../client/service" }
sc-executor = { path = "../../../client/executor" }
sc-network = { path = "../../../client/network" }
sc-service = { path = "../../../client/service" }
sc-telemetry = { path = "../../../client/telemetry" }
sc-transaction-pool = { path = "../../../client/transaction-pool" }
sc-transaction-pool-api = { path = "../../../client/transaction-pool/api" }
@@ -47,7 +47,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
substrate-frame-rpc-system = { path = "../../../utils/frame/rpc/system" }
frame = { path = "../../../frame", features = ["runtime", "experimental"] }
frame = { path = "../../../frame", features = ["experimental", "runtime"] }
runtime = { package = "minimal-runtime", path = "../runtime" }
[build-dependencies]
+4 -4
View File
@@ -13,8 +13,8 @@ parity-scale-codec = { version = "3.0.0", default-features = false }
scale-info = { version = "2.6.0", default-features = false }
# this is a frame-based runtime, thus importing `frame` with runtime feature enabled.
frame = { path = "../../../frame", default-features = false, features = ["runtime", "experimental"] }
frame-support = { path = "../../../frame/support", default-features = false}
frame = { path = "../../../frame", default-features = false, features = ["experimental", "runtime"] }
frame-support = { path = "../../../frame/support", default-features = false }
# pallets that we want to use
pallet-balances = { path = "../../../frame/balances", default-features = false }
@@ -24,14 +24,14 @@ pallet-transaction-payment = { path = "../../../frame/transaction-payment", defa
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false }
# genesis builder that allows us to interacto with runtime genesis config
sp-genesis-builder = { path = "../../../primitives/genesis-builder", default-features = false}
sp-genesis-builder = { path = "../../../primitives/genesis-builder", default-features = false }
[build-dependencies]
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
[features]
default = [ "std" ]
default = ["std"]
std = [
"frame-support/std",
"frame/std",
+3 -3
View File
@@ -18,7 +18,7 @@ name = "node-template"
[dependencies]
clap = { version = "4.4.10", features = ["derive"] }
futures = { version = "0.3.21", features = ["thread-pool"]}
futures = { version = "0.3.21", features = ["thread-pool"] }
serde_json = "1.0.108"
sc-cli = { path = "../../../client/cli" }
@@ -42,7 +42,7 @@ sp-timestamp = { path = "../../../primitives/timestamp" }
sp-inherents = { path = "../../../primitives/inherents" }
sp-keyring = { path = "../../../primitives/keyring" }
frame-system = { path = "../../../frame/system" }
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false}
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false }
# These dependencies are used for the node template's RPCs
jsonrpsee = { version = "0.16.2", features = ["server"] }
@@ -62,7 +62,7 @@ frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli" }
node-template-runtime = { path = "../runtime" }
# CLI-specific dependencies
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true}
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true }
[build-dependencies]
substrate-build-script-utils = { path = "../../../utils/build-script-utils" }
@@ -17,10 +17,10 @@ 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 = "../../../../frame/benchmarking", default-features = false, optional = true}
frame-support = { path = "../../../../frame/support", default-features = false}
frame-system = { path = "../../../../frame/system", default-features = false}
sp-std = { path = "../../../../primitives/std", default-features = false}
frame-benchmarking = { path = "../../../../frame/benchmarking", default-features = false, optional = true }
frame-support = { path = "../../../../frame/support", default-features = false }
frame-system = { path = "../../../../frame/system", default-features = false }
sp-std = { path = "../../../../primitives/std", default-features = false }
[dev-dependencies]
sp-core = { path = "../../../../primitives/core" }
@@ -28,7 +28,7 @@ sp-io = { path = "../../../../primitives/io" }
sp-runtime = { path = "../../../../primitives/runtime" }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
+23 -23
View File
@@ -16,48 +16,48 @@ 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"] }
pallet-aura = { path = "../../../frame/aura", default-features = false}
pallet-balances = { path = "../../../frame/balances", default-features = false}
frame-support = { path = "../../../frame/support", default-features = false}
pallet-grandpa = { path = "../../../frame/grandpa", default-features = false}
pallet-sudo = { path = "../../../frame/sudo", default-features = false}
frame-system = { path = "../../../frame/system", default-features = false}
pallet-aura = { path = "../../../frame/aura", default-features = false }
pallet-balances = { path = "../../../frame/balances", default-features = false }
frame-support = { path = "../../../frame/support", default-features = false }
pallet-grandpa = { path = "../../../frame/grandpa", default-features = false }
pallet-sudo = { path = "../../../frame/sudo", default-features = false }
frame-system = { path = "../../../frame/system", default-features = false }
frame-try-runtime = { path = "../../../frame/try-runtime", default-features = false, optional = true }
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false}
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false}
frame-executive = { path = "../../../frame/executive", default-features = false}
sp-api = { path = "../../../primitives/api", default-features = false}
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false}
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false }
frame-executive = { path = "../../../frame/executive", default-features = false }
sp-api = { path = "../../../primitives/api", default-features = false }
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false }
sp-consensus-aura = { path = "../../../primitives/consensus/aura", 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-inherents = { path = "../../../primitives/inherents", default-features = false}
sp-offchain = { path = "../../../primitives/offchain", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false, features = ["serde"] }
sp-inherents = { path = "../../../primitives/inherents", default-features = false }
sp-offchain = { path = "../../../primitives/offchain", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false, features = ["serde"] }
sp-session = { path = "../../../primitives/session", default-features = false}
sp-std = { path = "../../../primitives/std", default-features = false}
sp-storage = { path = "../../../primitives/storage", default-features = false}
sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-features = false}
sp-session = { path = "../../../primitives/session", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
sp-storage = { path = "../../../primitives/storage", default-features = false }
sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-features = false }
sp-version = { path = "../../../primitives/version", default-features = false, features = ["serde"] }
serde_json = { version = "1.0.108", default-features = false, features = ["alloc"] }
sp-genesis-builder = { default-features = false, path = "../../../primitives/genesis-builder" }
# Used for the node template's RPCs
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false}
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false}
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false }
# Used for runtime benchmarking
frame-benchmarking = { path = "../../../frame/benchmarking", default-features = false, optional = true }
frame-system-benchmarking = { path = "../../../frame/system/benchmarking", default-features = false, optional = true }
# Local Dependencies
pallet-template = { path = "../pallets/template", default-features = false}
pallet-template = { path = "../pallets/template", default-features = false }
[build-dependencies]
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
[features]
default = [ "std" ]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking?/std",
@@ -119,4 +119,4 @@ try-runtime = [
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime",
]
experimental = [ "pallet-aura/experimental" ]
experimental = ["pallet-aura/experimental"]
@@ -6,9 +6,9 @@ components = [
"rust-analyzer",
"rust-src",
"rust-std",
"rustc-dev",
"rustc",
"rustc-dev",
"rustfmt",
]
targets = [ "wasm32-unknown-unknown" ]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"
+1 -1
View File
@@ -31,7 +31,7 @@ sp-core = { path = "../../../primitives/core" }
sp-consensus = { path = "../../../primitives/consensus/common" }
sc-basic-authorship = { path = "../../../client/basic-authorship" }
sp-inherents = { path = "../../../primitives/inherents" }
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false}
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false }
sp-tracing = { path = "../../../primitives/tracing" }
hash-db = "0.16.0"
tempfile = "3.1.0"
+14 -14
View File
@@ -79,7 +79,7 @@ sc-consensus-babe = { path = "../../../client/consensus/babe" }
grandpa = { package = "sc-consensus-grandpa", path = "../../../client/consensus/grandpa" }
sc-rpc = { path = "../../../client/rpc" }
sc-basic-authorship = { path = "../../../client/basic-authorship" }
sc-service = { path = "../../../client/service", default-features = false}
sc-service = { path = "../../../client/service", default-features = false }
sc-telemetry = { path = "../../../client/telemetry" }
sc-executor = { path = "../../../client/executor" }
sc-authority-discovery = { path = "../../../client/authority-discovery" }
@@ -96,8 +96,8 @@ frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api"
pallet-assets = { path = "../../../frame/assets" }
pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment" }
pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment" }
pallet-im-online = { path = "../../../frame/im-online", default-features = false}
pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false}
pallet-im-online = { path = "../../../frame/im-online", default-features = false }
pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false }
# node-specific dependencies
kitchensink-runtime = { path = "../runtime" }
@@ -105,10 +105,10 @@ node-rpc = { path = "../rpc" }
node-primitives = { path = "../primitives" }
# CLI-specific dependencies
sc-cli = { path = "../../../client/cli", optional = true}
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true}
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true}
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true}
sc-cli = { path = "../../../client/cli", optional = true }
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true }
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true }
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true }
serde_json = "1.0.108"
[dev-dependencies]
@@ -129,7 +129,7 @@ regex = "1.6.0"
platforms = "3.0"
soketto = "0.7.1"
criterion = { version = "0.4.0", features = ["async_tokio"] }
tokio = { version = "1.22.0", features = ["macros", "time", "parking_lot"] }
tokio = { version = "1.22.0", features = ["macros", "parking_lot", "time"] }
tokio-util = { version = "0.7.4", features = ["compat"] }
wait-timeout = "0.2"
substrate-rpc-client = { path = "../../../utils/frame/rpc/client" }
@@ -159,17 +159,17 @@ sp-state-machine = { path = "../../../primitives/state-machine" }
[build-dependencies]
clap = { version = "4.4.10", optional = true }
clap_complete = { version = "4.0.2", optional = true }
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true}
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true}
substrate-build-script-utils = { path = "../../../utils/build-script-utils", optional = true}
substrate-frame-cli = { path = "../../../utils/frame/frame-utilities-cli", optional = true}
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true}
node-inspect = { package = "staging-node-inspect", path = "../inspect", optional = true }
frame-benchmarking-cli = { path = "../../../utils/frame/benchmarking-cli", optional = true }
substrate-build-script-utils = { path = "../../../utils/build-script-utils", optional = true }
substrate-frame-cli = { path = "../../../utils/frame/frame-utilities-cli", optional = true }
try-runtime-cli = { path = "../../../utils/frame/try-runtime/cli", optional = true }
sc-cli = { path = "../../../client/cli", optional = true }
pallet-balances = { path = "../../../frame/balances" }
sc-storage-monitor = { path = "../../../client/storage-monitor" }
[features]
default = [ "cli" ]
default = ["cli"]
cli = [
"clap",
"clap_complete",
+1 -1
View File
@@ -17,7 +17,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1" }
thiserror = "1.0"
sc-cli = { path = "../../../client/cli" }
sc-client-api = { path = "../../../client/api" }
sc-service = { path = "../../../client/service", default-features = false}
sc-service = { path = "../../../client/service", default-features = false }
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-core = { path = "../../../primitives/core" }
sp-io = { path = "../../../primitives/io" }
+4 -4
View File
@@ -13,9 +13,9 @@ publish = false
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
[features]
default = [ "std" ]
std = [ "sp-core/std", "sp-runtime/std" ]
default = ["std"]
std = ["sp-core/std", "sp-runtime/std"]
+98 -98
View File
@@ -26,122 +26,122 @@ log = { version = "0.4.17", default-features = false }
serde_json = { version = "1.0.108", default-features = false, features = ["alloc", "arbitrary_precision"] }
# pallet-asset-conversion: turn on "num-traits" feature
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"] }
# primitives
sp-authority-discovery = { path = "../../../primitives/authority-discovery", default-features = false, features=["serde"] }
sp-consensus-babe = { path = "../../../primitives/consensus/babe", default-features = false, features=["serde"] }
sp-consensus-grandpa = { path = "../../../primitives/consensus/grandpa", default-features = false, features=["serde"] }
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false}
sp-authority-discovery = { path = "../../../primitives/authority-discovery", default-features = false, features = ["serde"] }
sp-consensus-babe = { path = "../../../primitives/consensus/babe", default-features = false, features = ["serde"] }
sp-consensus-grandpa = { path = "../../../primitives/consensus/grandpa", default-features = false, features = ["serde"] }
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false }
sp-genesis-builder = { default-features = false, path = "../../../primitives/genesis-builder" }
sp-inherents = { path = "../../../primitives/inherents", default-features = false}
node-primitives = { path = "../primitives", default-features = false}
sp-inherents = { path = "../../../primitives/inherents", default-features = false }
node-primitives = { path = "../primitives", default-features = false }
sp-mixnet = { path = "../../../primitives/mixnet", default-features = false }
sp-offchain = { path = "../../../primitives/offchain", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false, features=["serde"] }
sp-std = { path = "../../../primitives/std", default-features = false}
sp-api = { path = "../../../primitives/api", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false, features=["serde"] }
sp-staking = { path = "../../../primitives/staking", default-features = false, features=["serde"] }
sp-storage = { path = "../../../primitives/storage", default-features = false}
sp-session = { path = "../../../primitives/session", default-features = false}
sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-features = false}
sp-statement-store = { path = "../../../primitives/statement-store", default-features = false, features=["serde"] }
sp-version = { path = "../../../primitives/version", default-features = false, features=["serde"] }
sp-io = { path = "../../../primitives/io", default-features = false}
sp-offchain = { path = "../../../primitives/offchain", default-features = false }
sp-core = { path = "../../../primitives/core", default-features = false, features = ["serde"] }
sp-std = { path = "../../../primitives/std", default-features = false }
sp-api = { path = "../../../primitives/api", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false, features = ["serde"] }
sp-staking = { path = "../../../primitives/staking", default-features = false, features = ["serde"] }
sp-storage = { path = "../../../primitives/storage", default-features = false }
sp-session = { path = "../../../primitives/session", default-features = false }
sp-transaction-pool = { path = "../../../primitives/transaction-pool", default-features = false }
sp-statement-store = { path = "../../../primitives/statement-store", default-features = false, features = ["serde"] }
sp-version = { path = "../../../primitives/version", default-features = false, features = ["serde"] }
sp-io = { path = "../../../primitives/io", default-features = false }
# frame dependencies
frame-executive = { path = "../../../frame/executive", default-features = false}
frame-benchmarking = { path = "../../../frame/benchmarking", default-features = false}
frame-benchmarking-pallet-pov = { path = "../../../frame/benchmarking/pov", default-features = false}
frame-executive = { path = "../../../frame/executive", default-features = false }
frame-benchmarking = { path = "../../../frame/benchmarking", default-features = false }
frame-benchmarking-pallet-pov = { path = "../../../frame/benchmarking/pov", default-features = false }
frame-support = { path = "../../../frame/support", default-features = false, features = ["tuples-96"] }
frame-system = { path = "../../../frame/system", default-features = false}
frame-system = { path = "../../../frame/system", default-features = false }
frame-system-benchmarking = { path = "../../../frame/system/benchmarking", default-features = false, optional = true }
frame-election-provider-support = { path = "../../../frame/election-provider-support", default-features = false}
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false}
frame-election-provider-support = { path = "../../../frame/election-provider-support", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false }
frame-try-runtime = { path = "../../../frame/try-runtime", default-features = false, optional = true }
pallet-alliance = { path = "../../../frame/alliance", default-features = false}
pallet-asset-conversion = { path = "../../../frame/asset-conversion", default-features = false}
pallet-asset-rate = { path = "../../../frame/asset-rate", default-features = false}
pallet-assets = { path = "../../../frame/assets", default-features = false}
pallet-authority-discovery = { path = "../../../frame/authority-discovery", default-features = false}
pallet-authorship = { path = "../../../frame/authorship", default-features = false}
pallet-babe = { path = "../../../frame/babe", default-features = false}
pallet-bags-list = { path = "../../../frame/bags-list", default-features = false}
pallet-balances = { path = "../../../frame/balances", default-features = false}
pallet-bounties = { path = "../../../frame/bounties", default-features = false}
pallet-broker = { path = "../../../frame/broker", default-features = false}
pallet-child-bounties = { path = "../../../frame/child-bounties", default-features = false}
pallet-collective = { path = "../../../frame/collective", default-features = false}
pallet-contracts = { path = "../../../frame/contracts", default-features = false}
pallet-conviction-voting = { path = "../../../frame/conviction-voting", default-features = false}
pallet-core-fellowship = { path = "../../../frame/core-fellowship", default-features = false}
pallet-democracy = { path = "../../../frame/democracy", default-features = false}
pallet-election-provider-multi-phase = { path = "../../../frame/election-provider-multi-phase", default-features = false}
pallet-alliance = { path = "../../../frame/alliance", default-features = false }
pallet-asset-conversion = { path = "../../../frame/asset-conversion", default-features = false }
pallet-asset-rate = { path = "../../../frame/asset-rate", default-features = false }
pallet-assets = { path = "../../../frame/assets", default-features = false }
pallet-authority-discovery = { path = "../../../frame/authority-discovery", default-features = false }
pallet-authorship = { path = "../../../frame/authorship", default-features = false }
pallet-babe = { path = "../../../frame/babe", default-features = false }
pallet-bags-list = { path = "../../../frame/bags-list", default-features = false }
pallet-balances = { path = "../../../frame/balances", default-features = false }
pallet-bounties = { path = "../../../frame/bounties", default-features = false }
pallet-broker = { path = "../../../frame/broker", default-features = false }
pallet-child-bounties = { path = "../../../frame/child-bounties", default-features = false }
pallet-collective = { path = "../../../frame/collective", default-features = false }
pallet-contracts = { path = "../../../frame/contracts", default-features = false }
pallet-conviction-voting = { path = "../../../frame/conviction-voting", default-features = false }
pallet-core-fellowship = { path = "../../../frame/core-fellowship", default-features = false }
pallet-democracy = { path = "../../../frame/democracy", default-features = false }
pallet-election-provider-multi-phase = { path = "../../../frame/election-provider-multi-phase", default-features = false }
pallet-election-provider-support-benchmarking = { path = "../../../frame/election-provider-support/benchmarking", default-features = false, optional = true }
pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", default-features = false}
pallet-fast-unstake = { path = "../../../frame/fast-unstake", default-features = false}
pallet-nis = { path = "../../../frame/nis", default-features = false}
pallet-grandpa = { path = "../../../frame/grandpa", default-features = false}
pallet-im-online = { path = "../../../frame/im-online", default-features = false}
pallet-indices = { path = "../../../frame/indices", default-features = false}
pallet-identity = { path = "../../../frame/identity", default-features = false}
pallet-lottery = { path = "../../../frame/lottery", default-features = false}
pallet-membership = { path = "../../../frame/membership", default-features = false}
pallet-message-queue = { path = "../../../frame/message-queue", default-features = false}
pallet-elections-phragmen = { path = "../../../frame/elections-phragmen", default-features = false }
pallet-fast-unstake = { path = "../../../frame/fast-unstake", default-features = false }
pallet-nis = { path = "../../../frame/nis", default-features = false }
pallet-grandpa = { path = "../../../frame/grandpa", default-features = false }
pallet-im-online = { path = "../../../frame/im-online", default-features = false }
pallet-indices = { path = "../../../frame/indices", default-features = false }
pallet-identity = { path = "../../../frame/identity", default-features = false }
pallet-lottery = { path = "../../../frame/lottery", default-features = false }
pallet-membership = { path = "../../../frame/membership", default-features = false }
pallet-message-queue = { path = "../../../frame/message-queue", default-features = false }
pallet-mixnet = { path = "../../../frame/mixnet", default-features = false }
pallet-mmr = { path = "../../../frame/merkle-mountain-range", default-features = false}
pallet-multisig = { path = "../../../frame/multisig", default-features = false}
pallet-nfts = { path = "../../../frame/nfts", default-features = false}
pallet-nfts-runtime-api = { path = "../../../frame/nfts/runtime-api", default-features = false}
pallet-nft-fractionalization = { path = "../../../frame/nft-fractionalization", default-features = false}
pallet-nomination-pools = { path = "../../../frame/nomination-pools", default-features = false}
pallet-nomination-pools-benchmarking = { path = "../../../frame/nomination-pools/benchmarking", default-features = false, optional = true}
pallet-nomination-pools-runtime-api = { path = "../../../frame/nomination-pools/runtime-api", default-features = false}
pallet-offences = { path = "../../../frame/offences", default-features = false}
pallet-mmr = { path = "../../../frame/merkle-mountain-range", default-features = false }
pallet-multisig = { path = "../../../frame/multisig", default-features = false }
pallet-nfts = { path = "../../../frame/nfts", default-features = false }
pallet-nfts-runtime-api = { path = "../../../frame/nfts/runtime-api", default-features = false }
pallet-nft-fractionalization = { path = "../../../frame/nft-fractionalization", default-features = false }
pallet-nomination-pools = { path = "../../../frame/nomination-pools", default-features = false }
pallet-nomination-pools-benchmarking = { path = "../../../frame/nomination-pools/benchmarking", default-features = false, optional = true }
pallet-nomination-pools-runtime-api = { path = "../../../frame/nomination-pools/runtime-api", default-features = false }
pallet-offences = { path = "../../../frame/offences", default-features = false }
pallet-offences-benchmarking = { path = "../../../frame/offences/benchmarking", default-features = false, optional = true }
pallet-glutton = { path = "../../../frame/glutton", default-features = false}
pallet-preimage = { path = "../../../frame/preimage", default-features = false}
pallet-proxy = { path = "../../../frame/proxy", default-features = false}
pallet-insecure-randomness-collective-flip = { path = "../../../frame/insecure-randomness-collective-flip", default-features = false}
pallet-ranked-collective = { path = "../../../frame/ranked-collective", default-features = false}
pallet-recovery = { path = "../../../frame/recovery", default-features = false}
pallet-referenda = { path = "../../../frame/referenda", default-features = false}
pallet-remark = { path = "../../../frame/remark", default-features = false}
pallet-root-testing = { path = "../../../frame/root-testing", default-features = false}
pallet-salary = { path = "../../../frame/salary", default-features = false}
pallet-session = { path = "../../../frame/session", default-features = false , features = [ "historical" ]}
pallet-glutton = { path = "../../../frame/glutton", default-features = false }
pallet-preimage = { path = "../../../frame/preimage", default-features = false }
pallet-proxy = { path = "../../../frame/proxy", default-features = false }
pallet-insecure-randomness-collective-flip = { path = "../../../frame/insecure-randomness-collective-flip", default-features = false }
pallet-ranked-collective = { path = "../../../frame/ranked-collective", default-features = false }
pallet-recovery = { path = "../../../frame/recovery", default-features = false }
pallet-referenda = { path = "../../../frame/referenda", default-features = false }
pallet-remark = { path = "../../../frame/remark", default-features = false }
pallet-root-testing = { path = "../../../frame/root-testing", default-features = false }
pallet-salary = { path = "../../../frame/salary", default-features = false }
pallet-session = { path = "../../../frame/session", default-features = false, features = ["historical"] }
pallet-session-benchmarking = { path = "../../../frame/session/benchmarking", default-features = false, optional = true }
pallet-staking = { path = "../../../frame/staking", default-features = false}
pallet-staking-reward-curve = { path = "../../../frame/staking/reward-curve", default-features = false}
pallet-staking-runtime-api = { path = "../../../frame/staking/runtime-api", default-features = false}
pallet-state-trie-migration = { path = "../../../frame/state-trie-migration", default-features = false}
pallet-statement = { path = "../../../frame/statement", default-features = false}
pallet-scheduler = { path = "../../../frame/scheduler", default-features = false}
pallet-society = { path = "../../../frame/society", default-features = false}
pallet-sudo = { path = "../../../frame/sudo", default-features = false}
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false}
pallet-tips = { path = "../../../frame/tips", default-features = false}
pallet-treasury = { path = "../../../frame/treasury", default-features = false}
pallet-utility = { path = "../../../frame/utility", default-features = false}
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false}
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false}
pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment", default-features = false}
pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment", default-features = false}
pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false}
pallet-transaction-storage = { path = "../../../frame/transaction-storage", default-features = false}
pallet-uniques = { path = "../../../frame/uniques", default-features = false}
pallet-vesting = { path = "../../../frame/vesting", default-features = false}
pallet-whitelist = { path = "../../../frame/whitelist", default-features = false}
pallet-tx-pause = { path = "../../../frame/tx-pause", default-features = false}
pallet-safe-mode = { path = "../../../frame/safe-mode", default-features = false}
pallet-staking = { path = "../../../frame/staking", default-features = false }
pallet-staking-reward-curve = { path = "../../../frame/staking/reward-curve", default-features = false }
pallet-staking-runtime-api = { path = "../../../frame/staking/runtime-api", default-features = false }
pallet-state-trie-migration = { path = "../../../frame/state-trie-migration", default-features = false }
pallet-statement = { path = "../../../frame/statement", default-features = false }
pallet-scheduler = { path = "../../../frame/scheduler", default-features = false }
pallet-society = { path = "../../../frame/society", default-features = false }
pallet-sudo = { path = "../../../frame/sudo", default-features = false }
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
pallet-tips = { path = "../../../frame/tips", default-features = false }
pallet-treasury = { path = "../../../frame/treasury", default-features = false }
pallet-utility = { path = "../../../frame/utility", default-features = false }
pallet-transaction-payment = { path = "../../../frame/transaction-payment", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { path = "../../../frame/transaction-payment/rpc/runtime-api", default-features = false }
pallet-asset-conversion-tx-payment = { path = "../../../frame/transaction-payment/asset-conversion-tx-payment", default-features = false }
pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-payment", default-features = false }
pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment", default-features = false }
pallet-transaction-storage = { path = "../../../frame/transaction-storage", default-features = false }
pallet-uniques = { path = "../../../frame/uniques", default-features = false }
pallet-vesting = { path = "../../../frame/vesting", default-features = false }
pallet-whitelist = { path = "../../../frame/whitelist", default-features = false }
pallet-tx-pause = { path = "../../../frame/tx-pause", default-features = false }
pallet-safe-mode = { path = "../../../frame/safe-mode", default-features = false }
[build-dependencies]
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
[features]
default = [ "std" ]
with-tracing = [ "frame-executive/with-tracing" ]
default = ["std"]
with-tracing = ["frame-executive/with-tracing"]
std = [
"codec/std",
"frame-benchmarking-pallet-pov/std",
+4 -4
View File
@@ -29,13 +29,13 @@ pallet-asset-tx-payment = { path = "../../../frame/transaction-payment/asset-tx-
pallet-skip-feeless-payment = { path = "../../../frame/transaction-payment/skip-feeless-payment" }
sc-block-builder = { path = "../../../client/block-builder" }
sc-client-api = { path = "../../../client/api" }
sc-client-db = { path = "../../../client/db", features = ["rocksdb"]}
sc-client-db = { path = "../../../client/db", features = ["rocksdb"] }
sc-consensus = { path = "../../../client/consensus/common" }
sc-executor = { path = "../../../client/executor" }
sc-service = { path = "../../../client/service", features = [
"test-helpers",
"rocksdb",
]}
"test-helpers",
] }
sp-api = { path = "../../../primitives/api" }
sp-block-builder = { path = "../../../primitives/block-builder" }
sp-blockchain = { path = "../../../primitives/blockchain" }
@@ -45,5 +45,5 @@ sp-inherents = { path = "../../../primitives/inherents" }
sp-io = { path = "../../../primitives/io" }
sp-keyring = { path = "../../../primitives/keyring" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false}
sp-timestamp = { path = "../../../primitives/timestamp", default-features = false }
substrate-test-client = { path = "../../../test-utils/client" }
+2 -2
View File
@@ -28,10 +28,10 @@ sc-utils = { path = "../utils" }
sp-api = { path = "../../primitives/api" }
sp-blockchain = { path = "../../primitives/blockchain" }
sp-consensus = { path = "../../primitives/consensus/common" }
sp-core = { path = "../../primitives/core", default-features = false}
sp-core = { path = "../../primitives/core", default-features = false }
sp-database = { path = "../../primitives/database" }
sp-externalities = { path = "../../primitives/externalities" }
sp-runtime = { path = "../../primitives/runtime", default-features = false}
sp-runtime = { path = "../../primitives/runtime", default-features = false }
sp-state-machine = { path = "../../primitives/state-machine" }
sp-statement-store = { path = "../../primitives/statement-store" }
sp-storage = { path = "../../primitives/storage" }
@@ -21,8 +21,8 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
futures = "0.3.21"
futures-timer = "3.0.1"
ip_network = "0.4.1"
libp2p = { version = "0.51.3", features = ["kad", "ed25519"] }
multihash = { version = "0.17.0", default-features = false, features = ["std", "sha2"] }
libp2p = { version = "0.51.3", features = ["ed25519", "kad"] }
multihash = { version = "0.17.0", default-features = false, features = ["sha2", "std"] }
log = "0.4.17"
prost = "0.11"
rand = "0.8.5"
+1 -1
View File
@@ -35,5 +35,5 @@ docify = "0.2.0"
[dev-dependencies]
substrate-test-runtime = { path = "../../test-utils/runtime" }
sp-keyring = { path = "../../primitives/keyring" }
sp-application-crypto = { default-features = false, path = "../../primitives/application-crypto", features = ["serde"] }
sp-application-crypto = { default-features = false, path = "../../primitives/application-crypto", features = ["serde"] }
sp-consensus-babe = { default-features = false, path = "../../primitives/consensus/babe", features = ["serde"] }
+6 -6
View File
@@ -19,7 +19,7 @@ clap = { version = "4.4.10", features = ["derive", "string", "wrap_help"] }
fdlimit = "0.3.0"
futures = "0.3.21"
itertools = "0.10.3"
libp2p-identity = { version = "0.1.3", features = ["peerid", "ed25519"]}
libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
log = "0.4.17"
names = { version = "0.13.0", default-features = false }
parity-scale-codec = "3.6.1"
@@ -30,13 +30,13 @@ serde = "1.0.193"
serde_json = "1.0.108"
thiserror = "1.0.48"
bip39 = "2.0.0"
tokio = { version = "1.22.0", features = ["signal", "rt-multi-thread", "parking_lot"] }
tokio = { version = "1.22.0", features = ["parking_lot", "rt-multi-thread", "signal"] }
sc-client-api = { path = "../api" }
sc-client-db = { path = "../db", default-features = false}
sc-client-db = { path = "../db", default-features = false }
sc-keystore = { path = "../keystore" }
sc-mixnet = { path = "../mixnet" }
sc-network = { path = "../network" }
sc-service = { path = "../service", default-features = false}
sc-service = { path = "../service", default-features = false }
sc-telemetry = { path = "../telemetry" }
sc-tracing = { path = "../tracing" }
sc-utils = { path = "../utils" }
@@ -54,5 +54,5 @@ futures-timer = "3.0.1"
sp-tracing = { path = "../../primitives/tracing" }
[features]
default = [ "rocksdb" ]
rocksdb = [ "sc-client-db/rocksdb" ]
default = ["rocksdb"]
rocksdb = ["sc-client-db/rocksdb"]
@@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
futures = "0.3.21"
serde = { version = "1.0.193", features = ["derive"] }
thiserror = "1.0"
@@ -11,7 +11,7 @@ homepage = "https://substrate.io"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.21"
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
log = "0.4"
parking_lot = "0.12.1"
serde = { version = "1.0.193", features = ["derive"] }
@@ -24,6 +24,6 @@ sp-runtime = { path = "../../../../primitives/runtime" }
[dev-dependencies]
serde_json = "1.0.108"
sc-rpc = { path = "../../../rpc", features = ["test-helpers"]}
sc-rpc = { path = "../../../rpc", features = ["test-helpers"] }
substrate-test-runtime-client = { path = "../../../../test-utils/runtime/client" }
tokio = { version = "1.22.0", features = ["macros"] }
+1 -1
View File
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
async-trait = "0.1.57"
futures = { version = "0.3.21", features = ["thread-pool"] }
futures-timer = "3.0.1"
libp2p-identity = { version = "0.1.3", features = ["peerid", "ed25519"] }
libp2p-identity = { version = "0.1.3", features = ["ed25519", "peerid"] }
log = "0.4.17"
mockall = "0.11.3"
parking_lot = "0.12.1"
@@ -12,7 +12,7 @@ homepage = "https://substrate.io"
[dependencies]
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
futures = "0.3.16"
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
log = "0.4.8"
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"] }
@@ -26,7 +26,7 @@ sp-runtime = { path = "../../../../primitives/runtime" }
[dev-dependencies]
sc-block-builder = { path = "../../../block-builder" }
sc-rpc = { path = "../../../rpc", features = ["test-helpers"]}
sc-rpc = { path = "../../../rpc", features = ["test-helpers"] }
sp-core = { path = "../../../../primitives/core" }
sp-consensus-grandpa = { path = "../../../../primitives/consensus/grandpa" }
sp-keyring = { path = "../../../../primitives/keyring" }
@@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
assert_matches = "1.3.0"
async-trait = "0.1.57"
codec = { package = "parity-scale-codec", version = "3.6.1" }
@@ -43,7 +43,7 @@ sp-runtime = { path = "../../../primitives/runtime" }
sp-timestamp = { path = "../../../primitives/timestamp" }
[dev-dependencies]
tokio = { version = "1.22.0", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread"] }
sc-basic-authorship = { path = "../../basic-authorship" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }
substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool" }
+1 -1
View File
@@ -53,7 +53,7 @@ runtime-benchmarks = [
"kitchensink-runtime/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
rocksdb = [ "kvdb-rocksdb" ]
rocksdb = ["kvdb-rocksdb"]
[[bench]]
name = "state_access"
+1 -1
View File
@@ -55,7 +55,7 @@ name = "bench"
harness = false
[features]
default = [ "std" ]
default = ["std"]
# This crate does not have `no_std` support, we just require this for tests
std = [
"sc-runtime-test/std",
@@ -13,17 +13,17 @@ repository.workspace = true
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-core = { path = "../../../primitives/core", default-features = false}
sp-io = { path = "../../../primitives/io", default-features = false, features = ["improved_panic_error_reporting"]}
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-core = { path = "../../../primitives/core", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false, features = ["improved_panic_error_reporting"] }
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 }
[build-dependencies]
substrate-wasm-builder = { path = "../../../utils/wasm-builder", optional = true }
[features]
default = [ "std" ]
default = ["std"]
std = [
"sp-core/std",
"sp-io/std",
@@ -25,7 +25,7 @@ wasmtime = { version = "8.0.1", default-features = false, features = [
"cranelift",
"jitdump",
"parallel-compilation",
"pooling-allocator"
"pooling-allocator",
] }
anyhow = "1.0.68"
sc-allocator = { path = "../../allocator" }
@@ -39,7 +39,7 @@ sp-wasm-interface = { path = "../../../primitives/wasm-interface", features = ["
# By default rustix directly calls the appropriate syscalls completely bypassing libc;
# this doesn't have any actual benefits for us besides making it harder to debug memory
# problems (since then `mmap` etc. cannot be easily hooked into).
rustix = { version = "0.36.7", default-features = false, features = ["std", "mm", "fs", "param", "use-libc"] }
rustix = { version = "0.36.7", default-features = false, features = ["fs", "mm", "param", "std", "use-libc"] }
[dev-dependencies]
wat = "1.0"
@@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
serde = { version = "1.0.193", features = ["derive"] }
sp-api = { path = "../../../primitives/api" }
sp-blockchain = { path = "../../../primitives/blockchain" }
+1 -1
View File
@@ -30,6 +30,6 @@ sp-runtime = { path = "../../primitives/runtime" }
[dev-dependencies]
tokio = "1.22.0"
async-trait = "0.1.73"
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] }
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
quickcheck = { version = "1.0.3", default-features = false }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
+2 -2
View File
@@ -25,7 +25,7 @@ fnv = "1.0.6"
futures = "0.3.21"
futures-timer = "3.0.2"
ip_network = "0.4.1"
libp2p = { version = "0.51.3", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "tcp", "tokio", "yamux", "websocket", "request-response"] }
libp2p = { version = "0.51.3", features = ["dns", "identify", "kad", "macros", "mdns", "noise", "ping", "request-response", "tcp", "tokio", "websocket", "yamux"] }
linked_hash_set = "0.1.3"
log = "0.4.17"
mockall = "0.11.3"
@@ -39,7 +39,7 @@ smallvec = "1.11.0"
thiserror = "1.0"
tokio = { version = "1.22.0", features = ["macros", "sync"] }
tokio-stream = "0.1.7"
unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] }
unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec", "futures"] }
zeroize = "1.4.3"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" }
sc-client-api = { path = "../api" }
+1 -1
View File
@@ -23,7 +23,7 @@ libp2p-identity = { version = "0.1.3", features = ["peerid"] }
log = "0.4.17"
prost = "0.11"
thiserror = "1.0"
unsigned-varint = { version = "0.7.1", features = ["futures", "asynchronous_codec"] }
unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec", "futures"] }
sc-client-api = { path = "../../api" }
sc-network = { path = ".." }
sp-blockchain = { path = "../../../primitives/blockchain" }
+1 -1
View File
@@ -19,7 +19,7 @@ prost-build = "0.11"
async-channel = "1.8.0"
array-bytes = "6.1"
codec = { package = "parity-scale-codec", version = "3.6.1", features = [
"derive",
"derive",
] }
futures = "0.3.21"
libp2p-identity = { version = "0.1.3", features = ["peerid"] }
+1 -1
View File
@@ -30,7 +30,7 @@ schnellru = "0.2.1"
smallvec = "1.11.0"
thiserror = "1.0"
tokio-stream = "0.1.14"
tokio = { version = "1.32.0", features = ["time", "macros"] }
tokio = { version = "1.32.0", features = ["macros", "time"] }
fork-tree = { path = "../../../utils/fork-tree" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus" }
sc-client-api = { path = "../../api" }
+1 -1
View File
@@ -29,7 +29,7 @@ sc-network-common = { path = "../common" }
sc-utils = { path = "../../utils" }
sc-network-light = { path = "../light" }
sc-network-sync = { path = "../sync" }
sc-service = { path = "../../service", default-features = false, features = ["test-helpers"]}
sc-service = { path = "../../service", default-features = false, features = ["test-helpers"] }
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-consensus = { path = "../../../primitives/consensus/common" }
sp-core = { path = "../../../primitives/core" }
+2 -2
View File
@@ -19,7 +19,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive
fnv = "1.0.6"
futures = "0.3.21"
futures-timer = "3.0.2"
hyper = { version = "0.14.16", features = ["stream", "http2"] }
hyper = { version = "0.14.16", features = ["http2", "stream"] }
hyper-rustls = { version = "0.24.0", features = ["http2"] }
libp2p = "0.51.3"
num_cpus = "1.13"
@@ -45,7 +45,7 @@ log = "0.4.17"
lazy_static = "1.4.0"
tokio = "1.22.0"
sc-block-builder = { path = "../block-builder" }
sc-client-db = { path = "../db", default-features = true}
sc-client-db = { path = "../db", default-features = true }
sc-transaction-pool = { path = "../transaction-pool" }
sc-transaction-pool-api = { path = "../transaction-pool/api" }
sp-consensus = { path = "../../primitives/consensus/common" }
+1 -1
View File
@@ -25,4 +25,4 @@ sp-core = { path = "../../primitives/core" }
sp-rpc = { path = "../../primitives/rpc" }
sp-runtime = { path = "../../primitives/runtime" }
sp-version = { path = "../../primitives/version" }
jsonrpsee = { version = "0.16.2", features = ["server", "client-core", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
+2 -2
View File
@@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
# Internal chain structures for "chain_spec".
sc-chain-spec = { path = "../chain-spec" }
# Pool for submitting extrinsics required by "transaction"
@@ -47,6 +47,6 @@ sp-consensus = { path = "../../primitives/consensus/common" }
sp-externalities = { path = "../../primitives/externalities" }
sp-maybe-compressed-blob = { path = "../../primitives/maybe-compressed-blob" }
sc-block-builder = { path = "../block-builder" }
sc-service = { path = "../service", features = ["test-helpers"]}
sc-service = { path = "../service", features = ["test-helpers"] }
assert_matches = "1.3.0"
pretty_assertions = "1.2.1"
+4 -4
View File
@@ -13,10 +13,10 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = [ "rocksdb" ]
default = ["rocksdb"]
# The RocksDB feature activates the RocksDB database backend. If it is not activated, and you pass
# a path to a database, an error will be produced at runtime.
rocksdb = [ "sc-client-db/rocksdb" ]
rocksdb = ["sc-client-db/rocksdb"]
# exposes the client type
test-helpers = []
runtime-benchmarks = [
@@ -59,7 +59,7 @@ sc-network-transactions = { path = "../network/transactions" }
sc-chain-spec = { path = "../chain-spec" }
sc-client-api = { path = "../api" }
sp-api = { path = "../../primitives/api" }
sc-client-db = { path = "../db", default-features = false}
sc-client-db = { path = "../db", default-features = false }
codec = { package = "parity-scale-codec", version = "3.6.1" }
sc-executor = { path = "../executor" }
sc-transaction-pool = { path = "../transaction-pool" }
@@ -77,7 +77,7 @@ sc-sysinfo = { path = "../sysinfo" }
tracing = "0.1.29"
tracing-futures = { version = "0.2.4" }
async-trait = "0.1.57"
tokio = { version = "1.22.0", features = ["time", "rt-multi-thread", "parking_lot"] }
tokio = { version = "1.22.0", features = ["parking_lot", "rt-multi-thread", "time"] }
tempfile = "3.1.0"
directories = "5.0.1"
static_init = "1.0.3"
+2 -2
View File
@@ -23,12 +23,12 @@ tempfile = "3.1.0"
tokio = { version = "1.22.0", features = ["time"] }
sc-block-builder = { path = "../../block-builder" }
sc-client-api = { path = "../../api" }
sc-client-db = { path = "../../db", default-features = false}
sc-client-db = { path = "../../db", default-features = false }
sc-consensus = { path = "../../consensus/common" }
sc-executor = { path = "../../executor" }
sc-network = { path = "../../network" }
sc-network-sync = { path = "../../network/sync" }
sc-service = { path = "..", features = ["test-helpers"]}
sc-service = { path = "..", features = ["test-helpers"] }
sc-transaction-pool-api = { path = "../../transaction-pool/api" }
sp-api = { path = "../../../primitives/api" }
sp-blockchain = { path = "../../../primitives/blockchain" }
+1 -1
View File
@@ -12,7 +12,7 @@ homepage = "https://substrate.io"
clap = { version = "4.4.10", features = ["derive", "string"] }
log = "0.4.17"
fs4 = "0.7.0"
sc-client-db = { path = "../db", default-features = false}
sc-client-db = { path = "../db", default-features = false }
sp-core = { path = "../../primitives/core" }
tokio = "1.22.0"
thiserror = "1.0.48"
+1 -1
View File
@@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.16.2", features = ["client-core", "server", "macros"] }
jsonrpsee = { version = "0.16.2", features = ["client-core", "macros", "server"] }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
thiserror = "1.0.48"
@@ -18,4 +18,4 @@ proc-macro = true
proc-macro-crate = "1.1.3"
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"] }
@@ -16,8 +16,8 @@ log = "0.4.17"
serde = { version = "1.0.193", features = ["derive"] }
thiserror = "1.0.48"
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-core = { path = "../../../primitives/core", default-features = false}
sp-runtime = { path = "../../../primitives/runtime", default-features = false}
sp-core = { path = "../../../primitives/core", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
[dev-dependencies]
serde_json = "1.0.108"
+2 -2
View File
@@ -17,10 +17,10 @@ lazy_static = "1.4.0"
log = "0.4"
parking_lot = "0.12.1"
prometheus = { version = "0.13.0", default-features = false }
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false}
sp-arithmetic = { path = "../../primitives/arithmetic", default-features = false }
[features]
default = [ "metered" ]
default = ["metered"]
metered = []
[dev-dependencies]
+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",

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