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

ChunkSize as Constant and some checks #96

Merged
merged 6 commits into from
Jun 10, 2024

Conversation

fmiguelgarcia
Copy link
Collaborator

@fmiguelgarcia fmiguelgarcia commented Jun 4, 2024

ChunkSize is now a constant and its constraints are now checked in compilation time.

NOTE: Static assertions of constant generics are not supported by static_assertions, so I've defined them inside avail-core::const_generics. I've also added compilation tests to double-check the expected behaviour of those static assertions.

@fmiguelgarcia fmiguelgarcia self-assigned this Jun 4, 2024
@fmiguelgarcia fmiguelgarcia reopened this Jun 5, 2024
@fmiguelgarcia fmiguelgarcia added the enhancement New feature or request label Jun 5, 2024
@fmiguelgarcia fmiguelgarcia merged commit 95c7908 into main Jun 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants