Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Add tables documentation#93

Merged
han0110 merged 1 commit into
masterfrom
feature/tables-doc
Jan 18, 2022
Merged

Add tables documentation#93
han0110 merged 1 commit into
masterfrom
feature/tables-doc

Conversation

@ed255
Copy link
Copy Markdown
Contributor

@ed255 ed255 commented Jan 14, 2022

I've included the updates from #88 in the tables.

Copy link
Copy Markdown
Contributor

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

Comment thread specs/tables.md Outdated
@ed255 ed255 force-pushed the feature/tables-doc branch from f7058dd to 9ad68e5 Compare January 14, 2022 16:56
Copy link
Copy Markdown
Contributor

@han0110 han0110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for documenting all of these!

Comment thread specs/tables.md
| Time | 0 | $value |
| Difficulty | 0 | $value |
| BaseFee | 0 | $value |
| BlockHash | 0..256 | $value |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently implemented as the actual block number. For example, if current block has number 300, then the number here will be 44..300, like:

https://github.com/appliedzkp/zkevm-specs/blob/ffcc9295442bccd7bf23646ee9eb2565aef9ff82/src/zkevm_specs/evm/typing.py#L60-L63

But after more thought on this, I think we should keep it simpler for verifier to have as 0..256, since the constraints of BLOCKHASH would be almost same (differs on whether to subtract block.number or not).

Will try to update it in further PRs.

@han0110 han0110 merged commit 6171ff3 into master Jan 18, 2022
@CPerezz CPerezz deleted the feature/tables-doc branch January 18, 2022 13:30
ed255 added a commit that referenced this pull request Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants