fix(server): bootstrap-state command can't parse latest genesis format (#20020)

This commit is contained in:
yihuang
2024-04-15 09:49:42 +00:00
committed by GitHub
parent 07c0aa73e0
commit 84c64b204d
51 changed files with 108 additions and 107 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ func BootstrapStateCmd[T types.Application](appCreator types.AppCreator[T]) *cob
height = app.CommitMultiStore().LastCommitID().Version
}
return node.BootstrapState(cmd.Context(), cfg, cmtcfg.DefaultDBProvider, uint64(height), nil)
return node.BootstrapStateWithGenProvider(cmd.Context(), cfg, cmtcfg.DefaultDBProvider, getGenDocProvider(cfg), uint64(height), nil)
},
}