File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
polkadot/node/network/collator-protocol/src/validator_side_experimental Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,9 @@ pub const MAX_STORED_SCORES_PER_PARA: u16 = 1000;
7171/// Slashing value for a failed fetch that we can be fairly sure does not happen by accident.
7272pub const FAILED_FETCH_SLASH : Score = Score :: new ( 140 ) . expect ( "140 is less than MAX_SCORE" ) ;
7373
74- /// Slashing value for an invalid collation.
75- pub const INVALID_COLLATION_SLASH : Score = Score :: new ( 7_000 ) . expect ( "7_000 is less than MAX_SCORE" ) ;
74+ /// Slashing value for an invalid collation (half of the ma).
75+ pub const INVALID_COLLATION_SLASH : Score =
76+ Score :: new ( MAX_SCORE / 2 ) . expect ( "1/2 MAX_SCORE is less than MAX_SCORE" ) ;
7677
7778/// The maximum acceptable delay which can be applied on an advertisement from a collator with score
7879/// less than the maximum score for the parachain.
You can’t perform that action at this time.
0 commit comments