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 <[email protected]>
Co-authored-by: Manuel Bilbao <[email protected]>
  • Loading branch information
3 people authored Apr 18, 2024
1 parent 535961f commit 56fa2b2
Showing 1 changed file with 558 additions and 6 deletions.
Loading

0 comments on commit 56fa2b2

Please sign in to comment.