File tree Expand file tree Collapse file tree 17 files changed +137
-128
lines changed
collectives/collectives-polkadot Expand file tree Collapse file tree 17 files changed +137
-128
lines changed Original file line number Diff line number Diff line change @@ -347,9 +347,9 @@ try-runtime = [
347347 " sp-runtime/try-runtime" ,
348348]
349349
350- # A feature that should be enabled when the runtime should be build for on-chain
350+ # A feature that should be enabled when the runtime should be built for on-chain
351351# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
352- # to make it smaller like logging for example.
352+ # to make it smaller, like logging for example.
353353on-chain-release-build = [ " sp-api/disable-logging" ]
354354
355355# Set timing constants (e.g. session period) to faster versions to speed up testing.
Original file line number Diff line number Diff line change @@ -331,9 +331,9 @@ try-runtime = [
331331 " sp-runtime/try-runtime" ,
332332]
333333
334- # A feature that should be enabled when the runtime should be build for on-chain
334+ # A feature that should be enabled when the runtime should be built for on-chain
335335# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
336- # to make it smaller like logging for example.
336+ # to make it smaller, like logging for example.
337337on-chain-release-build = [ " sp-api/disable-logging" ]
338338
339339# Set timing constants (e.g. session period) to faster versions to speed up testing.
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ std = [
252252
253253experimental = [ " pallet-aura/experimental" ]
254254
255- # A feature that should be enabled when the runtime should be build for on-chain
255+ # A feature that should be enabled when the runtime should be built for on-chain
256256# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
257- # to make it smaller like logging for example.
257+ # to make it smaller, like logging for example.
258258on-chain-release-build = [ " sp-api/disable-logging" ]
Original file line number Diff line number Diff line change @@ -954,13 +954,9 @@ pub type Executive = frame_executive::Executive<
954954 Migrations ,
955955> ;
956956
957- #[ cfg( feature = "runtime-benchmarks" ) ]
958- #[ macro_use]
959- extern crate frame_benchmarking;
960-
961957#[ cfg( feature = "runtime-benchmarks" ) ]
962958mod benches {
963- define_benchmarks ! (
959+ frame_benchmarking :: define_benchmarks!(
964960 [ frame_system, SystemBench :: <Runtime >]
965961 [ pallet_assets, Local ]
966962 [ pallet_assets, Foreign ]
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ std = [
233233
234234experimental = [ " pallet-aura/experimental" ]
235235
236- # A feature that should be enabled when the runtime should be build for on-chain
236+ # A feature that should be enabled when the runtime should be built for on-chain
237237# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
238- # to make it smaller like logging for example.
238+ # to make it smaller, like logging for example.
239239on-chain-release-build = [ " sp-api/disable-logging" ]
Original file line number Diff line number Diff line change @@ -873,13 +873,9 @@ pub type Executive = frame_executive::Executive<
873873 Migrations ,
874874> ;
875875
876- #[ cfg( feature = "runtime-benchmarks" ) ]
877- #[ macro_use]
878- extern crate frame_benchmarking;
879-
880876#[ cfg( feature = "runtime-benchmarks" ) ]
881877mod benches {
882- define_benchmarks ! (
878+ frame_benchmarking :: define_benchmarks!(
883879 [ frame_system, SystemBench :: <Runtime >]
884880 [ pallet_assets, Local ]
885881 [ pallet_assets, Foreign ]
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ try-runtime = [
241241
242242experimental = [ " pallet-aura/experimental" ]
243243
244- # A feature that should be enabled when the runtime should be build for on-chain
244+ # A feature that should be enabled when the runtime should be built for on-chain
245245# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
246- # to make it smaller like logging for example.
246+ # to make it smaller, like logging for example.
247247on-chain-release-build = [ " sp-api/disable-logging" ]
Original file line number Diff line number Diff line change @@ -478,13 +478,9 @@ construct_runtime!(
478478 }
479479) ;
480480
481- #[ cfg( feature = "runtime-benchmarks" ) ]
482- #[ macro_use]
483- extern crate frame_benchmarking;
484-
485481#[ cfg( feature = "runtime-benchmarks" ) ]
486482mod benches {
487- define_benchmarks ! (
483+ frame_benchmarking :: define_benchmarks!(
488484 [ frame_system, SystemBench :: <Runtime >]
489485 [ pallet_balances, Balances ]
490486 [ pallet_multisig, Multisig ]
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ try-runtime = [
240240
241241experimental = [ " pallet-aura/experimental" ]
242242
243- # A feature that should be enabled when the runtime should be build for on-chain
243+ # A feature that should be enabled when the runtime should be built for on-chain
244244# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
245- # to make it smaller like logging for example.
245+ # to make it smaller, like logging for example.
246246on-chain-release-build = [ " sp-api/disable-logging" ]
You can’t perform that action at this time.
0 commit comments