mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-15 19:35:43 +00:00
contracts: Emit event on contract termination (#8014)
* contracts: Remove redundant bool argument from the eviction event * contracts: Improve event documentation * contracts: Emit event on contract termination
This commit is contained in:
committed by
GitHub
parent
de838f9464
commit
815409f31e
@@ -261,7 +261,7 @@ where
|
||||
);
|
||||
let tombstone_info = ContractInfo::Tombstone(tombstone);
|
||||
<ContractInfoOf<T>>::insert(account, &tombstone_info);
|
||||
<Module<T>>::deposit_event(RawEvent::Evicted(account.clone(), true));
|
||||
<Module<T>>::deposit_event(RawEvent::Evicted(account.clone()));
|
||||
Ok(Some(tombstone_info))
|
||||
}
|
||||
Verdict::Charge { amount } => {
|
||||
|
||||
Reference in New Issue
Block a user