mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 03:18:01 +00:00
ad1d171601
* make pool roles optional * undo lock file changes? * add migration * add the ability for pools to chill themselves * boilerplate of tests * somewhat stable, but I think I found another bug as well * Fix it all * Add more more sophisticated test + capture one more bug. * Update frame/staking/src/lib.rs * reduce the diff a little bit * add some test for the slashing bug * cleanup * fix lock file? * Fix * fmt * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/mock.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix build * fix some fishy tests.. * add one last integrity check for MinCreateBond * remove bad assertion -- needs to be dealt with later * nits * fix tests and add benchmarks for chill * remove stuff * fix benchmarks * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs * remove defensive Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Parity Bot <admin@parity.io>
37 lines
1.6 KiB
TOML
37 lines
1.6 KiB
TOML
[package]
|
|
name = "pallet-nomination-pools-test-staking"
|
|
version = "1.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME nomination pools pallet tests with the staking pallet"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dev-dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
|
|
scale-info = { version = "2.0.1", features = ["derive"] }
|
|
|
|
sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" }
|
|
sp-io = { version = "6.0.0", path = "../../../primitives/io" }
|
|
sp-std = { version = "4.0.0", path = "../../../primitives/std" }
|
|
sp-staking = { version = "4.0.0-dev", path = "../../../primitives/staking" }
|
|
sp-core = { version = "6.0.0", path = "../../../primitives/core" }
|
|
|
|
frame-system = { version = "4.0.0-dev", path = "../../system" }
|
|
frame-support = { version = "4.0.0-dev", path = "../../support" }
|
|
frame-election-provider-support = { version = "4.0.0-dev", path = "../../election-provider-support" }
|
|
|
|
pallet-timestamp = { version = "4.0.0-dev", path = "../../timestamp" }
|
|
pallet-balances = { version = "4.0.0-dev", path = "../../balances" }
|
|
pallet-staking = { version = "4.0.0-dev", path = "../../staking" }
|
|
pallet-bags-list = { version = "4.0.0-dev", path = "../../bags-list" }
|
|
pallet-staking-reward-curve = { version = "4.0.0-dev", path = "../../staking/reward-curve" }
|
|
pallet-nomination-pools = { version = "1.0.0-dev", path = ".." }
|
|
|
|
sp-tracing = { version = "5.0.0", path = "../../../primitives/tracing" }
|
|
log = { version = "0.4.0" }
|