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

ExpImm and ExpBitLength assembly serialization fix #555

Merged
merged 1 commit into from
Nov 23, 2022
Merged

ExpImm and ExpBitLength assembly serialization fix #555

merged 1 commit into from
Nov 23, 2022

Conversation

0xkanekiken
Copy link
Contributor

Describe your changes

This PR introduce a fix for #553.

The ExpImm and ExpBitLength instructions were not using their respective opcode during serialization, causing a few tests in #553 to fail. This PR rectifies this issue, and the correct opcode is assigned to both.

Checklist before requesting a review

  • Repo forked and branch created from next according to naming convention.
  • Commit messages and codestyle follow conventions.
  • Relevant issues are linked in the PR description.
  • Tests added for new functionality.
  • Documentation/comments updated according to changes.

    - The ExpImm and ExpBitLength instruction were not using their respective opcode
during serialisation and was causing a few tests to fail. This has been rectfied in this PR
and correct opcode have been assigned to both of them.

Signed-off-by: 0xKanekiken <100861945+0xKanekiKen@users.noreply.github.com>
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you!

@bobbinth bobbinth linked an issue Nov 23, 2022 that may be closed by this pull request
@0xkanekiken 0xkanekiken merged commit 5d2f0d3 into 0xPolygonMiden:next Nov 23, 2022
@0xkanekiken 0xkanekiken deleted the exp-serialisation-fix branch November 23, 2022 22:06
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.

Stdlibs test returning error when rebased to next
2 participants