athenavm / athena

Athena monorepo
https://www.athenavm.org/
Apache License 2.0
21 stars 2 forks source link

Add ed25519 precompile #179

Closed lrettig closed 3 weeks ago

lrettig commented 4 weeks ago

A single verify() call consumes > 10M cycles and takes ~20 seconds on my PC. It looks like we may need to start adding precompiles sooner rather than later, or the testnet is going to be very slow.

We can probably take this directly from sp1: https://github.com/succinctlabs/sp1/tree/dev/crates/core/executor/src/syscalls/precompiles/edwards