Skip to content

Commit

Permalink
set MinimumPeriod to 3s on moonbeam
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusrodri committed May 21, 2024
1 parent a396d32 commit b1764a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/moonbeam/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl pallet_timestamp::Config for Runtime {
/// A timestamp: milliseconds since the unix epoch.
type Moment = u64;
type OnTimestampSet = ();
type MinimumPeriod = ConstU64<6000>;
type MinimumPeriod = ConstU64<3000>;
type WeightInfo = moonbeam_weights::pallet_timestamp::WeightInfo<Runtime>;
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/moonriver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl pallet_timestamp::Config for Runtime {
/// A timestamp: milliseconds since the unix epoch.
type Moment = u64;
type OnTimestampSet = ();
type MinimumPeriod = ConstU64<3000>;
type MinimumPeriod = ConstU64<6000>;
type WeightInfo = moonbeam_weights::pallet_timestamp::WeightInfo<Runtime>;
}

Expand Down

0 comments on commit b1764a9

Please sign in to comment.