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

fmspc and pceid should compare as bytes instead of strings #3

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

preston4896
Copy link
Collaborator

The FMSPC and PCEID values in TCBInfo.json are stored as strings. This can be an issue if the provided TCBInfo contain hexstrings with uppercase characters, e.g. FMSPC value == 00606A000000 instead of 00606a000000.

Assertion on these values should not be case-sensitive, hence I think the better approach is to compare them as bytes rather than hexstrings.

@melynx melynx merged commit eab2dd2 into automata-network:main Jul 8, 2024
@preston4896 preston4896 deleted the preston branch July 8, 2024 08:26
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