Skip to content

Commit

Permalink
Enable Queries to Iavl for Non-Migrating Nodes (#1954)
Browse files Browse the repository at this point in the history
Enable Queries to Iavl
  • Loading branch information
Kbhat1 authored Nov 20, 2024
1 parent 6730097 commit 1d657da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/seidb.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func SetupSeiDB(
migrationHeight := cast.ToInt64(appOpts.Get(FlagMigrateHeight))
baseAppOptions = append([]func(*baseapp.BaseApp){
func(baseApp *baseapp.BaseApp) {
if migrationEnabled {
if migrationEnabled || migrationHeight > 0 {
originalCMS := baseApp.CommitMultiStore()
baseApp.SetQueryMultiStore(originalCMS)
baseApp.SetMigrationHeight(migrationHeight)
Expand Down

0 comments on commit 1d657da

Please sign in to comment.