Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOB] DEV-3787/3788: ID-8 and ID-10 #23

Draft
wants to merge 3 commits into
base: development
Choose a base branch
from
Draft

Conversation

preston4896
Copy link
Collaborator

@preston4896 preston4896 commented Feb 11, 2025

In this PR,

The endianness of TEE type shouldn't matter and is declared with a bytes4 type, therefore eliminating the need for leToBeUint() conversion.

Any raw bytes that are being parsed, which requires the reversal of bytes must be declared as uint* types.

TL;DR:

  • bytes* type if we don't care about endianness
  • uint* type if we want to convert values to BE.

@preston4896 preston4896 changed the title DEV-3787/3788: ID-8 and ID-10 [TOB] DEV-3787/3788: ID-8 and ID-10 Feb 13, 2025
@preston4896 preston4896 changed the base branch from main to development February 14, 2025 03:21
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.

1 participant