Update auctions pallet to FRAME v2 (#3031)

* Migrate auctions pallet to pallet attribute macro.

* Rename extra constants.
This commit is contained in:
Shaun Wang
2021-05-18 23:40:15 +12:00
committed by GitHub
parent 2a6f460e4c
commit 8d30172a8f
2 changed files with 151 additions and 123 deletions
@@ -371,7 +371,7 @@ fn basic_end_to_end_works() {
run_to_block(110);
assert_eq!(
last_event(),
auctions::RawEvent::AuctionClosed(1).into(),
auctions::Event::<Test>::AuctionClosed(1).into(),
);
// Paras should have won slots