Unverified Commit 444e96ae authored by Lldenaurois's avatar Lldenaurois Committed by GitHub
Browse files

Enable disputes on rococo (#3764)

parent 66ef2d3b
Pipeline #155311 failed with stages
in 23 minutes and 26 seconds
......@@ -65,9 +65,9 @@ use sp_version::NativeVersion;
use sp_version::RuntimeVersion;
use runtime_parachains::{
configuration as parachains_configuration, dmp as parachains_dmp, hrmp as parachains_hrmp,
inclusion as parachains_inclusion, initializer as parachains_initializer,
origin as parachains_origin, paras as parachains_paras,
configuration as parachains_configuration, disputes as parachains_disputes,
dmp as parachains_dmp, hrmp as parachains_hrmp, inclusion as parachains_inclusion,
initializer as parachains_initializer, origin as parachains_origin, paras as parachains_paras,
paras_inherent as parachains_paras_inherent, scheduler as parachains_scheduler,
session_info as parachains_session_info, shared as parachains_shared, ump as parachains_ump,
};
......@@ -223,6 +223,7 @@ construct_runtime! {
Ump: parachains_ump::{Pallet, Call, Storage, Event},
Hrmp: parachains_hrmp::{Pallet, Call, Storage, Event<T>, Config},
ParaSessionInfo: parachains_session_info::{Pallet, Storage},
ParasDisputes: parachains_disputes::{Pallet, Storage, Event<T>},
// Parachain Onboarding Pallets
Registrar: paras_registrar::{Pallet, Call, Storage, Event<T>},
......@@ -376,6 +377,12 @@ impl pallet_session::historical::Config for Runtime {
type FullIdentificationOf = FullIdentificationOf;
}
impl parachains_disputes::Config for Runtime {
type Event = Event;
type RewardValidators = ();
type PunishValidators = ();
}
parameter_types! {
pub SessionDuration: BlockNumber = EpochDurationInBlocks::get() as _;
}
......
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