mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
Fix Prysm Runtime Data Races (#7770)
* handle state trie data races * race fixes * added proper locks * fix gaz * use thread-safe refs() function
This commit is contained in:
@@ -320,7 +320,7 @@ func TestService_markSynced(t *testing.T) {
|
||||
assert.Equal(t, false, s.synced)
|
||||
assert.Equal(t, true, s.Syncing())
|
||||
assert.NoError(t, s.Status())
|
||||
s.chainStarted = true
|
||||
s.chainStarted.Set()
|
||||
assert.ErrorContains(t, "syncing", s.Status())
|
||||
|
||||
expectedGenesisTime := time.Unix(358544700, 0)
|
||||
|
||||
Reference in New Issue
Block a user