-
Notifications
You must be signed in to change notification settings - Fork 89
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
Tracking Sp1 cycles optimization and benchmarks #280
Comments
rust-kzg compiled with modification in this crate:
performance not looking great
|
compiled scep256k1 to replace k256
performance
recovering takes less than a million which is good :) |
A whole block at #229
|
ZkOP test at #333
sha256
BN254 Add
BN254 Mul
the whole block
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ongoing effort of optimizing sp1 cycles:
https://github.com/CeciliaZ030/block-cycles/tree/master
Latest results
Before Txs
Typical Transfer:
https://etherscan.io/tx/0x61d554e035af9bcf615818c14c725c7d0b424b806e9c7b2220380b5cf7a51b5b
Swap Router
https://etherscan.io/tx/0x85522ad7366e195340be6c97a036d2660e0c8b87794fc7e80176ebfa37ba63b9
Bridge Approval
https://etherscan.io/tx/0x0cc57a28fb31e03a2d12b07ada3efe5bfe91aaf7dc4b4f7ffa15e51c386a7428
Dependency Changes
Unconstraint the
recover_address_from_prehash
results in 218,247 cyclesAdded ZkOp, see #85
Modifications for Cycle Tracking
Some code need to be modified for printing cycles: https://succinctlabs.github.io/sp1/writing-programs/cycle-tracking.html?highlight=cycle#tracking-cycles
In raiko, need to change alloy related crates:
Also in raiko, swap revm as well:
Spam policy
The text was updated successfully, but these errors were encountered: