Skip to content

Commit

Permalink
feat: lodestar persists invalid ssz objects by default (#730)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
nflaig authored Aug 6, 2024
1 parent 28b67cd commit 5a45991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cl/lodestar/lodestar_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def get_beacon_config(
"--port={0}".format(discovery_port),
"--discoveryPort={0}".format(discovery_port),
"--dataDir=" + BEACON_DATA_DIRPATH_ON_SERVICE_CONTAINER,
"--chain.persistInvalidSszObjects=true",
"--eth1.depositContractDeployBlock=0",
"--network.connectToDiscv5Bootnodes=true",
"--discv5=true",
Expand Down

0 comments on commit 5a45991

Please sign in to comment.