mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 02:21:04 +00:00
5a48cade1b
* 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>
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[package]
|
|
name = "pallet-society"
|
|
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 society pallet"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.101", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
|
|
sp-io ={ path = "../../primitives/io", default-features = false , version = "2.0.0-alpha.5"}
|
|
sp-runtime = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/std" }
|
|
frame-support = { version = "2.0.0-alpha.5", default-features = false, path = "../support" }
|
|
frame-system = { version = "2.0.0-alpha.5", default-features = false, path = "../system" }
|
|
rand_chacha = { version = "0.2", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-core = { version = "2.0.0-alpha.5", path = "../../primitives/core" }
|
|
pallet-balances = { version = "2.0.0-alpha.5", path = "../balances" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"serde",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"rand_chacha/std",
|
|
"sp-std/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"sp-runtime/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
]
|