mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Fix Substrate features (#14660)
* Fix std, runtime-benchmarks and try-runtime features zepter lint propagate-feature --feature try-runtime --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="try-runtime:frame-try-runtime" zepter lint propagate-feature --feature runtime-benchmarks --left-side-feature-missing=ignore --workspace --fix --feature-enables-dep="runtime-benchmarks:frame-benchmarking" zepter lint propagate-feature --feature std --left-side-feature-missing=ignore --workspace --fix Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add propagate feature CI check Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test CI by adding an error Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use --locked Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add help msg Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Test CI by adding an error" This reverts commit cf4ff6cc0632269b0a109e547686e5e3314b02de. * Test CI by adding an error Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * No newline in help msg Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Test CI by adding an error" This reverts commit 5daa06ada8e01f5bebafb9d1c76804dd79bc1006. * Test CI by adding an error Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Test CI by adding an error" This reverts commit ca15de5729507a564f140a10ec2e87b19516ec4c. * Fix msg Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert back to master Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Re-do with Zepter v0.7.4 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Zepter to 0.7.4 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Disable rococo try-runtime check Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * More review fixes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
committed by
GitHub
parent
514bb1d8a2
commit
77321288c3
@@ -73,7 +73,9 @@ std = [
|
||||
"frame-support-procedural/std",
|
||||
"log/std",
|
||||
"environmental/std",
|
||||
"sp-genesis-builder/std"
|
||||
"sp-genesis-builder/std",
|
||||
"frame-system/std",
|
||||
"sp-debug-derive/std"
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"frame-system/runtime-benchmarks",
|
||||
@@ -81,7 +83,9 @@ runtime-benchmarks = [
|
||||
"sp-staking/runtime-benchmarks"
|
||||
]
|
||||
try-runtime = [
|
||||
"sp-debug-derive/force-debug"
|
||||
"sp-debug-derive/force-debug",
|
||||
"frame-system/try-runtime",
|
||||
"sp-runtime/try-runtime"
|
||||
]
|
||||
experimental = []
|
||||
# By default some types have documentation, `no-metadata-docs` allows to reduce the documentation
|
||||
|
||||
@@ -49,16 +49,17 @@ std = [
|
||||
"sp-core/std",
|
||||
"sp-io/std",
|
||||
"sp-runtime/std",
|
||||
"sp-state-machine",
|
||||
"sp-std/std",
|
||||
"sp-version/std",
|
||||
"test-pallet/std",
|
||||
"sp-state-machine/std"
|
||||
]
|
||||
experimental = ["frame-support/experimental"]
|
||||
try-runtime = [
|
||||
"frame-support/try-runtime",
|
||||
"frame-system/try-runtime",
|
||||
"frame-executive/try-runtime",
|
||||
"sp-runtime/try-runtime"
|
||||
]
|
||||
# WARNING:
|
||||
# Only CI runs with this feature enabled. This feature is for testing stuff related to the FRAME macros
|
||||
|
||||
@@ -27,4 +27,5 @@ std = [
|
||||
"frame-system/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"sp-runtime/std"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user