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

EVM implement CALL opcode #21

Merged
merged 16 commits into from
Apr 18, 2024
Merged

EVM implement CALL opcode #21

merged 16 commits into from
Apr 18, 2024

Conversation

fborello-lambda
Copy link

More rigourous checks are needed

What ❔

Implement CALL opcode.

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

More rigourous checks are needed
@jrchatruc jrchatruc marked this pull request as ready for review April 18, 2024 19:50
@jrchatruc jrchatruc merged commit 56fa2b2 into yul-system-2 Apr 18, 2024
17 of 18 checks passed
@jrchatruc jrchatruc deleted the evm-yul-call-opcode branch April 18, 2024 19:50
jrchatruc added a commit that referenced this pull request Apr 29, 2024
* feat(call-opcode): Implement CALL

More rigourous checks are needed

* fix(call-opcode): fix Merge

* feat(call-opcode): Add function _isEVM()

* feat(call-opcode): Add function _pushEVMFrame() and _popEVMFrame()

* feat(gas-related-function): Add gas related functions, needed for OP_CALL

* chore: indent properly

* feat(verbatims-functions): Add verbatims

* feat(call-related-functions): Add _saveReturnDataAfterZkEVMCall()

* feat(call-related-functions): Add _performCall() // Stack depth errors (WIP)

* Fix stack too deep error

* chore(remove dead code): Remove _performCall()

* chore(copy code): Copy code inside the two objects

* fix(call tests): Fix selector store inside _isEVM()

* fix(call tests): Fix constants and Add prints (WIP)

---------

Co-authored-by: Javier Chatruc <jrchatruc@gmail.com>
Co-authored-by: Manuel Bilbao <manuel.bilbao@lambdaclass.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants