From b4648f452e128b7929eb4778a5ce450b2e4cec5c Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Mon, 11 Sep 2023 14:37:53 -0400 Subject: [PATCH 1/4] docs: rephrase `MinSignedPerWindow` description Partially inspired by https://github.com/gavinly/CosmosParametersWiki/blob/master/Slashing.md#2-minsignedperwindow --- specs/src/specs/params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index c7a0af3a49..0d082f4ec9 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -42,7 +42,7 @@ are blocked by the `x/paramfilter` module. | ibc.Transfer.SendEnabled | true | Enable sending tokens via IBC. | True | | ibc.Transfer.ReceiveEnabled | true | Enable receiving tokens via IBC. | True | | slashing.SignedBlocksWindow | 5000 | The range of blocks used to count for downtime. | True | -| slashing.MinSignedPerWindow | 5 | Minumum signatures in the block. | True | +| slashing.MinSignedPerWindow | 0.05 (5%) | Minimum proportion of blocks signed per window to avoid being slashed. | True | | slashing.DowntimeJailDuration | 10 mins | Duration of time a validator must stay jailed. | True | | slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for downtime. | True | | slashing.SlashFractionDowntime | 1.0% | Percentage slashed after a validator is jailed for downtime. | True | From 47aca08d794c2e73c6b2f4a1f0637cf8c13d603f Mon Sep 17 00:00:00 2001 From: Rootul P Date: Tue, 12 Sep 2023 14:35:05 -0400 Subject: [PATCH 2/4] Update specs/src/specs/params.md Co-authored-by: Ismail Khoffi --- specs/src/specs/params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index 0d082f4ec9..6ac51ce6fe 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -44,7 +44,7 @@ are blocked by the `x/paramfilter` module. | slashing.SignedBlocksWindow | 5000 | The range of blocks used to count for downtime. | True | | slashing.MinSignedPerWindow | 0.05 (5%) | Minimum proportion of blocks signed per window to avoid being slashed. | True | | slashing.DowntimeJailDuration | 10 mins | Duration of time a validator must stay jailed. | True | -| slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for downtime. | True | +| slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for double-signing. | True | | slashing.SlashFractionDowntime | 1.0% | Percentage slashed after a validator is jailed for downtime. | True | | staking.UnbondingTime | 1814400 (21 days) | Duration of time for unbonding in seconds. | False | | staking.MaxValidators | 100 | Maximum number of validators. | False | From 9f79c1b547b863a631d43cf6ac219a55c9c5727b Mon Sep 17 00:00:00 2001 From: Rootul P Date: Wed, 13 Sep 2023 10:08:45 -0400 Subject: [PATCH 3/4] Update specs/src/specs/params.md --- specs/src/specs/params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index 6ac51ce6fe..e188f47807 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -42,7 +42,7 @@ are blocked by the `x/paramfilter` module. | ibc.Transfer.SendEnabled | true | Enable sending tokens via IBC. | True | | ibc.Transfer.ReceiveEnabled | true | Enable receiving tokens via IBC. | True | | slashing.SignedBlocksWindow | 5000 | The range of blocks used to count for downtime. | True | -| slashing.MinSignedPerWindow | 0.05 (5%) | Minimum proportion of blocks signed per window to avoid being slashed. | True | +| slashing.MinSignedPerWindow | 0.5 (50%) | Minimum proportion of blocks signed per window to avoid being slashed. | True | | slashing.DowntimeJailDuration | 10 mins | Duration of time a validator must stay jailed. | True | | slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for double-signing. | True | | slashing.SlashFractionDowntime | 1.0% | Percentage slashed after a validator is jailed for downtime. | True | From 709d539226e73584052bbc83d13d5535a1933505 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Wed, 13 Sep 2023 13:59:18 -0400 Subject: [PATCH 4/4] Update params.md --- specs/src/specs/params.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/src/specs/params.md b/specs/src/specs/params.md index e188f47807..7f04da7131 100644 --- a/specs/src/specs/params.md +++ b/specs/src/specs/params.md @@ -44,7 +44,7 @@ are blocked by the `x/paramfilter` module. | slashing.SignedBlocksWindow | 5000 | The range of blocks used to count for downtime. | True | | slashing.MinSignedPerWindow | 0.5 (50%) | Minimum proportion of blocks signed per window to avoid being slashed. | True | | slashing.DowntimeJailDuration | 10 mins | Duration of time a validator must stay jailed. | True | -| slashing.SlashFractionDoubleSign | 5.0% | Percentage slashed after a validator is jailed for double-signing. | True | +| slashing.SlashFractionDoubleSign | 0.05 (5%) | Percentage slashed after a validator is jailed for double-signing. | True | | slashing.SlashFractionDowntime | 1.0% | Percentage slashed after a validator is jailed for downtime. | True | | staking.UnbondingTime | 1814400 (21 days) | Duration of time for unbonding in seconds. | False | | staking.MaxValidators | 100 | Maximum number of validators. | False |