diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go index e6a0f1aec6e..753511d978f 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer_attestations_test.go @@ -683,12 +683,13 @@ func Test_packAttestations(t *testing.T) { } func Test_packAttestations_ElectraOnChainAggregates(t *testing.T) { + ctx := context.Background() + params.SetupTestConfigCleanup(t) cfg := params.BeaconConfig().Copy() cfg.ElectraForkEpoch = 1 params.OverrideBeaconConfig(cfg) - ctx := context.Background() key, err := blst.RandKey() require.NoError(t, err) sig := key.Sign([]byte{'X'})