Add events for hrmp pallet. (#2532)

* Add events for hrmp pallet.

* Apply review suggestions.
This commit is contained in:
Shaun Wang
2021-02-27 15:04:14 +13:00
committed by GitHub
parent 44bba9531d
commit 77549ca910
5 changed files with 56 additions and 15 deletions
+2 -1
View File
@@ -49,7 +49,7 @@ frame_support::construct_runtime!(
Initializer: initializer::{Module, Call, Storage},
Dmp: dmp::{Module, Call, Storage},
Ump: ump::{Module, Call, Storage},
Hrmp: hrmp::{Module, Call, Storage},
Hrmp: hrmp::{Module, Call, Storage, Event},
SessionInfo: session_info::{Module, Call, Storage},
}
);
@@ -126,6 +126,7 @@ impl crate::ump::Config for Test {
}
impl crate::hrmp::Config for Test {
type Event = Event;
type Origin = Origin;
type Currency = pallet_balances::Module<Test>;
}