mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Move state summary cache to DB (#8101)
This commit is contained in:
@@ -367,7 +367,7 @@ func TestService_Resync(t *testing.T) {
|
||||
{blocks: makeSequence(1, 160), finalizedEpoch: 5, headSlot: 160},
|
||||
}, p.Peers())
|
||||
cache.initializeRootCache(makeSequence(1, 160), t)
|
||||
beaconDB, _ := dbtest.SetupDB(t)
|
||||
beaconDB := dbtest.SetupDB(t)
|
||||
err := beaconDB.SaveBlock(context.Background(), testutil.NewBeaconBlock())
|
||||
require.NoError(t, err)
|
||||
cache.RLock()
|
||||
|
||||
Reference in New Issue
Block a user