Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ parameter_types! {
impl pallet_timestamp::Config for Runtime {
/// A timestamp: milliseconds since the unix epoch.
type Moment = Moment;
type OnTimestampSet = Aura;
type OnTimestampSet = (Aura, Teerex);
type MinimumPeriod = MinimumPeriod;
type WeightInfo = ();
}
Expand Down Expand Up @@ -296,13 +296,15 @@ impl pallet_sudo::Config for Runtime {

parameter_types! {
pub const MomentsPerDay: Moment = 86_400_000; // [ms/d]
pub const MaxSilenceTime: Moment =172_800_000; // 48h
}

/// added by SCS
impl pallet_teerex::Config for Runtime {
type Event = Event;
type Currency = pallet_balances::Pallet<Runtime>;
type MomentsPerDay = MomentsPerDay;
type MaxSilenceTime = MaxSilenceTime;
// currently we have only benchmarks there for the integritee-parachain
type WeightInfo = pallet_teerex::weights::IntegriteeWeight<Runtime>;
}
Expand Down