Commit 403f5306 authored by Xiliang Chen's avatar Xiliang Chen Committed by Gavin Wood
Browse files

add comments for WonRenewal event (#533)

* add comments for WonRenewal event

* make event argument order consistent
parent dde88495
Pipeline #56230 passed with stages
in 18 minutes and 5 seconds
......@@ -212,6 +212,7 @@ decl_event!(
/// Someone won the right to deploy a parachain. Balance amount is deducted for deposit.
WonDeploy(NewBidder<AccountId>, SlotRange, ParaId, Balance),
/// An existing parachain won the right to continue.
/// First balance is the extra amount reseved. Second is the total amount reserved.
WonRenewal(ParaId, SlotRange, Balance, Balance),
/// Funds were reserved for a winning bid. First balance is the extra amount reserved.
/// Second is the total.
......@@ -552,7 +553,7 @@ impl<T: Trait> Module<T> {
} else {
Self::deposit_event(RawEvent::WonRenewal(para_id, range, amount, extra));
Self::deposit_event(RawEvent::WonRenewal(para_id, range, extra, amount));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment