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:
Radosław Kapka
2025-07-08 19:45:20 +02:00
committed by GitHub
parent 961ea05454
commit 7025e50a6c
38 changed files with 490 additions and 1707 deletions

View File

@@ -40,7 +40,6 @@ const disabledFeatureFlag = "Disabled feature flag"
// Flags is a struct to represent which features the client will perform on runtime.
type Flags struct {
// Feature related flags.
EnableExperimentalState bool // EnableExperimentalState turns on the latest and greatest (but potentially unstable) changes to the beacon state.
WriteSSZStateTransitions bool // WriteSSZStateTransitions to tmp directory.
EnablePeerScorer bool // EnablePeerScorer enables experimental peer scoring in p2p.
EnableLightClient bool // EnableLightClient enables light client APIs.
@@ -189,12 +188,6 @@ func ConfigureBeaconChain(ctx *cli.Context) error {
return err
}
cfg.EnableExperimentalState = true
if ctx.Bool(disableExperimentalState.Name) {
logEnabled(disableExperimentalState)
cfg.EnableExperimentalState = false
}
if ctx.Bool(writeSSZStateTransitionsFlag.Name) {
logEnabled(writeSSZStateTransitionsFlag)
cfg.WriteSSZStateTransitions = true