we are not talking about segwit
we are talking about the particular opcode specific to the taproot subclass of opcodes that allowed the meme bloat
remember taproots promise "one signature length"
It is not a particular OP code that allows this, it is the fact that
standard rules weren't written to place a limit on the Taproot script witness size to prevent this type of attack otherwise the junk is being pushed to the stack using a simple Pushdata OP.
As for one signature that you keep repeating, you are confusing Schnorr and the changes it applied to multi-sig with Taproot.
taproot has opened up a whole new set of new underclass opcodes.
some do require specific stuff or will fail.. some dont
the ones that dont have any expections assigned to them should be tightened and refined to expect what is expected
EG the opcode these ordinal spam are using should be made to expect some kind of signature script or byte length
usually people cry if i was to explain every single opcode of every feature of every generation of subclass just to then only need to explain one instance/usecase..
so i usually dumb things down to only speak of one instance
but you want the lengthy one (i expect cry babies responding)
pre segwit there were 16 opcodes and only 1 with a no expectations. where others did have expectations. but in the years prior the 'no expectation limit' opcode was not really used for multiple reasons... (anyonecanspend)
when segwit activated by using that unused opcode.. it came with its own subclass of opcodes where again most were set to limits but left one limitless/expectationless. but no one really used it for multiple reasons
and now taproot by using that unused sub opcode. SHOULD HAVE come with limitations/expectations for majority of taproot opcodes and where one opcode to be used for next generation tx formats goes UNUSED/deactivated until the next consensus activation of a new feature
.....
as for the one sig length promo
the devs PROMOTING taproot were the ones PROMOTING one sig length
not me
yes i agree. the one siglength is not a taproot thing.. AS PROVEN BY THE LACK OF SUCH FRIGGEN rule
blame them for mis promoting because they were the ones saying it was all part of taproot
where by they were even saying crap like
"no one will be able to tell if its taproot or normal segwit"
a lie because segwit is BC1Q and taproot is BC1P
you can spot a taproot without even trying
many lies were said to promote taproot and look where its ended up
i usually learn everything there is to learn and then on the forum dumb things down to ELI-5 for readers of the forum
but if you want a slightly more techno buzzword filled explanation:
taproot has its own class of opcodes
it has its own version of checkmultisig which in taproot is called checksigadd
you cant use a old class opcode checkmultisig in tapscript and cant use a tapscript opcode in legacy
ordinal spam is not put into a checksigadd opcode of taproot because that opcode expects signatures. not random bloat.
ordinal spam uses another opcode called opsuccess
there is more then one and these should not be used/active unless a new feature is activated where expected functions are ruled into that opcode by activation
the softening of consensus has allowed an exploit to allow utility of opcodes with no expected rule
tightening consensus again can plug the hole