stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3k stars 658 forks source link

Mutation Tests stackslib/src/chainstate/stacks/miner.rs > limited, max_value #4873

Open ASuciuX opened 3 weeks ago

ASuciuX commented 3 weeks ago

Related #4587

The mutation testing highlighted there might be missing unit tests for limited and max_value but there needs to be created a default for BlockBuilderSettings to check it.

The steps for making sure the limited and max_value function has its possible outcomes caught are: