diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index f84483faab..0080441b25 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1122,6 +1122,8 @@ var ( StateExpiryBaseFlags = []cli.Flag{ StateExpiryEnableFlag, StateExpiryEnableRemoteModeFlag, + // TODO(0xbundler): temporary set + StateExpiryPruneLevelFlag, } ) diff --git a/core/types/state_expiry.go b/core/types/state_expiry.go index f1072f1faf..5fe7c7565f 100644 --- a/core/types/state_expiry.go +++ b/core/types/state_expiry.go @@ -85,9 +85,10 @@ func (s *StateExpiryConfig) CheckCompatible(newCfg *StateExpiryConfig) error { return errors.New("StateScheme is incompatible") } - if s.PruneLevel != newCfg.PruneLevel { - return errors.New("state expiry PruneLevel is incompatible") - } + // TODO(0xbundler): temporary remove check for testing + //if s.PruneLevel != newCfg.PruneLevel { + // return errors.New("state expiry PruneLevel is incompatible") + //} return nil }