mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 05:27:56 +00:00
90e1273462
* Add feature more feature gating for benchmarking + tests * New line * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs * Do not assume we use max validators per core * Use kusama weights for rococo (hopefully temp) * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras_inherent.rs * Add more validity votes when neccesary * Some fixes for the last commit * Restore westend weights * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras_inherent.rs * Revert bad westend weights write * Make sure to update val idx before skipping * Fix validity vote range to max at group size' * Temp setup for rococo * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras_inherent --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/rococo/src/weights/runtime_parachains_paras_inherent.rs --header=./file_header.txt * Augment generated Rococo weights * Make it compile * Revert range for enter_backed_candidates_variable * Delete runtime/kusama/src/weights/runtime_paras_paras_inherent.rs Co-authored-by: Parity Bot <admin@parity.io>
60 lines
3.0 KiB
TOML
60 lines
3.0 KiB
TOML
[package]
|
|
name = "polkadot-primitives"
|
|
version = "0.9.13"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.130", optional = true, features = ["derive"] }
|
|
scale-info = { version = "1.0", default-features = false, features = ["bit-vec", "derive"] }
|
|
parity-scale-codec = { version = "2.3.1", default-features = false, features = ["bit-vec", "derive"] }
|
|
primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
polkadot-parachain = { path = "../parachain", default-features = false }
|
|
polkadot-core-primitives = { path = "../core-primitives", default-features = false }
|
|
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
hex-literal = "0.3.4"
|
|
parity-util-mem = { version = "0.10.0", default-features = false, optional = true }
|
|
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"application-crypto/std",
|
|
"parity-scale-codec/std",
|
|
"scale-info/std",
|
|
"primitives/std",
|
|
"inherents/std",
|
|
"trie/std",
|
|
"sp-api/std",
|
|
"sp-authority-discovery/std",
|
|
"sp-consensus-slots/std",
|
|
"sp-keystore",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
"sp-version/std",
|
|
"sp-staking/std",
|
|
"sp-arithmetic/std",
|
|
"runtime_primitives/std",
|
|
"serde",
|
|
"parity-util-mem",
|
|
"polkadot-parachain/std",
|
|
"polkadot-core-primitives/std",
|
|
"bitvec/std",
|
|
"frame-system/std",
|
|
]
|
|
runtime-benchmarks = []
|