Skip to content

Commit

Permalink
Merge pull request #30 from sunriselayer/fix_test_util_malicious
Browse files Browse the repository at this point in the history
Remove usage of AppendInoInTxs in malicious package
  • Loading branch information
kimurayu45z committed May 10, 2024
2 parents 7cabcd5 + 5f16d10 commit c8e3aba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/util/malicious/out_of_order_prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ func (a *App) OutOfOrderPrepareProposal(req abci.RequestPrepareProposal) (*abci.
panic(err)
}

txs = app.AppendInfoInTxs(txs, dah.Hash(), uint64(dataSquare.Size()))

// tendermint doesn't need to use any of the erasure data, as only the
// protobuf encoded version of the block data is gossiped.
return &abci.ResponsePrepareProposal{
Txs: txs,
Txs: txs,
SquareSize: uint64(dataSquare.Size()),
DataHash: dah.Hash(),
}, nil
}

0 comments on commit c8e3aba

Please sign in to comment.