Skip to content

Commit

Permalink
add impl for runtime for seeding history
Browse files Browse the repository at this point in the history
  • Loading branch information
dariolina committed Aug 30, 2024
1 parent 93a0e98 commit 2e9ed0d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -589,6 +588,10 @@ impl pallet_democracy::Config for Runtime {
type WeightInfo = pallet_democracy::weights::SubstrateWeight<Runtime>;
}

impl pallet_history_seeding::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
}

parameter_types! {
pub const SelfChainId: ChainId = ChainId::Consensus;
}
Expand Down

0 comments on commit 2e9ed0d

Please sign in to comment.