scroll-tech / ceno

Accelerate Zero-knowledge Virtual Machine by Non-uniform Prover Based on GKR Protocol
Apache License 2.0
66 stars 11 forks source link

Precompile architecture #693

Open naure opened 23 hours ago

naure commented 23 hours ago

Add the capability to support precompiles in the stack. Demonstrate with one precompile.

matthiasgoergens commented 22 hours ago

I suggest to demonstrate with a hash.

We will want to overhaul how the emulator handles ecalls. At the moment it seems to hardcode that every ecall gets to read a fixed number of registers? At least that's what the comments seem to imply.

lispc commented 4 hours ago

seems a big task. Better to add some estimate dates of important sub tasks. @naure