Skip to content

Commit 94bb1d1

Browse files
wischliweichweich
authored andcommitted
feat: reduce enactment period to one day (#268)
* feat: reduce enactment period to 1 day * fix: revert enactment period for fast gov
1 parent 2b86199 commit 94bb1d1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

primitives/src/constants.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub mod governance {
132132
#[cfg(feature = "fast-gov")]
133133
pub const ENACTMENT_PERIOD: BlockNumber = 8 * MINUTES;
134134
#[cfg(not(feature = "fast-gov"))]
135-
pub const ENACTMENT_PERIOD: BlockNumber = 8 * DAYS;
135+
pub const ENACTMENT_PERIOD: BlockNumber = DAYS;
136136

137137
#[cfg(feature = "fast-gov")]
138138
pub const COOLOFF_PERIOD: BlockNumber = 7 * MINUTES;
@@ -149,11 +149,6 @@ pub mod governance {
149149
#[cfg(not(feature = "fast-gov"))]
150150
pub const ROTATION_PERIOD: BlockNumber = 80 * HOURS;
151151

152-
#[cfg(feature = "fast-gov")]
153-
pub const CHALLENGE_PERIOD: BlockNumber = 7 * MINUTES;
154-
#[cfg(not(feature = "fast-gov"))]
155-
pub const CHALLENGE_PERIOD: BlockNumber = 7 * DAYS;
156-
157152
#[cfg(feature = "fast-gov")]
158153
pub const TERM_DURATION: BlockNumber = 15 * MINUTES;
159154
#[cfg(not(feature = "fast-gov"))]

0 commit comments

Comments
 (0)