Skip to content

Commit

Permalink
fix: set Hash to nil to pass byzantine_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Sep 13, 2022
1 parent f43bc15 commit e77731e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion state/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ func (blockExec *BlockExecutor) CreateProposalBlock(

preparedProposal, err := blockExec.proxyApp.PrepareProposalSync(
abci.RequestPrepareProposal{
BlockData: &tmproto.Data{Txs: txs.ToSliceOfBytes(), Evidence: *pevdData},
// Hash will be set by celestia-app's PrepareProposal
BlockData: &tmproto.Data{Txs: txs.ToSliceOfBytes(), Evidence: *pevdData, Hash: nil},
BlockDataSize: maxDataBytes},
)
if err != nil {
Expand Down

0 comments on commit e77731e

Please sign in to comment.