Skip to content

Commit

Permalink
nit: more comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Feb 7, 2025
1 parent b9ca666 commit 12cf8d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions beacon/blockchain/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ func (s *Service) verifyStateRoot(
startTime := time.Now()
defer s.metrics.measureStateRootVerificationTime(startTime)

// We run with a non-optimistic engine here to ensure
// that the proposer does not try to push through a bad block.
txCtx := transition.NewTransitionCtx(
ctx,
consensusTime,
Expand Down
3 changes: 1 addition & 2 deletions beacon/validator/block_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,7 @@ func (s *Service) computeStateRoot(
startTime := time.Now()
defer s.metrics.measureStateRootComputationTime(startTime)

// TODO: We should think about how having optimistic
// engine enabled here would affect the proposer when
// TODO: Think about how this would affect the proposer when
// the payload in their block has come from a remote builder.
txCtx := transition.NewTransitionCtx(
ctx,
Expand Down

0 comments on commit 12cf8d9

Please sign in to comment.