mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +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>
99 lines
4.5 KiB
TOML
99 lines
4.5 KiB
TOML
[package]
|
|
name = "polkadot-runtime-parachains"
|
|
version = "0.9.13"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
|
|
parity-scale-codec = { version = "2.3.1", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4.14", default-features = false }
|
|
rustc-hex = { version = "2.1.0", default-features = false }
|
|
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.130", features = [ "derive" ], optional = true }
|
|
derive_more = "0.99.14"
|
|
bitflags = "1.3.2"
|
|
|
|
sp-api = { 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 }
|
|
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-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-session = { 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-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
|
|
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
xcm = { package = "xcm", path = "../../xcm", default-features = false }
|
|
xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
|
|
|
rand = { version = "0.8.3", default-features = false }
|
|
rand_chacha = { version = "0.3.1", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3.17"
|
|
hex-literal = "0.3.4"
|
|
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
frame-support-test = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
|
|
[features]
|
|
default = ["std"]
|
|
no_std = []
|
|
std = [
|
|
"bitvec/std",
|
|
"parity-scale-codec/std",
|
|
"rustc-hex/std",
|
|
"scale-info/std",
|
|
"serde",
|
|
"primitives/std",
|
|
"inherents/std",
|
|
"sp-core/std",
|
|
"sp-api/std",
|
|
"sp-keystore",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
"frame-support/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-staking/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"pallet-session/std",
|
|
"pallet-staking/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-vesting/std",
|
|
"frame-system/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
"log/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"primitives/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-vesting/try-runtime",
|
|
] |