Standardize epoch configs #11265
Labels
A-stateless-validation
Area: stateless validation
C-good-first-issue
Category: issues that are self-contained and easy for newcomers to work on.
C-housekeeping
Category: Refactoring, cleanups, code quality
EpochConfig
s has to be stored and created in the similar fashion asRuntimeConfigStore
: folder with YAML configs, each corresponding to its own protocol version. Currently it's quite hard to understand what are the values of fields because they are overridden in many places. Somewhere we even just use constants.Genesis shouldn't be source of truth because we keep adding new fields there.
More specifically - logic in
AllEpochConfig
is quite chaotic, e.g.AllEpochConfigTestOverrides
applies changes on top of all versions of epoch configs. Not sure if min_stake_ratio must be used in all tests, etc.Example of relevant work #11252
The text was updated successfully, but these errors were encountered: