Skip to content

Commit

Permalink
feat(sentry): Fetch proposer duties
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Apr 2, 2024
1 parent f86a6ae commit 2095be4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/ethpandaops/xatu/pkg/cannon/ethereum"
"github.com/ethpandaops/xatu/pkg/cannon/iterator"
"github.com/ethpandaops/xatu/pkg/observability"
v1 "github.com/ethpandaops/xatu/pkg/proto/eth/v1"
xatuethv1 "github.com/ethpandaops/xatu/pkg/proto/eth/v1"
"github.com/ethpandaops/xatu/pkg/proto/xatu"
"github.com/google/uuid"
Expand Down Expand Up @@ -297,7 +296,7 @@ func (b *ProposerDutyDeriver) createEventFromProposerDuty(ctx context.Context, d

func (b *ProposerDutyDeriver) getAdditionalData(_ context.Context, duty *apiv1.ProposerDuty) (*xatu.ClientMeta_AdditionalEthV1ProposerDutyData, error) {
extra := &xatu.ClientMeta_AdditionalEthV1ProposerDutyData{
StateId: v1.StateIDFinalized,
StateId: xatuethv1.StateIDFinalized,
}

slot := b.beacon.Metadata().Wallclock().Slots().FromNumber(uint64(duty.Slot))
Expand Down

0 comments on commit 2095be4

Please sign in to comment.