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

Fix buffer offset src EVM test #101

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

Stefan-Ethernal
Copy link

Description

This PR just fixes linter fix, see #84 for more details.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

Please complete this section if you ran manual tests for this functionality, otherwise delete it

Documentation update

Please link the documentation update PR in this section if it's present, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

* Resolving an issue that caused GeneralStateTests/stMemoryTest/bufferSrcOffset.json to fail.

ReturnDataCopy did not treat as error when return address did not have enough space to receive the data, eventually not initiating rollback in a test.

* Update state/runtime/evm/instructions.go

Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com>

* Update state/runtime/evm/instructions_test.go

Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com>

* Fixing typo detected by linter.

---------

Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com>
@Stefan-Ethernal Stefan-Ethernal changed the title Fix buffer offset src Fix buffer offset src EVM test Feb 2, 2024
@Stefan-Ethernal Stefan-Ethernal force-pushed the fix/bufferSrcOffset-evm-test branch from d2da81d to 0ac610d Compare February 2, 2024 10:11
@Stefan-Ethernal Stefan-Ethernal merged commit e8d4e3d into develop Feb 2, 2024
5 of 7 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the fix/bufferSrcOffset-evm-test branch February 2, 2024 12:12
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.

3 participants