Skip to content

feat(js): add exact u32 conversion - #71

Merged
spiral-ladder merged 1 commit into
mainfrom
bing/to-u32-exact
Aug 4, 2026
Merged

feat(js): add exact u32 conversion#71
spiral-ladder merged 1 commit into
mainfrom
bing/to-u32-exact

Conversation

@spiral-ladder

Copy link
Copy Markdown
Member

In a few places in the new pubkey cache in lodestar-z/bls, we use toU32() but that does not guarantee that the converted number is indeed a valid u32. We add this as an alternative to toU32() for additional safety

@spiral-ladder
spiral-ladder merged commit d6b21e1 into main Aug 4, 2026
5 checks passed
@spiral-ladder
spiral-ladder deleted the bing/to-u32-exact branch August 4, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants