]> Untitled Git - bdk/commit
test(chain): add `test_list_ordered_canonical_txs`
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Fri, 12 Sep 2025 04:39:49 +0000 (14:39 +1000)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Sat, 22 Nov 2025 04:39:23 +0000 (01:39 -0300)
commitf34117b7843f1d85a041d58601fbc7bed7695a86
tree27ca50d8f94ebc81c15b608060b324d62cee0c81
parenta201be0b9fdb1811f83f95b305cffb9cd4d584d7
test(chain): add `test_list_ordered_canonical_txs`

- Add a new `test_list_ordered_canonical_txs`, to assert the topological
  spending order when yielding the list of canonical txs, it also adds a
  new helper `Scenario` structure, and `is_txs_in_topological_order`.
crates/chain/tests/test_tx_graph.rs