mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
wrapper: Remove deprecated fork specific wrapper methods for signed beacon blocks (#10369)
* Remove deprecated wrappers, lots of refactoring * Revert proto/prysm/v1alpha1/validator.proto * fix tests * fix test * fix conversion in e2e Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -378,7 +378,9 @@ func TestService_Resync(t *testing.T) {
|
||||
}, p.Peers())
|
||||
cache.initializeRootCache(makeSequence(1, 160), t)
|
||||
beaconDB := dbtest.SetupDB(t)
|
||||
err := beaconDB.SaveBlock(context.Background(), wrapper.WrappedPhase0SignedBeaconBlock(util.NewBeaconBlock()))
|
||||
wsb, err := wrapper.WrappedSignedBeaconBlock(util.NewBeaconBlock())
|
||||
require.NoError(t, err)
|
||||
err = beaconDB.SaveBlock(context.Background(), wsb)
|
||||
require.NoError(t, err)
|
||||
cache.RLock()
|
||||
genesisRoot := cache.rootCache[0]
|
||||
|
||||
Reference in New Issue
Block a user