💡 Suggestion
Assert the exact oversized-script fallback (src/test/compress_tests.cpp:177, head)
This assertion verifies that the result is unspendable, but not that decoding replaced the previous contents with the intended short OP_RETURN script. IsUnspendable() also accepts scripts larger than MAX_SCRIPT_SIZE and scripts with OP_RETURN followed by retained contents. Assert equality with CScript{OP_RETURN} to cover the replacement behavior as well as unspendability.