mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-02 07:17:09 +00:00
Fix bench bot (#2900)
* Fix bench bot * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * Fix weights files * Fix' * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
1 parent
9de727bb17
commit
47889d845c
9 files changed
+135
-43
No files matched your search
@@ -162,9 +162,6 @@ pub trait IdentifyVariant {
|
||||
/// Returns if this is a configuration for the `Rococo` network.
|
||||
fn is_rococo(&self) -> bool;
|
||||
|
||||
/// Returns if this is a configuration for the `Polkadot` network.
|
||||
fn is_polkadot(&self) -> bool;
|
||||
|
||||
/// Returns true if this configuration is for a development network.
|
||||
fn is_dev(&self) -> bool;
|
||||
}
|
||||
@@ -179,9 +176,6 @@ impl IdentifyVariant for Box<dyn ChainSpec> {
|
||||
fn is_rococo(&self) -> bool {
|
||||
self.id().starts_with("rococo") || self.id().starts_with("rco")
|
||||
}
|
||||
fn is_polkadot(&self) -> bool {
|
||||
self.id().starts_with("polkadot") || self.id().starts_with("dot")
|
||||
}
|
||||
fn is_dev(&self) -> bool {
|
||||
self.id().ends_with("dev")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user