Skip to content

Commit

Permalink
EVM implement CALL opcode (#21)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Apr 29, 2024
1 parent 35f3150 commit 9dda906
Showing 1 changed file with 558 additions and 6 deletions.
Loading

0 comments on commit 9dda906

Please sign in to comment.