Skip to content

Conversation

@Bashmunta
Copy link

@Bashmunta Bashmunta commented Nov 10, 2025

Replace hardcoded "output must be 8 elements" with a dynamic error that reports the expected number of outputs (nbLimbs) and the actual length. This aligns with conventions across other hints, prevents misleading errors for U32 (4 outputs), and improves diagnostics.


Note

Replace hardcoded output count error in toBytes with a dynamic message reporting expected and actual counts.

Written by Cursor Bugbot for commit 45d26a8. This will update automatically on new commits. Configure here.

@ivokub ivokub changed the base branch from master to typo/fixes-v15 November 11, 2025 00:04
@ivokub
Copy link
Collaborator

ivokub commented Nov 11, 2025

Thanks for the contribution. It is a small change and will be merged to master branch through a separate branch to reduce CI usage.

@ivokub ivokub merged commit f2f9da2 into Consensys:typo/fixes-v15 Nov 11, 2025
3 checks passed
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.

2 participants