Skip to content

Commit

Permalink
Merge pull request #527 from lambdaclass/fix-compiler-tester-bugs
Browse files Browse the repository at this point in the history
[EVM-Equivalence-YUL] Fix compiler tester bugs
  • Loading branch information
jrchatruc authored Jul 5, 2024
2 parents 45d2c6d + de9afeb commit e730132
Show file tree
Hide file tree
Showing 4 changed files with 1,295 additions and 936 deletions.
1 change: 1 addition & 0 deletions system-contracts/contracts/EvmInterpreter.template.yul
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ object "EVMInterpreter" {
if eq(isCallerEVM, 1) {
// Includes gas
returnOffset := sub(returnOffset, 32)
checkOverflow(returnLen, 32, evmGasLeft)
returnLen := add(returnLen, 32)

mstore(returnOffset, evmGasLeft)
Expand Down
Loading

0 comments on commit e730132

Please sign in to comment.