This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
frame/nomination-pools/src Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4343//!
4444//! ### Join
4545//!
46- //! A account can stake funds with a nomination pool by calling [`Call::join`].
46+ //! An account can stake funds with a nomination pool by calling [`Call::join`].
4747//!
4848//! ### Claim rewards
4949//!
8787//! [`Call::unbond`] and [`Call::withdraw_unbonded`]. Once a pool is in destroying state, it
8888//! cannot be reverted to another state.
8989//!
90- //! A pool has 3 administrative roles (see [`PoolRoles`]):
90+ //! A pool has 4 administrative roles (see [`PoolRoles`]):
9191//!
9292//! * Depositor: creates the pool and is the initial member. They can only leave the pool once all
9393//! other members have left. Once they fully leave the pool is destroyed.
297297//! * PoolMembers cannot vote with their staked funds because they are transferred into the pools
298298//! account. In the future this can be overcome by allowing the members to vote with their bonded
299299//! funds via vote splitting.
300- //! * PoolMembers cannot quickly transfer to another pool if they do no like nominations, instead
301- //! they must wait for the unbonding duration.
300+ //! * PoolMembers cannot quickly transfer to another pool if they do not like the nominations,
301+ //! instead they must wait for the unbonding duration.
302302//!
303303//! # Runtime builder warnings
304304//!
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ impl sp_staking::StakingInterface for StakingMock {
111111 Ok ( ( ) )
112112 }
113113
114+ #[ cfg( feature = "runtime-benchmarks" ) ]
114115 fn nominations ( _: Self :: AccountId ) -> Option < Vec < Self :: AccountId > > {
115116 Nominations :: get ( )
116117 }
You can’t perform that action at this time.
0 commit comments