mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 17:31:07 +00:00
Add events for balance reserve and unreserve functions (#6330)
* almost works * add clone to BalanceStatus * reserve event * fix staking tests * fix balances tests * Update frame/balances/src/tests.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * restore tests and move event emission * move repatriate reserved event outside of mutate_account * clean up events in tests Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
1 parent
7d3f1fe6ea
commit
252416d385
4 files changed
+71
-12
No files matched your search
@@ -1008,6 +1008,7 @@ pub trait Currency<AccountId> {
|
||||
}
|
||||
|
||||
/// Status of funds.
|
||||
#[derive(PartialEq, Eq, Clone, Copy, Encode, Decode, RuntimeDebug)]
|
||||
pub enum BalanceStatus {
|
||||
/// Funds are free, as corresponding to `free` item in Balances.
|
||||
Free,
|
||||
|
||||
Reference in new issue
Block a user