I’ve been reviewing this further and it seems to all make sense to me. The changes around standardness regarding the unlocking byte code and token commitments seem very sensible and conservative, just like VM Limits they respect the existing worst case, and as noted in the CHIP it will be a separate project to investigate deeply the additional limits and incentives for data carrying.
But for P2S CHIP I’m feeling more confident.
Non-Impact on Data-Carrier Outputs (A.K.A. OP_RETURN Outputs)
This proposal carefully avoids impact to the costs and incentives of “on-chain data storage” use cases. Because the existing 220-byte content limit on OP_RETURN
Data Carrier Outputs was originally selected due to a miscalculation, there is insufficient consensus among stakeholders as to whether or not the limit should exist, and future proposals can separately increase or remove this limit, this proposal considers changes impacting the status quo to be out of scope.
Non-Reliance on Miscalculated 220-Byte Limit
The 220-byte limit was originally established to, “disincentivize the use of other methods to embed data into the chain” (commit cbf44109
). However, this rationale was based on earlier analysis which omitted more efficient strategies for recording arbitrary data in standard transactions. As such, this proposal avoids modifying or establishing any new limits based on the incorrect 220
byte constant; future proposals can separately address this topic.