Skip to content

Commit

Permalink
Disable Pruning during SC migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbhat1 committed Nov 1, 2024
1 parent 1b0323c commit f14d13a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/migration/sc/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func NewMigrator(homeDir string, db dbm.DB) *Migrator {
scConfig.Enable = true
ssConfig := config.DefaultStateStoreConfig()
ssConfig.Enable = true
ssConfig.KeepRecent = 0
cmsV2 := rootmulti2.NewStore(homeDir, logger, scConfig, ssConfig, true)
for _, key := range Keys {
cmsV2.MountStoreWithDB(key, sdk.StoreTypeIAVL, db)
Expand Down

0 comments on commit f14d13a

Please sign in to comment.