Skip to content

Commit

Permalink
Revert "add logs"
Browse files Browse the repository at this point in the history
This reverts commit e373882.
  • Loading branch information
olegshmuelov committed Oct 7, 2024
1 parent e373882 commit 65ad3f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions api/handlers/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package handlers

import (
"fmt"
"log"
"net/http"

"github.com/attestantio/go-eth2-client/spec/phase0"
Expand Down Expand Up @@ -65,8 +64,6 @@ func (e *Exporter) Decideds(w http.ResponseWriter, r *http.Request) error {
}
for _, pubKey := range request.PubKeys {
msgID := convert.NewMsgID(e.DomainType, pubKey, runnerRole)
log.Printf("Generated MsgID: %x for role: %v, pubKey: %s", msgID, role, pubKey)

from := phase0.Slot(request.From)
to := phase0.Slot(request.To)

Expand Down
2 changes: 0 additions & 2 deletions api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/hex"
"encoding/json"
"errors"
"log"
"strconv"
"strings"

Expand Down Expand Up @@ -81,7 +80,6 @@ func (r *Role) Bind(value string) error {
return err
}
*r = Role(role)
log.Printf("Binding role: %s to %v", value, role)
return nil
}

Expand Down
3 changes: 0 additions & 3 deletions ibft/storage/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package storage
import (
"encoding/binary"
"fmt"
"log"

"github.com/attestantio/go-eth2-client/spec/phase0"
"github.com/pkg/errors"
Expand Down Expand Up @@ -192,8 +191,6 @@ func (i *ibftStorage) GetParticipantsInRange(identifier convert.MessageID, from,
}

func (i *ibftStorage) GetParticipants(identifier convert.MessageID, slot phase0.Slot) ([]spectypes.OperatorID, error) {
log.Printf("Fetching participants for identifier: %x at slot: %d", identifier, slot)

val, found, err := i.get(participantsKey, identifier[:], uInt64ToByteSlice(uint64(slot)))
if err != nil {
return nil, err
Expand Down

0 comments on commit 65ad3f8

Please sign in to comment.