We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c890cda commit ab75d7aCopy full SHA for ab75d7a
configs/config.go
@@ -79,6 +79,7 @@ type Config struct {
79
RedisPassword string `env:"REDIS_PASSWORD"`
80
RedisDB int `env:"REDIS_DB" envDefault:"0"`
81
ValidationMode string `env:"VALIDATION_MODE" envDefault:"minimal"`
82
+ EnableReorgValidation bool `env:"ENABLE_REORG_VALIDATION" envDefault:"true"`
83
}
84
85
var Cfg Config
internal/committer/reorg.go
@@ -20,6 +20,9 @@ func RunReorgValidator() {
20
if !config.Cfg.CommitterIsLive {
21
return
22
23
+ if !config.Cfg.EnableReorgValidation {
24
+ return
25
+ }
26
27
lastBlockCheck := int64(0)
28
for {
0 commit comments