Closed syakunin closed 4 years ago
Thanks for the detailed report. Will look into this soon, sorry for the delay!
Sorry for the time taken on this. I have just now upgraded the base btcdeb to the latest taproot code base, but tap is still on the list. Will get back to you once tap has been upgraded as well.
Firstly, the doc was moved as I had to remake the branch; now at https://github.com/kallewoof/btcdeb/blob/taproot-new/doc/tapscript-example-with-tap.md
Secondly, I am now able to go through this on my side without problems. Please try with the latest btcdeb version and taproot branch and see if it works now.
Just tried to go step-by-step through your Tapscript example using Tap. Installed/compiled and started with the following command:
Then received strange output, part of it corresponds to what to be expected:
Then the result differs from expected output:
Trying to follow low level (
btcdeb
) utility guide produced some output, yet this output was rejected by BTC node (compiled from taproot/Schnorr enabled branch). Here I believe that I could miss something when dealing withbtcdeb
, however I believetap
should work as expected and producegot witness stack of size 1
as in example. I added exception logging intoinstance.cpp
that produced line