Skip to content

Commit

Permalink
Merge branch 'feat/proposer-app-version' of github.com:dashpay/tender…
Browse files Browse the repository at this point in the history
…dash into feat/proposer-app-version
  • Loading branch information
lklimek committed Mar 20, 2024
2 parents 55c3880 + 7a5f8fb commit 81be6d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/state/test/factory/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 81be6d6

Please sign in to comment.