Skip to content

Commit

Permalink
fix state-scheme flag usage
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoximenes committed May 31, 2024
1 parent c1507b0 commit c3c8e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions execution/gethexec/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func CachingConfigAddOptions(prefix string, f *flag.FlagSet) {
f.Uint32(prefix+".max-number-of-blocks-to-skip-state-saving", DefaultCachingConfig.MaxNumberOfBlocksToSkipStateSaving, "maximum number of blocks to skip state saving to persistent storage (archive node only) -- warning: this option seems to cause issues")
f.Uint64(prefix+".max-amount-of-gas-to-skip-state-saving", DefaultCachingConfig.MaxAmountOfGasToSkipStateSaving, "maximum amount of gas in blocks to skip saving state to Persistent storage (archive node only) -- warning: this option seems to cause issues")
f.Uint32(prefix+".stylus-lru-cache", DefaultCachingConfig.StylusLRUCache, "initialized stylus programs to keep in LRU cache")
f.String(prefix+".state-scheme", DefaultCachingConfig.StateScheme, "scheme to use for state trie storage (hashdb, pathdb)")
f.Uint64(prefix+".state-history", DefaultCachingConfig.StateHistory, "number of recent blocks to retain state history for (pathdb state-scheme only)")
f.String(prefix+".state-scheme", DefaultCachingConfig.StateScheme, "scheme to use for state trie storage (hash, path)")
f.Uint64(prefix+".state-history", DefaultCachingConfig.StateHistory, "number of recent blocks to retain state history for (path state-scheme only)")
}

var DefaultCachingConfig = CachingConfig{
Expand Down

0 comments on commit c3c8e88

Please sign in to comment.