🏛️ Hermes is a high-availability blockchain voting database that acts as a distributed storage and event processor for voting events, proposals, and actions.
The module already has some tests to multi_era_block.rs and snapshot_id.rs. But the rest of the module still doesn't have the test yet. So we need to create additional unit tests that don't interact with networking stuffs.
Related Issue(s)
Closes #305
Description of Changes
Added unit tests to non-environmental interactive tests data_index.rs, follow.rs, mithril_snapshot_config.rs, network.rs, and stats.rs.
Please confirm the following checks
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream module
Description
The module already has some tests to
multi_era_block.rs
andsnapshot_id.rs
. But the rest of the module still doesn't have the test yet. So we need to create additional unit tests that don't interact with networking stuffs.Related Issue(s)
Closes #305
Description of Changes
Added unit tests to non-environmental interactive tests
data_index.rs
,follow.rs
,mithril_snapshot_config.rs
,network.rs
, andstats.rs
.Please confirm the following checks