Skip to content

Commit ed2bab6

Browse files
committed
updated events
1 parent dfdf22d commit ed2bab6

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

pallets/subtensor/src/macros/events.rs

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,20 @@ mod events {
170170
MaxDelegateTakeSet(u16),
171171
/// minimum delegate take is set by sudo/admin transaction
172172
MinDelegateTakeSet(u16),
173+
/// A coldkey swap announcement has been made.
174+
ColdkeySwapAnnounced {
175+
/// The account ID of the coldkey that made the announcement.
176+
who: T::AccountId,
177+
/// The account ID of the new coldkey.
178+
new_coldkey: T::AccountId,
179+
/// The block number the announcement was made.
180+
block_number: BlockNumberFor<T>,
181+
},
182+
/// A coldkey swap announcement has been removed.
183+
ColdkeySwapAnnouncementRemoved {
184+
/// The account ID of the coldkey that made the announcement.
185+
who: T::AccountId,
186+
},
173187
/// A coldkey has been swapped
174188
ColdkeySwapped {
175189
/// the account ID of old coldkey
@@ -190,17 +204,6 @@ mod events {
190204
<T as frame_system::Config>::AccountId,
191205
>>::Balance,
192206
},
193-
/// A coldkey swap has been scheduled
194-
ColdkeySwapScheduled {
195-
/// The account ID of the old coldkey
196-
old_coldkey: T::AccountId,
197-
/// The account ID of the new coldkey
198-
new_coldkey: T::AccountId,
199-
/// The arbitration block for the coldkey swap
200-
execution_block: BlockNumberFor<T>,
201-
/// The swap cost
202-
swap_cost: TaoCurrency,
203-
},
204207
/// The arbitration period has been extended
205208
ArbitrationPeriodExtended {
206209
/// The account ID of the coldkey

0 commit comments

Comments
 (0)