Skip to content

test(dgb): DB DGB-as-parent AuxPoW commitment binding KAT (#313 surface) [HOLD on #313]#314

Merged
frstrtr merged 2 commits into
masterfrom
dgb/aux-doge-db-commitment-bind
Jun 22, 2026
Merged

test(dgb): DB DGB-as-parent AuxPoW commitment binding KAT (#313 surface) [HOLD on #313]#314
frstrtr merged 2 commits into
masterfrom
dgb/aux-doge-db-commitment-bind

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Phase DB first slice — DGB+DOGE dual-parent (-DAUX_DOGE).

Instantiates the templated shared aux module (#313) with the DGB parent coinbase type: doge::coin::CAuxPow<dgb::coin::MutableTransaction>. Five KATs prove the DB binding (1) instantiates, (2) round-trips byte-stable at the CMerkleTx and full CAuxPow layers, and (3) is wire byte-identical to the ltc default for identical commitment content — the DGB analog of #313 named LTC acceptance gate.

Fenced / test-only: consumes the shared module, modifies nothing. Registered in test/CMakeLists.txt + both build.yml allowlists (no NOT_BUILT sentinel).

HOLD: built on the #313 branch (templated auxpow surface). Merge held until #313 lands in master so the binding is against the landed surface (per integrator UID-1851). Will rebase onto master after #313 lands.

Per-coin isolation: links ltc_coin only via the -DAUX_DOGE consumption path, same as the sibling dgb_aux_parent_coinbase_parity_test.

@frstrtr frstrtr force-pushed the dgb/aux-doge-db-commitment-bind branch 2 times, most recently from 54836e3 to fbfb52e Compare June 22, 2026 06:01
frstrtr added 2 commits June 22, 2026 08:34
Phase DB first slice. Instantiates the templated shared aux module (#313)
with the DGB parent coinbase type: doge::coin::CAuxPow<dgb::coin::Mutable-
Transaction>. Proves the DB binding (1) instantiates, (2) round-trips
byte-stable at the CMerkleTx and full CAuxPow layers, and (3) is wire
byte-identical to the ltc default for identical commitment content -- the
DGB analog of #313 named LTC acceptance gate. Fenced/test-only; consumes
the shared module, modifies nothing. Registered in test/CMakeLists.txt +
both build.yml allowlists. Built on the #313 branch; merge held until #313
lands in master so the binding is against the landed surface.
…e-DB binding

The #313 templated aux module resolves the parent coinbase witness-strip
TxParams from the PARENT type, defaulting to bitcoin_family TX_NO_WITNESS.
DGB declares its own dgb::coin::TxParams, so CAuxPow<dgb::coin::Mutable-
Transaction> failed to compile (bitcoin_family params cannot drive dgb
SerializeTransaction). Per the #313 trait doc -- "a parent with its OWN
TxParams specializes this in ITS OWN tree (never here)" -- add the DGB
specialization pointing at dgb::coin::TX_NO_WITNESS, in src/impl/dgb/ only.
Shared module unmodified; per-coin isolation held. DB KAT now 5/5: instantiates,
round-trips byte-stable, and is wire byte-identical to the ltc default.
@frstrtr frstrtr force-pushed the dgb/aux-doge-db-commitment-bind branch from fbfb52e to 3bb1216 Compare June 22, 2026 08:35
@frstrtr frstrtr marked this pull request as ready for review June 22, 2026 09:21
@frstrtr frstrtr merged commit b12d68b into master Jun 22, 2026
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant