Skip to content

Commit

Permalink
I disabled fullvalidation by accident :P (#12531)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Oct 30, 2024
1 parent 0eb63e7 commit 7e4f34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl/phase1/forkchoice/fork_graph/fork_graph_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (f *forkGraphDisk) AddChainSegment(signedBlock *cltypes.SignedBeaconBlock,
prevInactivityScores = libcommon.Copy(newState.RawInactivityScores())
}
// Execute the state
if invalidBlockErr := transition.TransitionState(newState, signedBlock, blockRewardsCollector, false); invalidBlockErr != nil {
if invalidBlockErr := transition.TransitionState(newState, signedBlock, blockRewardsCollector, fullValidation); invalidBlockErr != nil {
// Add block to list of invalid blocks
log.Warn("Invalid beacon block", "slot", block.Slot, "blockRoot", blockRoot, "reason", invalidBlockErr)
f.badBlocks.Store(libcommon.Hash(blockRoot), struct{}{})
Expand Down

0 comments on commit 7e4f34e

Please sign in to comment.