Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
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
  • 11 fixed

11 fixed · Changes

Page history
feat: modify docs --story=1 authored Aug 07, 2024 by gzxu's avatar gzxu
Show whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • zkevm-docs/11-fixed.markdown zkevm-docs/11-fixed.markdown +2 -2
  • No files found.
zkevm-docs/11-fixed.markdown
View page @ 7837c431
...@@ -12,7 +12,7 @@ Fixed circuit是在电路初始化阶段预先向fixed_table填入一些cell数 ...@@ -12,7 +12,7 @@ Fixed circuit是在电路初始化阶段预先向fixed_table填入一些cell数
在 Fixed Circuit 中,`Row` 结构用于定义在 `fixed_table` 中填入的每一行数据,包含以下字段: 在 Fixed Circuit 中,`Row` 结构用于定义在 `fixed_table` 中填入的每一行数据,包含以下字段:
```Rust ```rust
pub struct Row { pub struct Row {
pub tag: Tag, pub tag: Tag,
pub value_0: Option<U256>, pub value_0: Option<U256>,
...@@ -90,7 +90,7 @@ pub enum Tag { ...@@ -90,7 +90,7 @@ pub enum Tag {
State Circuit 记录了栈上和内存操作的动态,当约束栈上元素时需要校验元素指向栈的指针。因为 EVM 中栈上的元素最多可以有 1024 个,指向栈的索引范围必须在 u10;EVM 的内存状态中操作是以 byte 为单位的,因此约束内存元素时所指向的值在 u8 范围。 State Circuit 记录了栈上和内存操作的动态,当约束栈上元素时需要校验元素指向栈的指针。因为 EVM 中栈上的元素最多可以有 1024 个,指向栈的索引范围必须在 u10;EVM 的内存状态中操作是以 byte 为单位的,因此约束内存元素时所指向的值在 u8 范围。
```Rust ```rust
fn new( meta: &mut ConstraintSystem<F>, fn new( meta: &mut ConstraintSystem<F>,
Self::ConfigArgs { Self::ConfigArgs {
q_enable, state_table, fixed_table, q_enable, state_table, fixed_table,
......
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号