Skip to content

Commit

Permalink
fix e2e tests take 1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Mar 20, 2024
1 parent 0caaeeb commit dbfa70b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abci/types/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package types
import (
"context"

"github.com/cometbft/cometbft/crypto/tmhash"
"github.com/cometbft/cometbft/crypto/merkle"
)

// Application is an interface that enables any finite, deterministic state machine
Expand Down Expand Up @@ -96,7 +96,7 @@ func (BaseApplication) ApplySnapshotChunk(req RequestApplySnapshotChunk) Respons

func (BaseApplication) PrepareProposal(req RequestPrepareProposal) ResponsePrepareProposal {
// we use placeholder values for the hash
req.Txs = append(req.Txs, tmhash.Sum(nil))
req.Txs = append(req.Txs, merkle.HashFromByteSlices(req.Txs))
return ResponsePrepareProposal{Txs: req.Txs}
}

Expand Down

0 comments on commit dbfa70b

Please sign in to comment.