Remove Test_IsExecutionEnabledCapella (#11752)

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
terencechain
2022-12-11 14:59:12 -08:00
committed by GitHub
parent 1531313603
commit 09619c388f

View File

@@ -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