Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce serde_generic_array #1434

Merged
merged 9 commits into from
Mar 4, 2022
Merged

introduce serde_generic_array #1434

merged 9 commits into from
Mar 4, 2022

Conversation

clearloop
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • rename serde_byte_array
  • introduce serde_generic_array
  • add macro check_generic_array_length!

Closes #1334

Other information and links

@q9f
Copy link
Contributor

q9f commented Feb 17, 2022

Hey Tianyi, is this ready for review?

@clearloop clearloop marked this pull request as ready for review February 17, 2022 12:39
@clearloop
Copy link
Contributor Author

Hey Tianyi, is this ready for review?

yeah, I'm thinking of should I provide some more tests for BlockHeader

@q9f
Copy link
Contributor

q9f commented Feb 17, 2022

Hey Tianyi, is this ready for review?

yeah, I'm thinking of should I provide some more tests for BlockHeader

Yes, I would appreciate that 🙏🏼

encoding/src/serde_byte_array.rs Outdated Show resolved Hide resolved
encoding/src/serde_byte_array.rs Outdated Show resolved Hide resolved
encoding/src/serde_byte_array.rs Outdated Show resolved Hide resolved
@lemmih lemmih merged commit 1062469 into ChainSafe:main Mar 4, 2022
lemmih added a commit that referenced this pull request Mar 4, 2022
@clearloop clearloop deleted the cl/serde-generic branch March 4, 2022 12:58
lemmih added a commit that referenced this pull request Mar 4, 2022
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.

C6: []T serde missing max length checks for arrays of items
5 participants