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

Update risc0 prover to use k256 and keccak acceleration #450

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

austinabell
Copy link
Contributor

Haven't extensively benchmarked against a lot of blocks, but shaves off most cycles in the ones I have.

A subtle change that might be missed is that I switched the keccak impl in this repo to use alloy-primitives (which internally is k256) from sha3 to optimize for our use case. It is the only change that might have some impact on other provers, but also didn't make sense to me why three different implementations of secp256k1 were being used. Happy to revert that or put it behind a feature flag/cfg that's only used in our prover impl if preferred.

Pointing at this PR of reth to enable k256 taikoxyz/taiko-reth#62

@dantaik dantaik requested a review from smtmfft January 14, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant