Skip to content

Combine type serialization properties into one export  #3756

@critesjosh

Description

@critesjosh

Consider adding SERIALIZED_LEN to the TypeSerializationInterface to make the imports in contracts less verbose.

For example,

global FIELD_SERIALIZED_LEN: Field = 1;

could be added to

global FieldSerializationMethods = TypeSerializationInterface {
    deserialize: deserializeField,
    serialize: serializeField,
};

@Maddiaa0 correct me if I'm wrong, but this was my takeaway from the call.

Metadata

Metadata

Assignees

Labels

A-internal-devexArea: Relates to the devex of internal teams building Aztec.T-feedbackType: recording user feedback

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions