Skip to content

Different TasmObject::MAX_OFFSET values for different structs? #128

@Sword-Smith

Description

@Sword-Smith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions