From 09619c388f73c63c0c842e369bf64ce12d7d7797 Mon Sep 17 00:00:00 2001 From: terencechain Date: Sun, 11 Dec 2022 14:59:12 -0800 Subject: [PATCH] Remove `Test_IsExecutionEnabledCapella` (#11752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Radosław Kapka --- beacon-chain/core/blocks/payload_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/beacon-chain/core/blocks/payload_test.go b/beacon-chain/core/blocks/payload_test.go index b4639de847..02638b2572 100644 --- a/beacon-chain/core/blocks/payload_test.go +++ b/beacon-chain/core/blocks/payload_test.go @@ -350,16 +350,6 @@ func Test_IsExecutionEnabled(t *testing.T) { } } -func Test_IsExecutionEnabledCapella(t *testing.T) { - st, _ := util.DeterministicGenesisStateCapella(t, 1) - blk := util.NewBeaconBlockCapella() - body, err := consensusblocks.NewBeaconBlockBody(blk.Block.Body) - require.NoError(t, err) - got, err := blocks.IsExecutionEnabled(st, body) - require.NoError(t, err) - require.Equal(t, false, got) -} - func Test_IsExecutionEnabledUsingHeader(t *testing.T) { tests := []struct { name string