From a3107024d5b111f0472730ab6407b29e50ed07eb Mon Sep 17 00:00:00 2001 From: Sam Calder-Mason Date: Mon, 5 Aug 2024 13:45:51 +1000 Subject: [PATCH] feat(cannon): Change committee request structure --- pkg/cannon/deriver/beacon/eth/v1/beacon_committee.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cannon/deriver/beacon/eth/v1/beacon_committee.go b/pkg/cannon/deriver/beacon/eth/v1/beacon_committee.go index c3639644..c8d11d73 100644 --- a/pkg/cannon/deriver/beacon/eth/v1/beacon_committee.go +++ b/pkg/cannon/deriver/beacon/eth/v1/beacon_committee.go @@ -174,7 +174,7 @@ func (b *BeaconCommitteeDeriver) processEpoch(ctx context.Context, epoch phase0. defer span.End() // Get the beacon committees for this epoch - beaconCommittees, err := b.beacon.Node().FetchBeaconCommittees(ctx, xatuethv1.StateIDFinalized, &epoch) + beaconCommittees, err := b.beacon.Node().FetchBeaconCommittees(ctx, fmt.Sprintf("%d", epoch), nil) if err != nil { return nil, errors.Wrap(err, "failed to fetch beacon committees") }