Nomination Pools: Rename state-toggler to bouncer (#13421)

* rename state-toggler to bouncer

* add migration

* fmt

* bump storage version

* rm migration

* revert version

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Ross Bulatandcommand-bot authored and GitHub committed 2023-02-21 11:39:52 +00:00
1 parent 2f1ec07953
commit 00e159f770
5 files changed
+60 -90

No files matched your search

@@ -28,7 +28,7 @@ pub mod v1 {
pub depositor: AccountId,
pub root: AccountId,
pub nominator: AccountId,
pub state_toggler: AccountId,
pub bouncer: AccountId,
}
impl<AccountId> OldPoolRoles<AccountId> {
@@ -37,7 +37,7 @@ pub mod v1 {
depositor: self.depositor,
root: Some(self.root),
nominator: Some(self.nominator),
state_toggler: Some(self.state_toggler),
bouncer: Some(self.bouncer),
}
}
}