fix: prune cmd should disable async pruning (#24090)
This commit is contained in:
@@ -142,6 +142,10 @@ func (ms multiStore) SetIAVLDisableFastNode(disable bool) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func (ms multiStore) SetIAVLSyncPruning(syncPruning bool) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func (ms multiStore) SetInitialVersion(version int64) error {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
@@ -74,6 +74,7 @@ const (
|
||||
FlagMinRetainBlocks = "min-retain-blocks"
|
||||
FlagIAVLCacheSize = "iavl-cache-size"
|
||||
FlagDisableIAVLFastNode = "iavl-disable-fastnode"
|
||||
FlagIAVLSyncPruning = "iavl-sync-pruning"
|
||||
FlagShutdownGrace = "shutdown-grace"
|
||||
|
||||
// state sync-related flags
|
||||
|
||||
@@ -561,6 +561,7 @@ func DefaultBaseappOptions(appOpts types.AppOptions) []func(*baseapp.BaseApp) {
|
||||
baseapp.SetSnapshot(snapshotStore, snapshotOptions),
|
||||
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(FlagIAVLCacheSize))),
|
||||
baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(FlagDisableIAVLFastNode))),
|
||||
baseapp.SetIAVLSyncPruning(cast.ToBool(appOpts.Get(FlagIAVLSyncPruning))),
|
||||
defaultMempool,
|
||||
baseapp.SetChainID(chainID),
|
||||
baseapp.SetQueryGasLimit(cast.ToUint64(appOpts.Get(FlagQueryGasLimit))),
|
||||
|
||||
Reference in New Issue
Block a user