Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(levm): correctly return outOfBounds in RETURNDATACOPY (#1515)
**Motivation** Fix the remaining tests from the folder `stMemoryTest` **Description** - The opcode `RETURNDATACOPY` should fail if trying to read outside of the size of returndatabounds even if size is 0. Added a check for this case. **Resources** - Comment in line 238 and 238 from [this test](https://github.com/ethereum/tests/blob/develop/src/GeneralStateTestsFiller/stMemoryTest/bufferSrcOffsetFiller.yml#L238-L239)
- Loading branch information