Skip to content

Commit a2e82c2

Browse files
committed
lint err
1 parent 3e59974 commit a2e82c2

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

cl/cltypes/epbs_payload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (s *SignedExecutionPayloadBid) Clone() clonable.Clonable {
321321
// ExecutionPayloadEnvelope represents an execution payload envelope with associated metadata.
322322
type ExecutionPayloadEnvelope struct {
323323
Payload *Eth1Block `json:"payload"`
324-
ExecutionRequests *ExecutionRequests `json:"execution_requests"`
324+
ExecutionRequests *ExecutionRequests `json:"execution_requests"`
325325
BuilderIndex BuilderIndex `json:"builder_index,string"`
326326
BeaconBlockRoot common.Hash `json:"beacon_block_root"`
327327
Slot uint64 `json:"slot,string"`

cl/phase1/forkchoice/payload_vote.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func (f *ForkChoiceStore) isPayloadTimely(root common.Hash) bool {
6969
// Count PTC votes for payload present
7070
ptcVotes := ptcVoteRaw.([clparams.PtcSize]bool)
7171
presentCount := uint64(0)
72-
for _, present := range ptcVotes {
73-
if present {
72+
for i := range ptcVotes {
73+
if ptcVotes[i] {
7474
presentCount++
7575
}
7676
}

cl/phase1/forkchoice/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
// [Modified in Gloas:EIP7732] Added Slot and PayloadPresent.
1010
type LatestMessage struct {
1111
Epoch uint64
12-
Slot uint64 // [New in Gloas:EIP7732]
12+
Slot uint64 // [New in Gloas:EIP7732]
1313
Root common.Hash
1414
PayloadPresent bool // [New in Gloas:EIP7732]
1515
}

cl/transition/machine/block.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,3 @@ func processBlsToExecutionChanges(impl BlockOperationProcessor, s abstract.Beaco
377377

378378
return
379379
}
380-

0 commit comments

Comments
 (0)