handshake-org / hsd

Handshake Daemon & Full Node
Other
1.93k stars 280 forks source link

Wallet: add tests for the chain state and fix markState #870

Closed nodech closed 11 months ago

nodech commented 1 year ago

This is part of review for this: https://github.com/handshake-org/hsd/issues/622

Only adds test cases to the codebase related to chain state. Does not fix/change anything.

Covers discovered bug which is currently skipped. There's bug related to corruption but it's currently skipped as it's not solved.

More discussion on the issue.

coveralls commented 1 year ago

Coverage Status

coverage: 68.585% (-0.01%) from 68.596% when pulling 2601f3cee80fe87c30d97bfc8e419848bdc4c733 on nodech:wallet-test-chainstate into 644682803e9f34f0a19a7f3d1db9d857639ac182 on handshake-org:master.

nodech commented 1 year ago

From latest commit comment - fixes two issues: