|
@@ -70,7 +70,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|
|
spec_name: create_runtime_str!("joystream-node"),
|
|
|
impl_name: create_runtime_str!("joystream-node"),
|
|
|
authoring_version: 7,
|
|
|
- spec_version: 1,
|
|
|
+ spec_version: 2,
|
|
|
impl_version: 0,
|
|
|
apis: crate::runtime_api::EXPORTED_RUNTIME_API_VERSIONS,
|
|
|
transaction_version: 1,
|
|
@@ -232,14 +232,14 @@ impl pallet_sudo::Trait for Runtime {
|
|
|
}
|
|
|
|
|
|
parameter_types! {
|
|
|
- pub const UncleGenerations: BlockNumber = 5;
|
|
|
+ pub const UncleGenerations: BlockNumber = 0;
|
|
|
}
|
|
|
|
|
|
impl pallet_authorship::Trait for Runtime {
|
|
|
type FindAuthor = pallet_session::FindAccountFromAuthorIndex<Self, Babe>;
|
|
|
type UncleGenerations = UncleGenerations;
|
|
|
type FilterUncle = ();
|
|
|
- type EventHandler = Staking;
|
|
|
+ type EventHandler = (Staking, ImOnline);
|
|
|
}
|
|
|
|
|
|
impl_opaque_keys! {
|