Block interface clean up (#8947)

This commit is contained in:
terence tsao
2021-05-26 11:33:46 -07:00
committed by GitHub
parent caf9bdbc6f
commit 276d03553c
122 changed files with 767 additions and 758 deletions

View File

@@ -267,7 +267,7 @@ func TestBlocksFetcher_RoundRobin(t *testing.T) {
genesisRoot := cache.rootCache[0]
cache.RUnlock()
err := beaconDB.SaveBlock(context.Background(), interfaces.NewWrappedSignedBeaconBlock(testutil.NewBeaconBlock()))
err := beaconDB.SaveBlock(context.Background(), interfaces.WrappedPhase0SignedBeaconBlock(testutil.NewBeaconBlock()))
require.NoError(t, err)
st, err := testutil.NewBeaconState()