fix(ci): resolve all quick-checks failures
- Remove missing cli crate from workspace members - Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml - Fix Rust import ordering with cargo fmt - Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
@@ -210,8 +210,8 @@ pezkuwi-sdk = { features = [
|
||||
], optional = true, workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["cli"]
|
||||
cli = ["clap", "clap_complete", "node-inspect", "pezkuwi-sdk"]
|
||||
default = [ "cli" ]
|
||||
cli = [ "clap", "clap_complete", "node-inspect", "pezkuwi-sdk" ]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-cli-test-utils/runtime-benchmarks",
|
||||
"node-inspect?/runtime-benchmarks",
|
||||
@@ -223,8 +223,9 @@ runtime-benchmarks = [
|
||||
"pezsc-service-test/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezframe-benchmarking-cli?/runtime-benchmarks"
|
||||
]
|
||||
storage-benchmark = ["pezframe-benchmarking-cli/storage-benchmark"]
|
||||
storage-benchmark = [ "pezframe-benchmarking-cli/storage-benchmark" ]
|
||||
try-runtime = [
|
||||
"bizinikiwi-cli-test-utils/try-runtime",
|
||||
"pez-kitchensink-runtime/try-runtime",
|
||||
|
||||
@@ -21,6 +21,6 @@ pezsp-core = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["pezsp-core/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [ "pezsp-core/std", "pezsp-runtime/std" ]
|
||||
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
|
||||
|
||||
@@ -51,8 +51,8 @@ pezpallet-example-tasks = { workspace = true }
|
||||
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
with-tracing = ["pezkuwi-sdk/with-tracing"]
|
||||
default = [ "std" ]
|
||||
with-tracing = [ "pezkuwi-sdk/with-tracing" ]
|
||||
std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
"codec/std",
|
||||
@@ -88,5 +88,5 @@ try-runtime = [
|
||||
"pezpallet-example-tasks/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
experimental = ["pezpallet-example-tasks/experimental"]
|
||||
metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
|
||||
experimental = [ "pezpallet-example-tasks/experimental" ]
|
||||
metadata-hash = [ "bizinikiwi-wasm-builder/metadata-hash" ]
|
||||
|
||||
@@ -25,4 +25,4 @@ clap = { features = ["derive"], workspace = true }
|
||||
pezsc-cli = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["pezsc-cli/runtime-benchmarks"]
|
||||
runtime-benchmarks = [ "pezsc-cli/runtime-benchmarks" ]
|
||||
|
||||
@@ -63,8 +63,8 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["rocksdb"]
|
||||
rocksdb = ["pezsc-client-db/rocksdb"]
|
||||
default = [ "rocksdb" ]
|
||||
rocksdb = [ "pezsc-client-db/rocksdb" ]
|
||||
runtime-benchmarks = [
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-client-db/runtime-benchmarks",
|
||||
|
||||
@@ -68,4 +68,4 @@ runtime-benchmarks = [
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
]
|
||||
rocksdb = ["kvdb-rocksdb"]
|
||||
rocksdb = [ "kvdb-rocksdb" ]
|
||||
|
||||
@@ -58,7 +58,7 @@ tracing-subscriber = { workspace = true }
|
||||
wat = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
# This crate does not have `no_std` support, we just require this for tests
|
||||
std = [
|
||||
"bizinikiwi-test-runtime/std",
|
||||
|
||||
@@ -27,7 +27,7 @@ pezsp-runtime-interface = { workspace = true }
|
||||
bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
"pezsp-core/std",
|
||||
|
||||
@@ -21,4 +21,4 @@ codec = { features = ["derive"], workspace = true, default-features = true }
|
||||
pezsp-runtime = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
runtime-benchmarks = [ "pezsp-runtime/runtime-benchmarks" ]
|
||||
|
||||
@@ -38,4 +38,4 @@ tower = { workspace = true, features = ["util"] }
|
||||
tower-http = { workspace = true, features = ["cors"] }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["pezsc-rpc-api/runtime-benchmarks"]
|
||||
runtime-benchmarks = [ "pezsc-rpc-api/runtime-benchmarks" ]
|
||||
|
||||
@@ -84,10 +84,10 @@ bizinikiwi-test-runtime = { workspace = true }
|
||||
bizinikiwi-test-runtime-client = { workspace = true }
|
||||
|
||||
[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 = ["pezsc-client-db/rocksdb"]
|
||||
rocksdb = [ "pezsc-client-db/rocksdb" ]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"bizinikiwi-test-runtime/runtime-benchmarks",
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
//! across integration tests for transaction pool.
|
||||
|
||||
use anyhow::anyhow;
|
||||
use std::time::SystemTime;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
use txtesttool::scenario::{ChainType, ScenarioBuilder};
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
pezkuwi_subxt::BizinikiwConfig, GlobalSettingsBuilder, LocalFileSystem, Network, NetworkConfig,
|
||||
NetworkConfigBuilder, NetworkConfigExt, WithRelaychain,
|
||||
};
|
||||
use std::time::SystemTime;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
use txtesttool::scenario::{ChainType, ScenarioBuilder};
|
||||
|
||||
/// Bizinikiwi configuration for zombienet tests - based on BizinikiwConfig
|
||||
pub type BizinikiwiConfig = BizinikiwConfig;
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
|
||||
use crate::zombienet::{BlockSubscriptionType, NetworkSpawner, ScenarioBuilderSharedParams};
|
||||
use pezcumulus_zombienet_sdk_helpers::create_assign_core_call;
|
||||
use serde_json::json;
|
||||
use txtesttool::{execution_log::ExecutionLog, scenario::ScenarioBuilder};
|
||||
use pezkuwi_zombienet_sdk::{
|
||||
pezkuwi_subxt::{OnlineClient, PezkuwiConfig},
|
||||
pezkuwi_subxt_signer::sr25519::dev,
|
||||
NetworkConfigBuilder,
|
||||
};
|
||||
use serde_json::json;
|
||||
use txtesttool::{execution_log::ExecutionLog, scenario::ScenarioBuilder};
|
||||
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
#[ignore]
|
||||
|
||||
@@ -26,5 +26,5 @@ prometheus = { workspace = true }
|
||||
tokio-test = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["metered"]
|
||||
default = [ "metered" ]
|
||||
metered = []
|
||||
|
||||
@@ -19,5 +19,5 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
pezsp-crypto-hashing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["pezsp-crypto-hashing/std"]
|
||||
default = [ "std" ]
|
||||
std = [ "pezsp-crypto-hashing/std" ]
|
||||
|
||||
@@ -62,7 +62,7 @@ docify = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["runtime", "std"]
|
||||
default = [ "runtime", "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
@@ -121,7 +121,7 @@ try-runtime = [
|
||||
"pezframe-try-runtime/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
experimental = ["pezframe-support/experimental"]
|
||||
experimental = [ "pezframe-support/experimental" ]
|
||||
runtime = [
|
||||
"pezframe-executive",
|
||||
"pezframe-system-rpc-runtime-api",
|
||||
|
||||
@@ -42,7 +42,7 @@ pezpallet-collective = { workspace = true, default-features = true }
|
||||
pezsp-crypto-hashing = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -39,7 +39,7 @@ primitive-types = { features = [
|
||||
], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -38,7 +38,7 @@ primitive-types = { features = [
|
||||
], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ pezsp-core = { workspace = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -39,7 +39,7 @@ primitive-types = { workspace = true, features = [
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -28,13 +28,13 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"pezpallet-assets/std",
|
||||
"pezpallet-balances/std",
|
||||
"scale-info/std",
|
||||
@@ -43,9 +43,13 @@ runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-assets/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-assets/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
|
||||
@@ -31,7 +31,7 @@ pezsp-core = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -31,7 +31,7 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -27,10 +27,24 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "pezpallet-balances/std", "scale-info/std"]
|
||||
try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"pezpallet-balances/std",
|
||||
"scale-info/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
|
||||
@@ -32,7 +32,7 @@ pezsp-core = { workspace = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -32,7 +32,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -29,7 +29,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -44,7 +44,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -50,7 +50,7 @@ pezsp-io = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -36,7 +36,7 @@ pezframe-support = { features = [
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -38,12 +38,12 @@ pezpallet-balances = { workspace = true }
|
||||
pezsp-staking = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"array-bytes",
|
||||
"pez-binary-merkle-tree/std",
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pez-binary-merkle-tree/std",
|
||||
"pezframe-benchmarking/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
|
||||
@@ -40,7 +40,7 @@ pezsp-state-machine = { workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -44,7 +44,7 @@ pezsp-state-machine = { workspace = true }
|
||||
rusty-fork = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"linregress",
|
||||
|
||||
@@ -25,7 +25,7 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking/std",
|
||||
|
||||
@@ -32,7 +32,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -34,7 +34,7 @@ pezsp-tracing = { workspace = true, default-features = true }
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"codec/std",
|
||||
|
||||
@@ -33,7 +33,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -32,7 +32,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -71,7 +71,7 @@ pezsp-keystore = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"environmental/std",
|
||||
|
||||
@@ -43,7 +43,7 @@ xcm-pez-simulator = { workspace = true, default-features = true }
|
||||
pezpallet-contracts-fixtures = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -25,5 +25,5 @@ paste = { workspace = true }
|
||||
scale-info = { features = ["derive"], optional = true, workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["scale"]
|
||||
scale = ["dep:codec", "scale-info"]
|
||||
default = [ "scale" ]
|
||||
scale = [ "dep:codec", "scale-info" ]
|
||||
|
||||
@@ -34,7 +34,7 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -33,7 +33,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -36,7 +36,7 @@ pezpallet-preimage = { workspace = true, default-features = true }
|
||||
pezpallet-scheduler = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -36,7 +36,7 @@ xcm-executor = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -31,7 +31,7 @@ pezpallet-people = { workspace = true }
|
||||
verifiable = { workspace = true, features = ["small-ring"] }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -43,7 +43,7 @@ pezsp-io = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -51,8 +51,8 @@ rand = { workspace = true, default-features = true }
|
||||
|
||||
|
||||
[features]
|
||||
remote-mining = ["hex", "remote-externalities", "tokio"]
|
||||
default = ["std"]
|
||||
remote-mining = [ "hex", "remote-externalities", "tokio" ]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -34,8 +34,8 @@ pezsp-npos-elections = { workspace = true, default-features = true }
|
||||
rand = { features = ["small_rng"], workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
fuzz = ["default"]
|
||||
default = [ "std" ]
|
||||
fuzz = [ "default" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
|
||||
@@ -24,7 +24,7 @@ pezsp-npos-elections = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -36,7 +36,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ pezpallet-example-tasks = { workspace = true }
|
||||
pezpallet-example-view-functions = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"pezpallet-default-config-example/std",
|
||||
"pezpallet-dev-mode/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ pezsp-core = { workspace = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -32,7 +32,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -28,7 +28,7 @@ pezsp-io = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -31,7 +31,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ pezpallet-balances = { workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -24,7 +24,7 @@ pezsp-io = { workspace = true }
|
||||
scale-info = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"lite-json/std",
|
||||
|
||||
@@ -28,6 +28,16 @@ pezframe-system = { workspace = true }
|
||||
pezframe-support = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "pezframe-system/std", "pezframe-support/std", "scale-info/std"]
|
||||
runtime-benchmarks = ["pezframe/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
|
||||
@@ -27,7 +27,7 @@ pezsp-version = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -33,7 +33,7 @@ pezframe-benchmarking = { optional = true, workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
@@ -50,4 +50,4 @@ runtime-benchmarks = [
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = ["pezframe-support/try-runtime", "pezframe-system/try-runtime"]
|
||||
try-runtime = [ "pezframe-support/try-runtime", "pezframe-system/try-runtime" ]
|
||||
|
||||
@@ -31,7 +31,7 @@ pezsp-runtime = { workspace = true }
|
||||
pezframe-benchmarking = { optional = true, workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
@@ -55,4 +55,7 @@ try-runtime = [
|
||||
"pezframe-system/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
experimental = ["pezframe-support/experimental", "pezframe-system/experimental"]
|
||||
experimental = [
|
||||
"pezframe-support/experimental",
|
||||
"pezframe-system/experimental",
|
||||
]
|
||||
|
||||
@@ -36,7 +36,7 @@ pezsp-runtime = { default-features = false, workspace = true }
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-metadata/std",
|
||||
|
||||
@@ -38,8 +38,8 @@ pezsp-io = { workspace = true, default-features = true }
|
||||
pezsp-version = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
with-tracing = ["pezsp-tracing/with-tracing"]
|
||||
default = [ "std" ]
|
||||
with-tracing = [ "pezsp-tracing/with-tracing" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -41,7 +41,7 @@ pezsp-core = { workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ pezsp-runtime = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"blake2/std",
|
||||
"codec/std",
|
||||
|
||||
@@ -48,7 +48,7 @@ pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ pezsp-runtime = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -21,6 +21,6 @@ scale-info = { workspace = true }
|
||||
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezsp-api/std", "pezsp-std/std", "scale-info/std"]
|
||||
runtime-benchmarks = ["pezsp-api/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezsp-api/std", "pezsp-std/std", "scale-info/std" ]
|
||||
runtime-benchmarks = [ "pezsp-api/runtime-benchmarks" ]
|
||||
|
||||
@@ -33,7 +33,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"enumflags2/std",
|
||||
|
||||
@@ -35,7 +35,7 @@ pezpallet-balances = { workspace = true }
|
||||
pezpallet-session = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,7 +30,7 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -25,7 +25,22 @@ safe-mix = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "safe-mix/std", "scale-info/std"]
|
||||
try-runtime = ["pezframe/try-runtime"]
|
||||
runtime-benchmarks = ["pezframe/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"safe-mix/std",
|
||||
"scale-info/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
|
||||
@@ -30,7 +30,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -28,7 +28,7 @@ pezsp-runtime = { features = ["serde"], workspace = true }
|
||||
scale-info = { features = ["derive", "serde"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -29,18 +29,24 @@ itertools = { workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"pezsp-mmr-primitives/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezsp-mmr-primitives/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
try-runtime = ["pezframe/try-runtime"]
|
||||
|
||||
@@ -25,6 +25,7 @@ use crate::{
|
||||
use alloc::{vec, vec::Vec};
|
||||
use codec::Encode;
|
||||
use core::iter::Peekable;
|
||||
use log::{debug, trace};
|
||||
use pezframe::{
|
||||
deps::{
|
||||
pezsp_core::offchain::StorageKind,
|
||||
@@ -32,7 +33,6 @@ use pezframe::{
|
||||
},
|
||||
prelude::*,
|
||||
};
|
||||
use log::{debug, trace};
|
||||
|
||||
/// A marker type for runtime-specific storage implementation.
|
||||
///
|
||||
|
||||
@@ -39,7 +39,7 @@ rand = { workspace = true, default-features = true }
|
||||
rand_distr = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"environmental/std",
|
||||
|
||||
@@ -34,7 +34,7 @@ pezsp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
|
||||
@@ -31,7 +31,7 @@ pezsp-api = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"const-hex/std",
|
||||
|
||||
@@ -36,14 +36,14 @@ pezsp-tracing = { features = [
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"log/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime/std",
|
||||
@@ -51,19 +51,19 @@ std = [
|
||||
]
|
||||
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-executive/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezframe-executive/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezframe/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -31,20 +31,26 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"pezsp-application-crypto/std",
|
||||
"pezsp-mixnet/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
]
|
||||
try-runtime = ["pezframe/try-runtime"]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezsp-mixnet/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
|
||||
@@ -33,7 +33,7 @@ pezpallet-preimage = { workspace = true, default-features = true }
|
||||
pezpallet-utility = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -30,10 +30,24 @@ log = { workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "log/std", "scale-info/std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pezframe/std",
|
||||
"scale-info/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
|
||||
|
||||
@@ -30,13 +30,13 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
pezpallet-balances = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe-support/std",
|
||||
"log/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezframe/std",
|
||||
"pezpallet-assets/std",
|
||||
"pezpallet-balances/std",
|
||||
"pezpallet-nfts/std",
|
||||
@@ -47,10 +47,14 @@ runtime-benchmarks = [
|
||||
"pezpallet-assets/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-nfts/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-assets/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-nfts/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
use super::*;
|
||||
use pezframe::benchmarking::prelude::*;
|
||||
|
||||
use pezframe::deps::pezframe_support::assert_ok;
|
||||
use fungible::{Inspect as InspectFungible, Mutate as MutateFungible};
|
||||
use nonfungibles_v2::{Create, Mutate};
|
||||
use pezframe::deps::pezframe_support::assert_ok;
|
||||
|
||||
use pezframe_system::RawOrigin as SystemOrigin;
|
||||
use pezpallet_nfts::{CollectionConfig, CollectionSettings, ItemConfig, MintSettings};
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
|
||||
use crate::{mock::*, *};
|
||||
|
||||
use pezframe::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
|
||||
use fungible::{hold::Inspect as InspectHold, Mutate as MutateFungible};
|
||||
use fungibles::{metadata::Inspect, InspectEnumerable};
|
||||
use pezframe::{deps::pezsp_runtime::ModuleError, testing_prelude::*};
|
||||
use TokenError::FundsUnavailable;
|
||||
|
||||
use pezpallet_nfts::CollectionConfig;
|
||||
|
||||
@@ -33,7 +33,7 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"enumflags2/std",
|
||||
|
||||
@@ -21,6 +21,6 @@ codec = { features = ["derive"], workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezsp-api/std"]
|
||||
runtime-benchmarks = ["pezsp-api/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezsp-api/std" ]
|
||||
runtime-benchmarks = [ "pezsp-api/runtime-benchmarks" ]
|
||||
|
||||
@@ -28,11 +28,24 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "scale-info/std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe/std",
|
||||
"scale-info/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
try-runtime = ["pezframe/try-runtime", "pezpallet-balances/try-runtime"]
|
||||
|
||||
@@ -90,12 +90,12 @@ pub use pezpallet::*;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
use alloc::{vec, vec::Vec};
|
||||
use pezframe::prelude::*;
|
||||
use fungible::{
|
||||
Balanced as FunBalanced, Inspect as FunInspect, Mutate as FunMutate,
|
||||
MutateHold as FunMutateHold,
|
||||
};
|
||||
use nonfungible::{Inspect as NftInspect, Transfer as NftTransfer};
|
||||
use pezframe::prelude::*;
|
||||
use tokens::{Balance, Restriction::*};
|
||||
use Fortitude::*;
|
||||
use Precision::*;
|
||||
|
||||
@@ -24,7 +24,22 @@ log = { workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezframe/std", "log/std", "scale-info/std"]
|
||||
try-runtime = ["pezframe/try-runtime"]
|
||||
runtime-benchmarks = ["pezframe/runtime-benchmarks"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"pezframe/std",
|
||||
"scale-info/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std"
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks"
|
||||
]
|
||||
|
||||
@@ -38,8 +38,8 @@ pezpallet-balances = { workspace = true, default-features = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
fuzzing = ["pezpallet-balances", "pezsp-tracing"]
|
||||
default = [ "std" ]
|
||||
fuzzing = [ "pezpallet-balances", "pezsp-tracing" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
@@ -44,7 +44,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezframe-benchmarking/std",
|
||||
|
||||
@@ -22,8 +22,8 @@ pezpallet-nomination-pools = { workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "pezpallet-nomination-pools/std", "pezsp-api/std"]
|
||||
default = [ "std" ]
|
||||
std = [ "codec/std", "pezpallet-nomination-pools/std", "pezsp-api/std" ]
|
||||
runtime-benchmarks = [
|
||||
"pezpallet-nomination-pools/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
|
||||
@@ -31,7 +31,7 @@ pezsp-core = { workspace = true, default-features = true }
|
||||
pezsp-io = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user