refactor: remove iavl-lazy-loading from config (#17177)
This commit is contained in:
@@ -85,9 +85,6 @@ type BaseConfig struct {
|
||||
// IAVLDisableFastNode enables or disables the fast sync node.
|
||||
IAVLDisableFastNode bool `mapstructure:"iavl-disable-fastnode"`
|
||||
|
||||
// IAVLLazyLoading enable/disable the lazy loading of iavl store.
|
||||
IAVLLazyLoading bool `mapstructure:"iavl-lazy-loading"`
|
||||
|
||||
// AppDBBackend defines the type of Database to use for the application and snapshots databases.
|
||||
// An empty string indicates that the CometBFT config's DBBackend value should be used.
|
||||
AppDBBackend string `mapstructure:"app-db-backend"`
|
||||
@@ -236,7 +233,6 @@ func DefaultConfig() *Config {
|
||||
IndexEvents: make([]string, 0),
|
||||
IAVLCacheSize: 781250,
|
||||
IAVLDisableFastNode: false,
|
||||
IAVLLazyLoading: false,
|
||||
AppDBBackend: "",
|
||||
},
|
||||
Telemetry: telemetry.Config{
|
||||
|
||||
@@ -77,10 +77,6 @@ iavl-cache-size = {{ .BaseConfig.IAVLCacheSize }}
|
||||
# Default is false.
|
||||
iavl-disable-fastnode = {{ .BaseConfig.IAVLDisableFastNode }}
|
||||
|
||||
# IAVLLazyLoading enable/disable the lazy loading of iavl store.
|
||||
# Default is false.
|
||||
iavl-lazy-loading = {{ .BaseConfig.IAVLLazyLoading }}
|
||||
|
||||
# AppDBBackend defines the database backend type to use for the application and snapshots DBs.
|
||||
# An empty string indicates that a fallback will be used.
|
||||
# First fallback is the deprecated compile-time types.DBBackend value.
|
||||
|
||||
@@ -142,10 +142,6 @@ func (ms multiStore) SetIAVLDisableFastNode(disable bool) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func (ms multiStore) SetLazyLoading(bool) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func (ms multiStore) SetInitialVersion(version int64) error {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user