Skip to content

Commit

Permalink
[vara] Add ImOnline event handler to gear authorship (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs authored Mar 23, 2023
1 parent be86658 commit ea26723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/vara/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// The version of the runtime specification. A full node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
// `spec_version`, and `authoring_version` are the same between Wasm and native.
spec_version: 100,
spec_version: 120,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -266,7 +266,7 @@ impl pallet_grandpa::Config for Runtime {

impl pallet_authorship::Config for Runtime {
type FindAuthor = pallet_session::FindAccountFromAuthorIndex<Self, Babe>;
type EventHandler = ();
type EventHandler = ImOnline;
}

parameter_types! {
Expand Down

0 comments on commit ea26723

Please sign in to comment.