Skip to content

Commit

Permalink
temp log
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Oct 30, 2024
1 parent 5fa1a06 commit 6e80096
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networkconfig/holesky-stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var HoleskyStage = NetworkConfig{
GenesisEpoch: 1,
RegistrySyncOffset: new(big.Int).SetInt64(84599),
RegistryContractAddr: "0x0d33801785340072C452b994496B19f196b7eE15",
AlanForkEpoch: 999999999,
DiscoveryProtocolID: [6]byte{'s', 's', 'v', 'd', 'v', '5'},
//AlanForkEpoch: 999999999,
DiscoveryProtocolID: [6]byte{'s', 's', 'v', 'd', 'v', '5'},
Bootnodes: []string{
// Public bootnode:
// "enr:-Ja4QDYHVgUs9NvlMqq93ot6VNqbmrIlMrwKnq4X3DPRgyUNB4ospDp8ubMvsf-KsgqY8rzpZKy4GbE1DLphabpRBc-GAY_diLjngmlkgnY0gmlwhDQrLYqJc2VjcDI1NmsxoQKnAiuSlgSR8asjCH0aYoVKM8uPbi4noFuFHZHaAHqknYNzc3YBg3RjcIITiYN1ZHCCD6E",
Expand Down
11 changes: 11 additions & 0 deletions protocol/v2/ssv/validator/non_committee_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ func (ncv *CommitteeObserver) saveAttesterRoots(epoch phase0.Epoch, beaconVote *
}

ncv.attesterRoots.Set(attesterRoot, struct{}{}, ttlcache.DefaultTTL)

ncv.logger.Debug("✅ On proposal msg: saveAttesterRoot",
zap.String("qbft_ctrl_identifier", hex.EncodeToString(ncv.qbftController.Identifier)),
zap.String("attester_root", hex.EncodeToString(attesterRoot[:])),
zap.String("committee_index", strconv.Itoa(int(committeeIndex))),

Check failure on line 393 in protocol/v2/ssv/validator/non_committee_validator.go

View workflow job for this annotation

GitHub Actions / lint

G115: integer overflow conversion uint64 -> int (gosec)
)
}

return nil
Expand All @@ -405,6 +411,11 @@ func (ncv *CommitteeObserver) saveSyncCommRoots(epoch phase0.Epoch, beaconVote *

ncv.syncCommRoots.Set(syncCommitteeRoot, struct{}{}, ttlcache.DefaultTTL)

ncv.logger.Debug("✅ On proposal msg: saveSyncCommRoots",
zap.String("qbft_ctrl_identifier", hex.EncodeToString(ncv.qbftController.Identifier)),
zap.String("attester_root", hex.EncodeToString(syncCommitteeRoot[:])),
)

return nil
}

Expand Down

0 comments on commit 6e80096

Please sign in to comment.