From 42271cc30be5d55bda17b7820b68deba6b1c1146 Mon Sep 17 00:00:00 2001 From: rkapka Date: Fri, 25 Oct 2024 17:21:59 +0700 Subject: [PATCH] move ctx to top --- .../rpc/prysm/v1alpha1/validator/proposer_attestations_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'})