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

revise log id for look up#214

Merged
ed255 merged 1 commit into
privacy-ethereum:masterfrom
scroll-tech:revise_logid_lookup
Jun 2, 2022
Merged

revise log id for look up#214
ed255 merged 1 commit into
privacy-ethereum:masterfrom
scroll-tech:revise_logid_lookup

Conversation

@DreamWuGit
Copy link
Copy Markdown
Collaborator

@DreamWuGit DreamWuGit commented Jun 2, 2022

two minor changes:

  1. use next step log_id ( current step 's log_id + 1) to look up logs fields.
    the reason is only in next copy step, log_id plus 1, while current step log_id is zero, however, for the semantic matter, they are belong to the same real step of evm/geth, so both use next step log_id is reasonable for lookup, which also matched pre defined zero log id meaning no log data executed.
  2. add log static gas , which is done in circuit side fix log gas by adding static cost zkevm-circuits#507

@DreamWuGit
Copy link
Copy Markdown
Collaborator Author

@ed255 could you pls. have a look ? thx !

Copy link
Copy Markdown
Contributor

@ed255 ed255 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 the update!

@ed255 ed255 merged commit de0ea4a into privacy-ethereum:master Jun 2, 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.

2 participants