mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Make the multi-value slice permanent (#15414)
* Remove Old State Paths * Changelog * Gazelle * Lint * Fix State Tests * fix tests, update native state code * move ErrOutOfBounds error from consensus types to mvslice * fix TestStreamEvents_OperationsEvents * add missing gc to fuzz tests * more test fixes * build fix --------- Co-authored-by: nisdas <nishdas93@gmail.com>
This commit is contained in:
@@ -15,5 +15,5 @@ func VerifyBeaconStateValidatorAtIndexReadOnlyHandlesNilSlice(t *testing.T, fact
|
||||
require.NoError(t, err)
|
||||
|
||||
_, err = st.ValidatorAtIndexReadOnly(0)
|
||||
assert.Equal(t, state.ErrNilValidatorsInState, err)
|
||||
assert.ErrorContains(t, "index 0 out of bounds", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user