Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
add comments for WonRenewal event (#533) (#550)
Browse files Browse the repository at this point in the history
* add comments for WonRenewal event

* make event argument order consistent
  • Loading branch information
xlc authored and gavofyork committed Nov 8, 2019
1 parent b8baab4 commit 2cd9de1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/src/slots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -552,7 +553,7 @@ impl<T: Trait> Module<T> {
} else {
Default::default()
};
Self::deposit_event(RawEvent::WonRenewal(para_id, range, amount, extra));
Self::deposit_event(RawEvent::WonRenewal(para_id, range, extra, amount));
}
}

Expand Down

0 comments on commit 2cd9de1

Please sign in to comment.