Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
zkevm-circuits
zkevm-circuits
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • zkp
  • zkevm-circuitszkevm-circuits
  • Wiki
    • Zkevm docs
    • 4 core
  • core call

core call · Changes

Page history
feat: modify docs --story=1 authored Aug 07, 2024 by gz Xu's avatar gz Xu
Hide whitespace changes
Inline Side-by-side
Showing with 17 additions and 16 deletions
+17 -16
  • zkevm-docs/4-core/core-call.markdown zkevm-docs/4-core/core-call.markdown +17 -16
  • No files found.
zkevm-docs/4-core/core-call.markdown
View page @ 66f9a8e9
# CALL指令
## CALL
## 详细设计
### 概述
......@@ -25,21 +26,21 @@ CALL指令结束写入的操作数: |success|
下列表格展示了CALL指令不同阶段使用到的gadget,以及gadget的执行顺序。
执行阶段|gadget名称|执行顺序
-----|-----|-----
CALL指令调用前|CALL_1|1
CALL指令调用前|CALL_2|2
CALL指令调用前|CALL_3|3
CALL指令调用前|CALL_4|4
CALL指令调用前|CALL_5|5
CALL指令调用前|CALL_6|6
CALL指令调用前|CALL_7|7
CALL指令调用中|被调用合约OPCODE的gadget(如:ADD,PUSH,CODESIZE)|8
同上|...|9
CALL指令调用结束|STOP/RETURN/REVERT|20
CALL指令调用结束后|END_CALL|21
CALL指令调用结束后|POST_CALL_1|22
CALL指令调用结束后|POST_CALL_2|23
| 执行阶段 | gadget名称 | 执行顺序 |
| ------------------ | --------------------------------------------------- | -------- |
| CALL指令调用前 | CALL_1 | 1 |
| CALL指令调用前 | CALL_2 | 2 |
| CALL指令调用前 | CALL_3 | 3 |
| CALL指令调用前 | CALL_4 | 4 |
| CALL指令调用前 | CALL_5 | 5 |
| CALL指令调用前 | CALL_6 | 6 |
| CALL指令调用前 | CALL_7 | 7 |
| CALL指令调用中 | 被调用合约OPCODE的gadget(如:ADD,PUSH,CODESIZE) | 8 |
| 同上 | ... | 9 |
| CALL指令调用结束 | STOP/RETURN/REVERT | 20 |
| CALL指令调用结束后 | END_CALL | 21 |
| CALL指令调用结束后 | POST_CALL_1 | 22 |
| CALL指令调用结束后 | POST_CALL_2 | 23 |
### 各gadget的电路布局以及负责的功能
......
Clone repository
  • basics
    • evm
    • halo2
  • code notes
    • binary_number_with_real_selector
    • how to use macro
    • simple_lt
    • simple_lt_word
  • Home
  • image
  • zkevm docs
    • 1 introduction
    • 10 public
    • 11 fixed
    • 12 exp
    • 13 keccak
    • 14 comparisons
    • 15 differences
View All Pages

Copyright © 2024 ChainWeaver Org. All Rights Reserved. 版权所有。

京ICP备2023035722号-3

京公网安备 11010802044225号