Can we use different TasmObject::MAX_OFFSET values for different structs?
Cf 9109911 and cb5d463, we added a bounds-check on the field sizes. We set the max size very high since some witnesses can contain many (up to 1000?) proofs.
If this MAX_OFFSET value could be defined for each struct, it would limit the number of shenanigans, you could do.
Can we use different
TasmObject::MAX_OFFSETvalues for different structs?Cf 9109911 and cb5d463, we added a bounds-check on the field sizes. We set the max size very high since some witnesses can contain many (up to 1000?) proofs.
If this
MAX_OFFSETvalue could be defined for each struct, it would limit the number of shenanigans, you could do.