Skip to content

Commit

Permalink
move ctx to top
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka committed Oct 25, 2024
1 parent 60f29e3 commit 42271cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'})
Expand Down

0 comments on commit 42271cc

Please sign in to comment.