]> Untitled Git - bdk/commit
fix(chain): position resolution for assumed txs
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Mon, 16 Mar 2026 23:01:22 +0000 (20:01 -0300)
committer志宇 <hello@evanlinjin.me>
Sat, 13 Jun 2026 20:24:43 +0000 (20:24 +0000)
commit555f774169ea934dbb2934f2fbe6763908e86670
treebd3c4fe703b61015b1f69c9a01819b85a4b86a6f
parent4f10cdef4d55139ee7f608d9cf90ff8d9c0b3037
fix(chain): position resolution for assumed txs

- add new `test_canonical_view_task.rs` to handle different scenarios
  of chain position resolution.
- fixes the assumed canonical txs chain position resolution, especially for transitively
  assumed canonical transactions, where there's an anchored/confirmed descendant.
crates/chain/src/canonical_view_task.rs
crates/chain/tests/test_canonical_view_task.rs [new file with mode: 0644]