e2e: increase retain height to at least twice evidence age (#6924)

This commit is contained in:
Callum Waters
2021-09-10 16:18:01 +02:00
committed by GitHub
parent 5d279c93db
commit f1b9613301
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ var (
nodeStateSyncs = uniformChoice{e2e.StateSyncDisabled, e2e.StateSyncP2P, e2e.StateSyncRPC}
nodePersistIntervals = uniformChoice{0, 1, 5}
nodeSnapshotIntervals = uniformChoice{0, 3}
nodeRetainBlocks = uniformChoice{0, int(e2e.EvidenceAgeHeight), int(e2e.EvidenceAgeHeight) + 5}
nodeRetainBlocks = uniformChoice{0, 2 * int(e2e.EvidenceAgeHeight), 4 * int(e2e.EvidenceAgeHeight)}
nodePerturbations = probSetChoice{
"disconnect": 0.1,
"pause": 0.1,

View File

@@ -53,7 +53,7 @@ persist_interval = 3
perturb = ["kill"]
privval_protocol = "grpc"
block_sync = "v0"
retain_blocks = 7
retain_blocks = 10
[node.validator04]
abci_protocol = "builtin"
@@ -79,7 +79,7 @@ start_at = 1010
block_sync = "v0"
persistent_peers = ["validator01", "validator02", "validator03", "validator04"]
perturb = ["restart"]
retain_blocks = 7
retain_blocks = 10
state_sync = "rpc"
[node.light01]