Unverified Commit 1f0d9cc0 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

revert +1 change to be on the safer side (#3972)

parent d33794f1
Pipeline #159865 passed with stages
in 42 minutes and 49 seconds
......@@ -69,8 +69,7 @@ pub const POV_BOMB_LIMIT: usize = (MAX_POV_SIZE * 4u32) as usize;
/// On Polkadot this is 1 day, and on Kusama it's 6 hours.
///
/// Number of sessions we want to consider in disputes.
/// + 1 for the child's session.
pub const DISPUTE_WINDOW: SessionIndex = 6 + 1;
pub const DISPUTE_WINDOW: SessionIndex = 6;
/// The cumulative weight of a block in a fork-choice rule.
pub type BlockWeight = u32;
......
......@@ -289,7 +289,7 @@ mod tests {
use polkadot_primitives::v1::Header;
use sp_core::testing::TaskExecutor;
const TEST_WINDOW_SIZE: SessionIndex = 6 + 1;
const TEST_WINDOW_SIZE: SessionIndex = 6;
fn dummy_session_info(index: SessionIndex) -> SessionInfo {
SessionInfo {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment