Skip to content

mempool: Use valid tx fees in test harness.#2962

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:mempool_use_valid_fees_in_test_harness
Jun 28, 2022
Merged

mempool: Use valid tx fees in test harness.#2962
davecgh merged 1 commit intodecred:masterfrom
davecgh:mempool_use_valid_fees_in_test_harness

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Jun 21, 2022

This modifies the test harness to create transactions that use valid fees instead of zero fees and cleans up a couple of minor things in the process.

Of particular note is TestMaybeAcceptTransactions which was reworked to use the existing transaction chain generation func and calculate the expected ancestor fees from the transactions instead of manually overriding.

@davecgh davecgh added this to the 1.8.0 milestone Jun 21, 2022
@davecgh davecgh added the test coverage Discussion and pull requests for improving test coverage. label Jun 23, 2022
This modifies the test harness to create transactions that use valid
fees instead of zero fees and cleans up a couple of minor things in the
process.

Of particular note is TestMaybeAcceptTransactions which was reworked to
use the existing transaction chain generation func and calculate the
expected ancestor fees from the transactions instead of manually
overriding.
@davecgh davecgh force-pushed the mempool_use_valid_fees_in_test_harness branch from 079098e to db05fd9 Compare June 28, 2022 21:09
@davecgh davecgh merged commit db05fd9 into decred:master Jun 28, 2022
@davecgh davecgh deleted the mempool_use_valid_fees_in_test_harness branch June 28, 2022 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test coverage Discussion and pull requests for improving test coverage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants