mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
f8b979b75a
* add weights that need to be generated for rococo * remove frame_system * touch balances weight file * add empty im-online weight file * add empty pallet indices weight file * add empty pallet multisig weight file * add empty pallet proxy weight file * add empty pallet session weight file * add empty pallet timestamp weight file * add empty pallet utility weight file * add empty para pallets weight files * remove utility for now * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-im-online --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-multisig --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-proxy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_common_auctions.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-indices --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_common_paras_registrar.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_common_slots.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_configuration.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::hrmp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_hrmp.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_initializer.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_ump.rs * update ump for weights sink_process_upward_message -> process_upward_message (#5103) * update ump for weights sink_process_upward_message -> process_upward_message * update autogen files * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_ump.rs * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::disputes --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_disputes.rs * add frame_system weights for Rococo * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * add pallet-utility runtime benchmarks * add utility benchmark * add utility pallet * cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=pallet-utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/ * fix cargo format issues * add pallet_session weights - since pallet session benchmarking is coupled with pallet staking, for the time being we will use the weights from westend https://github.com/paritytech/polkadot/pull/5052#issuecomment-1072903719 * remove newline * use some of the new weights * add pallet-utility/std * add collective and membership benchmarks * add WeightInfo * copy weights from Polkadot for now, needs to be updated with relevant weights * add weights * copy weights from Polkadot pallet session * remove newline Co-authored-by: Parity Bot <admin@parity.io> Co-authored-by: Dan Shields <35669742+NukeManDan@users.noreply.github.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
217 lines
11 KiB
TOML
217 lines
11 KiB
TOML
[package]
|
|
name = "rococo-runtime"
|
|
version = "0.9.18"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
parity-scale-codec = { version = "3.1.2", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
scale-info = { version = "2.0.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.136", default-features = false }
|
|
serde_derive = { version = "1.0.117", optional = true }
|
|
smallvec = "1.8.0"
|
|
log = { version = "0.4.14", default-features = false }
|
|
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-api = { 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-std = { package = "sp-std", 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-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
block-builder-api = { package = "sp-block-builder", 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 }
|
|
offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
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-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-beefy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-beefy-mmr = { 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-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-transaction-payment-rpc-runtime-api = { 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-sudo = { 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-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
rococo-runtime-constants = { package = "rococo-runtime-constants", path = "./constants", default-features = false }
|
|
|
|
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
|
polkadot-parachain = { path = "../../parachain", default-features = false }
|
|
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
|
|
|
|
xcm = { package = "xcm", path = "../../xcm", default-features = false }
|
|
xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
|
xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
|
|
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
|
|
|
|
# Bridge Dependencies
|
|
bp-messages = { path = "../../bridges/primitives/messages", default-features = false }
|
|
bp-rococo = { path = "../../bridges/primitives/chain-rococo", default-features = false }
|
|
bp-runtime = { path = "../../bridges/primitives/runtime", default-features = false }
|
|
bp-wococo = { path = "../../bridges/primitives/chain-wococo", default-features = false }
|
|
bridge-runtime-common = { path = "../../bridges/bin/runtime-common", default-features = false }
|
|
pallet-bridge-dispatch = { path = "../../bridges/modules/dispatch", default-features = false }
|
|
pallet-bridge-grandpa = { path = "../../bridges/modules/grandpa", default-features = false }
|
|
pallet-bridge-messages = { path = "../../bridges/modules/messages", default-features = false }
|
|
|
|
# Benchmarking Dependencies
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
hex-literal = { version = "0.3.4", optional = true }
|
|
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
no_std = []
|
|
std = [
|
|
"authority-discovery-primitives/std",
|
|
"babe-primitives/std",
|
|
"bp-messages/std",
|
|
"bp-rococo/std",
|
|
"bp-runtime/std",
|
|
"bp-wococo/std",
|
|
"bridge-runtime-common/std",
|
|
"parity-scale-codec/std",
|
|
"scale-info/std",
|
|
"frame-executive/std",
|
|
"pallet-authority-discovery/std",
|
|
"pallet-authorship/std",
|
|
"pallet-babe/std",
|
|
"beefy-primitives/std",
|
|
"pallet-balances/std",
|
|
"pallet-bridge-dispatch/std",
|
|
"pallet-bridge-grandpa/std",
|
|
"pallet-bridge-messages/std",
|
|
"pallet-collective/std",
|
|
"pallet-beefy/std",
|
|
"pallet-beefy-mmr/std",
|
|
"pallet-grandpa/std",
|
|
"pallet-sudo/std",
|
|
"pallet-membership/std",
|
|
"pallet-mmr/std",
|
|
"pallet-mmr-primitives/std",
|
|
"pallet-indices/std",
|
|
"pallet-im-online/std",
|
|
"pallet-session/std",
|
|
"pallet-staking/std",
|
|
"pallet-offences/std",
|
|
"pallet-proxy/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-transaction-payment/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"inherents/std",
|
|
"frame-support/std",
|
|
"polkadot-parachain/std",
|
|
"primitives/std",
|
|
"runtime-common/std",
|
|
"runtime-parachains/std",
|
|
"sp-api/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-staking/std",
|
|
"sp-std/std",
|
|
"frame-system/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"offchain-primitives/std",
|
|
"block-builder-api/std",
|
|
"tx-pool-api/std",
|
|
"sp-version/std",
|
|
"serde_derive",
|
|
"serde/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
"xcm-builder/std",
|
|
"pallet-xcm/std",
|
|
"pallet-utility/std",
|
|
"log/std",
|
|
"pallet-multisig/std",
|
|
]
|
|
# When enabled, the runtime API will not be build.
|
|
#
|
|
# This is required by Cumulus to access certain types of the
|
|
# runtime without clashing with the runtime API exported functions
|
|
# in WASM.
|
|
disable-runtime-api = []
|
|
runtime-benchmarks = [
|
|
"runtime-common/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-collective/runtime-benchmarks",
|
|
"pallet-grandpa/runtime-benchmarks",
|
|
"pallet-im-online/runtime-benchmarks",
|
|
"pallet-indices/runtime-benchmarks",
|
|
"pallet-membership/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"pallet-multisig/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"hex-literal",
|
|
"frame-system-benchmarking",
|
|
"runtime-parachains/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-authority-discovery/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-babe/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-collective/try-runtime",
|
|
"pallet-grandpa/try-runtime",
|
|
"pallet-sudo/try-runtime",
|
|
"pallet-indices/try-runtime",
|
|
"pallet-im-online/try-runtime",
|
|
"pallet-membership/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-proxy/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-offences/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"runtime-common/try-runtime",
|
|
"pallet-multisig/try-runtime",
|
|
]
|
|
|
|
# Set timing constants (e.g. session period) to faster versions to speed up testing.
|
|
fast-runtime = []
|
|
|
|
runtime-metrics = ["runtime-parachains/runtime-metrics", "sp-io/with-tracing"]
|