diff --git a/internal/state/test/factory/block.go b/internal/state/test/factory/block.go index feff7ec174..a1ef4e58f8 100644 --- a/internal/state/test/factory/block.go +++ b/internal/state/test/factory/block.go @@ -67,6 +67,8 @@ func MakeBlock(state sm.State, height int64, c *types.Commit, proposedAppVersion if block.ResultsHash, err = abci.TxResultsHash(factory.ExecTxResults(block.Txs)); err != nil { return nil, err } + // kvstore expects app version to be set to height + block.Version.App = uint64(height) return block, nil }