Calling `FromScript` with a script with 2000 consecutive `OP_CHECKSIGVERIFY` opcodes causes execution to halt due to running out of stack space. The root cause is the unbounded recursion in `Decode`, `DecodeMulti`, `DecodeSingle` and `DecodeWrapped`.
Calling
FromScriptwith a script with 2000 consecutiveOP_CHECKSIGVERIFYopcodes causes execution to halt due to running out of stack space.The root cause is the unbounded recursion in
Decode,DecodeMulti,DecodeSingleandDecodeWrapped.