state-diff configs & kv functions (#15903)

* state-diff configs

* state diff kv functions

* potuz's comments

* Update config.go

* fix merge conflicts

* apply bazel's suggestion and fix some bugs

* preston's feedback
This commit is contained in:
Bastin
2025-11-19 20:27:56 +01:00
committed by GitHub
parent eb9feabd6f
commit 207f36065a
17 changed files with 1329 additions and 4 deletions

View File

@@ -345,4 +345,10 @@ var (
Usage: "Maximum number of signatures to batch verify at once for beacon attestation p2p gossip.",
Value: 1000,
}
// StateDiffExponents defines the state diff tree hierarchy levels.
StateDiffExponents = &cli.IntSliceFlag{
Name: "state-diff-exponents",
Usage: "A comma-separated list of exponents (of 2) in decreasing order, defining the state diff hierarchy levels. The last exponent must be greater than or equal to 5.",
Value: cli.NewIntSlice(21, 18, 16, 13, 11, 9, 5),
}
)