diff --git a/Cargo.lock b/Cargo.lock index aeae6592d1..e8c2660097 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7850,6 +7850,17 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-history-seeding" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-std", +] + [[package]] name = "pallet-messenger" version = "0.1.0" @@ -12933,6 +12944,7 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-domains", + "pallet-history-seeding", "pallet-messenger", "pallet-mmr", "pallet-offences-subspace", diff --git a/crates/subspace-runtime/src/lib.rs b/crates/subspace-runtime/src/lib.rs index 155f4ff044..65cbb3b0a6 100644 --- a/crates/subspace-runtime/src/lib.rs +++ b/crates/subspace-runtime/src/lib.rs @@ -54,7 +54,6 @@ use frame_support::{construct_runtime, parameter_types, PalletId}; use frame_system::limits::{BlockLength, BlockWeights}; use frame_system::{EnsureNever, EnsureRoot}; use pallet_collective::{EnsureMember, EnsureProportionAtLeast}; -use pallet_history_seeding::{HistorySeeder}; pub use pallet_rewards::RewardPoint; pub use pallet_subspace::{AllowAuthoringBy, EnableRewardsAt}; use pallet_transporter::EndpointHandler; @@ -589,6 +588,10 @@ impl pallet_democracy::Config for Runtime { type WeightInfo = pallet_democracy::weights::SubstrateWeight; } +impl pallet_history_seeding::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} + parameter_types! { pub const SelfChainId: ChainId = ChainId::Consensus; }