From 2095be45a3dc5737bd55fed0af6fde6b16aef4c0 Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Tue, 2 Apr 2024 16:08:25 +1000 Subject: [PATCH] feat(sentry): Fetch proposer duties --- pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go b/pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go index ef8f58e7..f89a4b88 100644 --- a/pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go +++ b/pkg/cannon/deriver/beacon/eth/v1/proposer_duty.go @@ -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" @@ -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))