When spending a Taproot script-path output with SIGHASH_ANYPREVOUT (BIP118), I need to perceive what precisely is dedicated to relating to the script tree.
Particularly: if two UTXOs have the identical executed leaf (similar TapLeaf hash) however completely different TapTree buildings (completely different Merkle paths), will the identical APO signature validate towards each?
I constructed a multi-round Eltoo chain on Inquisition signet, and noticed that the APO signature can nonetheless be reused throughout rounds and efficiently spend the output. I additionally confirmed that the identical APO signature can spend two completely different UTXOs with similar scripts and quantities (tx1, tx2).
This implies that the signature commits to the TapLeaf hash, however not the total Merkle path — and I’d like to verify whether or not that is the right interpretation.
