@@ -32,8 +32,8 @@ parameter_types! {
32
32
}
33
33
34
34
impl pallet_democracy:: Config for Runtime {
35
- type Proposal = Call ;
36
- type Event = Event ;
35
+ type Proposal = RuntimeCall ;
36
+ type RuntimeEvent = RuntimeEvent ;
37
37
type Currency = Balances ;
38
38
type EnactmentPeriod = EnactmentPeriod ;
39
39
type VoteLockingPeriod = EnactmentPeriod ;
@@ -93,8 +93,8 @@ parameter_types! {
93
93
pub type CouncilCollective = pallet_collective:: Instance1 ;
94
94
impl pallet_collective:: Config < CouncilCollective > for Runtime {
95
95
type Origin = Origin ;
96
- type Proposal = Call ;
97
- type Event = Event ;
96
+ type Proposal = RuntimeCall ;
97
+ type RuntimeEvent = RuntimeEvent ;
98
98
type MotionDuration = CouncilMotionDuration ;
99
99
type MaxProposals = CouncilMaxProposals ;
100
100
type MaxMembers = CouncilMaxMembers ;
@@ -121,7 +121,7 @@ parameter_types! {
121
121
const_assert ! ( DesiredMembers :: get( ) <= CouncilMaxMembers :: get( ) ) ;
122
122
123
123
impl pallet_elections_phragmen:: Config for Runtime {
124
- type Event = Event ;
124
+ type RuntimeEvent = RuntimeEvent ;
125
125
type Currency = Balances ;
126
126
type ChangeMembers = Council ;
127
127
type InitializeMembers = Council ;
@@ -149,8 +149,8 @@ parameter_types! {
149
149
pub type TechnicalCollective = pallet_collective:: Instance2 ;
150
150
impl pallet_collective:: Config < TechnicalCollective > for Runtime {
151
151
type Origin = Origin ;
152
- type Proposal = Call ;
153
- type Event = Event ;
152
+ type Proposal = RuntimeCall ;
153
+ type RuntimeEvent = RuntimeEvent ;
154
154
type MotionDuration = TechnicalMotionDuration ;
155
155
type MaxProposals = TechnicalMaxProposals ;
156
156
type MaxMembers = TechnicalMaxMembers ;
@@ -159,7 +159,7 @@ impl pallet_collective::Config<TechnicalCollective> for Runtime {
159
159
}
160
160
161
161
impl pallet_membership:: Config < pallet_membership:: Instance1 > for Runtime {
162
- type Event = Event ;
162
+ type RuntimeEvent = RuntimeEvent ;
163
163
type AddOrigin = MoreThanHalfCouncil ;
164
164
type RemoveOrigin = MoreThanHalfCouncil ;
165
165
type SwapOrigin = MoreThanHalfCouncil ;
0 commit comments