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

Offload ECDSA verification to a new coprocessor #241

Open
Nashtare opened this issue May 21, 2024 · 0 comments
Open

Offload ECDSA verification to a new coprocessor #241

Nashtare opened this issue May 21, 2024 · 0 comments
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. performance Performance improvement related changes

Comments

@Nashtare
Copy link
Collaborator

Once #227 and #172 are implemented, the TrieData segment overhead on memory should be light enough that we can process large transaction batches at once (possibly up to an entire block).

Given that each transaction requires a signature verification, which currently accounts for more than 26k CPU cycles, this could represent significant savings. Current L1 blocks orbit around 80 and 280 txns, which could correspond to 2M+ / 7M+ CPU cycles for a whole block.
For additional perspective, native asset transfers take around 32.5k CPU cycles for actual txn processing, and ERC20 token transfers around 51k, for which ECRECOVER represents 81% and 52% of the overall CPU overhead respectively.

@Nashtare Nashtare added the performance Performance improvement related changes label May 21, 2024
@Nashtare Nashtare added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Jun 4, 2024
@Nashtare Nashtare added this to the zk-continuations - Q2 2024 milestone Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. performance Performance improvement related changes
Projects
Status: Backlog
Development

No branches or pull requests

1 participant