-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Description
Problem
Currently unit tests for mempool interfaces like Insert
, Remove
, Select
exist. But Integration test using CheckTx
and ProcessProposal
are not being conducted.
Closing Criteria
-
TestTransactionOrderingWithABCIMethodCalls
- Check tx ordering with txs which have various gas prices
- Check tx replacement between txs which have same nonce but different gasPrice
- Check low gas txs are replaced when mempool is full
- Check expected txs are included in mempool in expected order by
CheckTx
. - Check expected txs are included in proposal in expected order by
PrepareProposal
.
-
TestNonceGappedTransactionsWithABCIMethodCalls
- Check nonce gap tx passes checkTx
- Check nonce gap txs pass checkTx
- Check pending count increases when nonce gap is filled
- Check txs from different accounts with nonce gaps pass checkTx
- Check expected txs are included in mempool in expected order by
CheckTx
. - Check expected txs are included in proposal in expected order by
PrepareProposal
.
zsystm
Metadata
Metadata
Assignees
Labels
No labels