Chia-Network / chia_rs

Rust crate & wheel with consensus code
Apache License 2.0
21 stars 26 forks source link

clean up test-block-generators to be more useful for future work #746

Closed arvidn closed 1 month ago

arvidn commented 1 month ago

This tool is useful when validating changes to run_block_generator() against all blocks on mainnet or testnet11. For example, validating that signature validation passes on all blocks.

The old flag test-backrefs no longer worked and was removed.

The assert args.validate && !args.mempool was incorrect and was removed.

The option --validate did not work past the hard fork height, which was fixed. It was also renamed to --original-generator.

A new option --hard-fork-height was added to support testnet databases.

coveralls-official[bot] commented 1 month ago

Pull Request Test Coverage Report for Build 11192375114

Details


Totals Coverage Status
Change from base Build 11165912337: 0.0%
Covered Lines: 12483
Relevant Lines: 14964

💛 - Coveralls