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

Remove sentinel for end of KORE terms in the proof hint format #1076

Merged
merged 1 commit into from
May 31, 2024

Conversation

theo25
Copy link
Collaborator

@theo25 theo25 commented May 31, 2024

This PR removes the sentinel at the end of a KORE terms as it would appear in the proof hint trace. We do not need this sentinel to properly parse the trace because the KORE term binary format includes length information.

The hints version has been bumped to 11 and the relevant tests have been updated.

@rv-jenkins rv-jenkins changed the base branch from master to develop May 31, 2024 18:19
Copy link
Collaborator

@dwightguth dwightguth left a comment

Choose a reason for hiding this comment

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

This code looks just fine for what it's doing, so I'm approving, but my understanding of the discussed proposed change was the plan to also remove the 0xFFFFFFFFFFFFFFFF word as well. Did that just get miscommunicated or did you try it and discover a reason why it wouldn't actually work to remove?

@dwightguth
Copy link
Collaborator

As Theo mentioned on slack, we are keeping the 0xFFFFFFFFFFFFFFFF sentinel because it is actually used by the parser to determine how parsing should proceed.

@rv-jenkins rv-jenkins merged commit a862158 into develop May 31, 2024
9 checks passed
@rv-jenkins rv-jenkins deleted the delimeter branch May 31, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants