Skip to content

Commit

Permalink
Transfer token dust to treasury (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 authored May 26, 2023
1 parent af86377 commit 033b6a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion runtime/battery-station/src/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ parameter_types! {

// ORML
pub const GetNativeCurrencyId: CurrencyId = Asset::Ztg;
pub DustAccount: AccountId = PalletId(*b"orml/dst").into_account_truncating();

// Prediction Market parameters
/// (Slashable) Bond that is provided for creating an advised market that needs approval.
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ macro_rules! impl_config_traits {
type ExistentialDeposits = ExistentialDeposits;
type MaxLocks = MaxLocks;
type MaxReserves = MaxReserves;
type OnDust = orml_tokens::TransferDust<Runtime, DustAccount>;
type OnDust = orml_tokens::TransferDust<Runtime, ZeitgeistTreasuryAccount>;
type OnKilledTokenAccount = ();
type OnNewTokenAccount = ();
type ReserveIdentifier = [u8; 8];
Expand Down
1 change: 0 additions & 1 deletion runtime/zeitgeist/src/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ parameter_types! {

// ORML
pub const GetNativeCurrencyId: CurrencyId = Asset::Ztg;
pub DustAccount: AccountId = PalletId(*b"orml/dst").into_account_truncating();

// Prediction Market parameters
/// (Slashable) Bond that is provided for creating an advised market that needs approval.
Expand Down

0 comments on commit 033b6a3

Please sign in to comment.