Skip to content

Commit 5a45991

Browse files
authored
feat: lodestar persists invalid ssz objects by default (#730)
Would be good to have invalid ssz objects persisted by default in case there is a consensus bug or other issue. There is not much downside to this besides slight storage increase but since states / blocks are generally small on devnets this shouldn't matter, also we prune objects after some time (15 days).
1 parent 28b67cd commit 5a45991

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cl/lodestar/lodestar_launcher.star

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def get_beacon_config(
269269
"--port={0}".format(discovery_port),
270270
"--discoveryPort={0}".format(discovery_port),
271271
"--dataDir=" + BEACON_DATA_DIRPATH_ON_SERVICE_CONTAINER,
272+
"--chain.persistInvalidSszObjects=true",
272273
"--eth1.depositContractDeployBlock=0",
273274
"--network.connectToDiscv5Bootnodes=true",
274275
"--discv5=true",

0 commit comments

Comments
 (0)