Files
pezkuwi-subxt/substrate/frame/session/benchmarking/Cargo.toml
T
Shawn Tabrizi d3cc051419 Generate Unit Tests for Benchmarks (#5527)
* Update to latest staking

* generate tests for benchmarking

* add tests, fix warnings

* starting on democracy

* impl_benchmark_tests

* Way more readable

* add test feature flag (does this work?)

* Fix `successful_origin` impl

* democracry benchmark tests

* Fix example benchmarks, add tests

* identity benchmark tests

* Update im-online benchmark tests

* try to add session benchmarking tests (problem with mock)

* staking and timestamp

* add test for treasury, issue with dynamic contains

* utility

* Vesting

* test instead of check

* hide until we figure out what is wrong

* add docs

* close code

* Create custom mock for session-pallet-benchmarking

* Use refcell pattern

* make un-pub

* test-linux-stable includes `runtime-benchmarks` feature

* Revert "test-linux-stable includes `runtime-benchmarks` feature"

This reverts commit a2dab38abd18ac3eb8a6220e4a00e687740bd38c.

* run tests in `--release`

* undo balance change

* build wasm
2020-04-07 11:35:00 +02:00

43 lines
1.8 KiB
TOML

[package]
name = "pallet-session-benchmarking"
version = "2.0.0-alpha.5"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "FRAME sessions pallet benchmarking"
[dependencies]
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../../../primitives/std" }
sp-runtime = { version = "2.0.0-alpha.5", default-features = false, path = "../../../primitives/runtime" }
frame-system = { version = "2.0.0-alpha.5", default-features = false, path = "../../system" }
frame-benchmarking = { version = "2.0.0-alpha.5", default-features = false, path = "../../benchmarking" }
frame-support = { version = "2.0.0-alpha.5", default-features = false, path = "../../support" }
pallet-staking = { version = "2.0.0-alpha.5", default-features = false, features = ["runtime-benchmarks"], path = "../../staking" }
pallet-session = { version = "2.0.0-alpha.5", default-features = false, path = "../../session" }
[dev-dependencies]
serde = { version = "1.0.101" }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
sp-core = { version = "2.0.0-alpha.5", path = "../../../primitives/core" }
pallet-staking-reward-curve = { version = "2.0.0-alpha.5", path = "../../staking/reward-curve" }
sp-io ={ path = "../../../primitives/io", version = "2.0.0-alpha.5"}
pallet-timestamp = { version = "2.0.0-alpha.5", path = "../../timestamp" }
pallet-balances = { version = "2.0.0-alpha.5", path = "../../balances" }
[features]
default = ["std"]
std = [
"sp-std/std",
"sp-runtime/std",
"frame-system/std",
"frame-benchmarking/std",
"frame-support/std",
"pallet-staking/std",
"pallet-session/std",
]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]