Files
pezkuwi-subxt/substrate/primitives/runtime/Cargo.toml
T
Marcio Diaz 5a48cade1b Benchmark Democracy Pallet (#5257)
* Add origin bounds to benchmark macro.

* Add democracy benchmark.

* Fix tests

* Remove collective from frame/benchmarking, partially use EnsureOrigin.

* Remove collective stuff.

* Make previous benches compile again.

* Remove comments.

* Make prev bench to work again.

* Add remove votes.

* Add new proxy calls.

* Add runtime-benchmarks guard to EnsureOrigin and implementations.

* Refactor.

* Add missing import.

* Remove duplicated import

* Fix features.

* Add some missing features.

* Update frame/collective/Cargo.toml

Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Update frame/democracy/src/benchmarking.rs

Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Update frame/democracy/src/benchmarking.rs

Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Add referendums to state.

* populate vecs before call

* Update weight docs

* More fixes and weight docs

* More updates

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2020-03-26 11:18:24 +01:00

51 lines
1.7 KiB
TOML

[package]
name = "sp-runtime"
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 = "Runtime Modules shared primitive types."
documentation = "https://docs.rs/sp-runtime"
[dependencies]
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-core = { version = "2.0.0-alpha.5", default-features = false, path = "../core" }
sp-application-crypto = { version = "2.0.0-alpha.5", default-features = false, path = "../application-crypto" }
sp-arithmetic = { version = "2.0.0-alpha.5", default-features = false, path = "../arithmetic" }
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../std" }
sp-io = { version = "2.0.0-alpha.5", default-features = false, path = "../io" }
log = { version = "0.4.8", optional = true }
paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3"
sp-inherents = { version = "2.0.0-alpha.5", default-features = false, path = "../inherents" }
parity-util-mem = { version = "0.6.0", default-features = false, features = ["primitive-types"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
[dev-dependencies]
serde_json = "1.0.41"
rand = "0.7.2"
[features]
bench = []
runtime-benchmarks = []
default = ["std"]
std = [
"sp-application-crypto/std",
"sp-arithmetic/std",
"codec/std",
"log",
"sp-core/std",
"rand",
"sp-std/std",
"sp-io/std",
"serde",
"sp-inherents/std",
"parity-util-mem/std",
"hash256-std-hasher/std",
]