Skip to content

Canonical Messagepack: add missing constraints#100

Closed
iansuvak wants to merge 1 commit intoalgorandfoundation:masterfrom
iansuvak:msgp_spec
Closed

Canonical Messagepack: add missing constraints#100
iansuvak wants to merge 1 commit intoalgorandfoundation:masterfrom
iansuvak:msgp_spec

Conversation

@iansuvak
Copy link
Copy Markdown

@iansuvak iansuvak commented Sep 6, 2023

While developing msgp codegen that would verify message canonicity at unmarshal time I noticed that the spec isn't fully specified. This adds the missing rules.

I've expanded rule 4 to not make it specific to integers but catch all variable length fields but we could break it out further if preferred.

@iansuvak iansuvak closed this Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant