fix compile errors

This commit is contained in:
Callum Waters
2022-07-25 13:00:02 +02:00
parent d96f8812e1
commit 16103144e7
36 changed files with 329 additions and 33 deletions
+4 -1
View File
@@ -37,6 +37,9 @@ replace the backend. The default start-height is 0, meaning the tooling will sta
reindex from the base block height(inclusive); and the default end-height is 0, meaning
the tooling will reindex until the latest block height(inclusive). User can omit
either or both arguments.
Note: This operation requires ABCIResponses. Do not set DiscardABCIResponses to true if you
want to use this command.
`,
Example: `
tendermint reindex-event
@@ -154,7 +157,7 @@ func loadStateAndBlockStore(cfg *tmcfg.Config) (*store.BlockStore, state.Store,
if err != nil {
return nil, nil, err
}
stateStore := state.NewStore(stateDB)
stateStore := state.NewStore(stateDB, cfg.RPC.DiscardABCIResponses)
return blockStore, stateStore, nil
}