Skip to content

Conversation

@wjmelements
Copy link
Contributor

Reviewer @rvagg
I wrote these tests last week and I think they're worth committing.
They cover some edge cases such as the bytestring being longer than 32 bytes.
I was curious how the library behaves in this case because I wanted to ensure that integer encoding and decoding would be consistent on and off chain.

Changes

  • add some tests for BigEndian

@wjmelements wjmelements requested a review from rvagg November 5, 2025 21:13
@FilOzzy FilOzzy added this to FS Nov 5, 2025
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Nov 5, 2025
Copy link
Collaborator

@rvagg rvagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I even got a JS version of this working just to convince myself

@github-project-automation github-project-automation bot moved this from 📌 Triage to ✔️ Approved by reviewer in FS Nov 5, 2025
@wjmelements wjmelements merged commit 9284342 into main Nov 5, 2025
7 checks passed
@wjmelements wjmelements deleted the big-endian-tests branch November 5, 2025 21:38
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FS Nov 5, 2025
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.

3 participants