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

feat: implement the test suite for 0x50 - POP opcode #282

Closed
wants to merge 3 commits into from

Conversation

Quentash
Copy link
Contributor

@Quentash Quentash commented Sep 5, 2023

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves: #263

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

@github-actions
Copy link

github-actions bot commented Sep 5, 2023

Snapshot Comparison Report:

No changes in gas consumption.

ctx.stack.push(0x02);

// When
ctx.exec_pop();
Copy link
Contributor

Choose a reason for hiding this comment

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

here you could store the result in a variable and verify that result.is_ok()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.
Now verifying if execution is ok.

@enitrat
Copy link
Contributor

enitrat commented Sep 6, 2023

Ah, I merged the POP one before, let's close this one then given that you already brought the changes here to the other branch

@enitrat enitrat closed this Sep 6, 2023
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.

feat: implement the test suite for 0x50 - POP opcode
2 participants