mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 09:51:10 +00:00
Introduce ReservableCurrency Trait in Balances Module (#2124)
* Introduce `ReservableCurrency` * Update Docs for `ReservableCurrency` * Update Tests * Bump spec and rebuild wasm * Extra: Add a note to `slash()` Discussion in Riot clarified the behavior of `slash()` and `can_slash()`. Trying to sneak clarifying comments about it into this PR * Update lib.rs * Don't drop the periods! CC @shawntabrizi
This commit is contained in:
@@ -24,7 +24,7 @@ use phragmen;
|
||||
use primitives::Perquintill;
|
||||
use srml_support::{assert_ok, assert_noop, EnumerableStorageMap};
|
||||
use mock::{Balances, Session, Staking, System, Timestamp, Test, ExtBuilder, Origin};
|
||||
use srml_support::traits::Currency;
|
||||
use srml_support::traits::{Currency, ReservableCurrency};
|
||||
|
||||
#[test]
|
||||
fn basic_setup_works() {
|
||||
|
||||
Reference in New Issue
Block a user