Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(libzkp): upgrade to v0.10.5, speed up by avoiding some unnecessary code hashing #746

Merged
merged 2 commits into from
May 11, 2024

Conversation

lispc
Copy link

@lispc lispc commented May 11, 2024

Since code_size is stored inside the Account struct, we can use it instead of reading full bytecode.

CCC avg time(rust only) of recent blocks:

before this: deserialize_elapsed: 144.32ms, total_elapsed: 599.72ms
after this: deserialize_elapsed: 143.04ms, total_elapsed: 357.58ms

original commit: scroll-tech/zkevm-circuits@30ed394

@lispc lispc changed the title chore(libzkp): upgrade to v0.10.5, speedup by avoid some code hashing chore(libzkp): upgrade to v0.10.5, speed up by avoiding some unnecessary code hashing May 11, 2024
@Thegaram Thegaram merged commit abca104 into develop May 11, 2024
@Thegaram Thegaram deleted the chore-libzkp-v0.10.5 branch May 11, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants