Skip to content

spec: add muxed_decode vectors for edge ids and invalid case - #40

Merged
codeZe-us merged 1 commit into
Boxkit-Labs:mainfrom
Obiajulu-gif:muxed_decode
Feb 24, 2026
Merged

spec: add muxed_decode vectors for edge ids and invalid case#40
codeZe-us merged 1 commit into
Boxkit-Labs:mainfrom
Obiajulu-gif:muxed_decode

Conversation

@Obiajulu-gif

Copy link
Copy Markdown
Contributor

This pull request expands the test coverage in spec/vectors.json by adding new test cases for muxed address decoding, especially covering edge cases and boundary values, and improves the formatting for readability. The most significant changes are grouped below:

New muxed address decode test cases

  • Added test cases for decoding muxed addresses with boundary and edge values, including id=0, id=1, id=2^53, id=2^53+1, and id=2^64-1, to verify correct handling of precision and maximum values.
  • Added a negative test case to ensure decoding fails with an invalid muxed address, verifying error handling.

Improved formatting for test vectors

@codeZe-us
codeZe-us self-requested a review February 24, 2026 16:41
@codeZe-us
codeZe-us merged commit 839be29 into Boxkit-Labs:main Feb 24, 2026
2 of 4 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.

Add muxed_decode vectors to spec/vectors.json

2 participants