Skip to content

Commit 9783d8c

Browse files
committed
reorg event on proxy pallet
1 parent 3adc935 commit 9783d8c

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pallets/proxy/src/lib.rs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ type AccountIdLookupOf<T> = <<T as frame_system::Config>::Lookup as StaticLookup
5858
#[derive(
5959
Encode,
6060
Decode,
61+
DecodeWithMemTracking,
6162
Clone,
6263
Copy,
6364
Eq,
@@ -684,6 +685,17 @@ pub mod pallet {
684685
proxy_type: T::ProxyType,
685686
disambiguation_index: u16,
686687
},
688+
/// A pure proxy was killed by its spawner.
689+
PureKilled {
690+
// The pure proxy account that was destroyed.
691+
pure: T::AccountId,
692+
// The account that created the pure proxy.
693+
spawner: T::AccountId,
694+
// The proxy type of the pure proxy that was destroyed.
695+
proxy_type: T::ProxyType,
696+
// The index originally passed to `create_pure` when this pure proxy was created.
697+
disambiguation_index: u16,
698+
},
687699
/// An announcement was placed to make a call in the future.
688700
Announced {
689701
real: T::AccountId,
@@ -704,17 +716,6 @@ pub mod pallet {
704716
proxy_type: T::ProxyType,
705717
delay: BlockNumberFor<T>,
706718
},
707-
/// A pure proxy was killed by its spawner.
708-
PureKilled {
709-
// The pure proxy account that was destroyed.
710-
pure: T::AccountId,
711-
// The account that created the pure proxy.
712-
spawner: T::AccountId,
713-
// The proxy type of the pure proxy that was destroyed.
714-
proxy_type: T::ProxyType,
715-
// The index originally passed to `create_pure` when this pure proxy was created.
716-
disambiguation_index: u16,
717-
},
718719
/// A deposit stored for proxies or announcements was poked / updated.
719720
DepositPoked {
720721
who: T::AccountId,

0 commit comments

Comments
 (0)