Skip to content

fix(boc): correct offsetBytes computation; add regression tests#150

Open
a08778 wants to merge 1 commit into
continuation-team:mainfrom
a08778:main
Open

fix(boc): correct offsetBytes computation; add regression tests#150
a08778 wants to merge 1 commit into
continuation-team:mainfrom
a08778:main

Conversation

@a08778

@a08778 a08778 commented Dec 31, 2025

Copy link
Copy Markdown

offsetBytes is now derived from the total data size in bytes, preventing incorrect header encoding for certain payload sizes. Added unit tests covering BoC serialize/deserialize using a known-good hex from @ton/core.

offsetBytes is now derived from the total data size in bytes, preventing incorrect header encoding for certain payload sizes. Added unit tests covering BoC serialize/deserialize using a known-good hex from @ton/core.

@ksiwamethakuy-a11y ksiwamethakuy-a11y left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@ksiwamethakuy-a11y

Copy link
Copy Markdown

Start each new day with happiness and brightness.

1 similar comment
@ksiwamethakuy-a11y

Copy link
Copy Markdown

Start each new day with happiness and brightness.

@a08778

a08778 commented Jan 17, 2026

Copy link
Copy Markdown
Author

Thanks a lot 🙂

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