Fuzz test CheckTx
vs PrepareProposal
#4279
Labels
testing
items that are strictly related to adding or extending test coverage
WS: Maintenance 🔧
includes bugs, refactors, flakes, and tech debt etc
Context
Related to #4275 except we want to generalize this to all types of transactions. If the tx passes
CheckTx
then it should passPrepareProposal
.cc: @evan-forbes
Problem
There may be edge case transactions that pass
CheckTx
but always failPrepareProposal
. These edge cases are a DoS attack.Proposal
We could use a fuzz test that txs verifies that if the tx passes
CheckTx
then it also must be able to be included in an empty block (i.e. a block where it is the only tx).If we use
txsim
for creating the transactions, then we may need to modify txsim to create multiple transactions from the same account in one block to uncover more edge case transactions.The text was updated successfully, but these errors were encountered: