Closed 0xBEEFCAF3 closed 2 months ago
Hi, is this open for contributions? If so, can I work on this?
Hello @0xBEEFCAF3 is this issue open for contribution? If yes, can I be assigned to it please
Hey @ShantelPeters! Thanks for showing interest. We've created an application for you to contribute to shinigami. Go check it out on OnlyDust!
I am applying for this issue via https://app.onlydust.com/p/shinigami
Please can I take this up ?
@adrianvrj would you still be interested in working on this? I'll assign you, but lmk if not.
We have been following the design of btcd pretty closely, so these links might help:
@b-j-roberts I will take care of this one, ty very much
How to reproduce: While developing the disabled opcodes feature I noticed that I can still use a disabled opcode if it is an IF block that is never executed. For example this script:
OP_0 OP_IF OP_MUL OP_ELSE OP_DROP OP_ENDIF
The same is probably true of unkown opcodes as well. However this is not emulating bitcoin mainnet consensus rules. The interperter in bitcoin core will first check for disabled or unknown opcodes and throw before executing the current opcode.
https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L456