Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
1f0d9cc0
Unverified
Commit
1f0d9cc0
authored
Sep 29, 2021
by
Andronik Ordian
Committed by
GitHub
Sep 29, 2021
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/primitives/src/lib.rs
View file @
1f0d9cc0
...
...
@@ -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
;
...
...
node/subsystem-util/src/rolling_session_window.rs
View file @
1f0d9cc0
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment