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

add test for NUM_SEQUENCE_INSTRUCTIONS #2539

Conversation

zhiqiangxu
Copy link
Contributor

@zhiqiangxu zhiqiangxu commented Sep 2, 2024

According to the comment:

/// Instruction count of the longest sequence.

The NUM_SEQUENCE_INSTRUCTIONS is assumed to be the instruction count of the longest sequence.

This PR adds a test case which ensures it's correct.

@raychu86
Copy link
Contributor

raychu86 commented Dec 5, 2024

@d0cd How relevant is this test? It seems quite innocent, but unsure if it tests any desirable properties.

d0cd

This comment was marked as outdated.

@d0cd
Copy link
Collaborator

d0cd commented Feb 3, 2025

Thanks for the contribution @zhiqiangxu!
We love to see people add more safety checks to snarkVM.
In this case, I believe this is already checked here

@vicsn
Copy link
Collaborator

vicsn commented Feb 17, 2025

Thank you for the contribution! Closing due to duplication with existing test.

@vicsn vicsn closed this Feb 17, 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.

4 participants