Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Aug 30, 2023
1 parent 7d77005 commit c8d6efe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 120 deletions.
109 changes: 2 additions & 107 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions polkadot/cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ use pyroscope_pprofrs::{pprof_backend, PprofConfig};

type Result<T> = std::result::Result<T, Error>;

/// Millisecs per block is assumed to be the same for every relay chain.
const MILLISECS_PER_BLOCK: u64 = 6000;

fn get_exec_name() -> Option<String> {
std::env::current_exe()
.ok()
Expand Down
10 changes: 0 additions & 10 deletions polkadot/node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,12 @@ runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"kusama-runtime?/runtime-benchmarks",
"pallet-babe/runtime-benchmarks",
"pallet-im-online/runtime-benchmarks",
"pallet-staking/runtime-benchmarks",
"polkadot-parachain/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-runtime-common/runtime-benchmarks",
"polkadot-runtime-parachains/runtime-benchmarks",
"polkadot-runtime?/runtime-benchmarks",
"polkadot-test-client/runtime-benchmarks",
"rococo-runtime?/runtime-benchmarks",
"sc-client-db/runtime-benchmarks",
Expand All @@ -206,30 +203,23 @@ runtime-benchmarks = [
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"kusama-runtime?/try-runtime",
"pallet-babe/try-runtime",
"pallet-im-online/try-runtime",
"pallet-staking/try-runtime",
"pallet-transaction-payment/try-runtime",
"polkadot-runtime-common/try-runtime",
"polkadot-runtime-parachains/try-runtime",
"polkadot-runtime?/try-runtime",
"rococo-runtime?/try-runtime",
"sp-runtime/try-runtime",
"westend-runtime?/try-runtime",
]
fast-runtime = [
"kusama-runtime?/fast-runtime",
"polkadot-runtime?/fast-runtime",
"rococo-runtime?/fast-runtime",
"westend-runtime?/fast-runtime",
]

malus = [ "full-node" ]
runtime-metrics = [
"kusama-runtime?/runtime-metrics",
"polkadot-runtime-parachains/runtime-metrics",
"polkadot-runtime?/runtime-metrics",
"rococo-runtime?/runtime-metrics",
"westend-runtime?/runtime-metrics",
]
Expand Down

0 comments on commit c8d6efe

Please sign in to comment.