Skip to content

Commit def69e2

Browse files
committed
Revert "More sparse state snapshots in the Gnosis network"
This reverts commit 557717b.
1 parent 2d3d819 commit def69e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ gnosis-build gnosis-chain-build: | build deps
421421
-d:SECONDS_PER_SLOT=5 \
422422
-d:BASE_REWARD_FACTOR=25 \
423423
-d:EPOCHS_PER_SYNC_COMMITTEE_PERIOD=512 \
424-
-d:EPOCHS_PER_STATE_SNAPSHOT=128 \
425424
&& \
426425
echo -e $(BUILD_END_MSG) "build/nimbus_beacon_node_gnosis"
427426

beacon_chain/consensus_object_pools/blockchain_dag.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const
5050
# When finality happens, we prune historical states from the database except
5151
# for a snapshort every 32 epochs from which replays can happen - there's a
5252
# balance here between making long replays and saving on disk space
53-
EPOCHS_PER_STATE_SNAPSHOT {.intdefine.} = 32
53+
EPOCHS_PER_STATE_SNAPSHOT = 32
5454

5555
proc putBlock*(
5656
dag: ChainDAGRef, signedBlock: ForkyTrustedSignedBeaconBlock) =

0 commit comments

Comments
 (0)