taikoxyz / raiko

Multi-proofs for Taiko. SNARKS, STARKS and Trusted Execution Enclave. Our previous ZK-EVM circuits are deprecated.
Apache License 2.0
96 stars 75 forks source link

feat(raiko): unity sgx & native proof response #223

Closed smtmfft closed 1 month ago

smtmfft commented 1 month ago

This PR is to unify the proof response. now sgx & native have same format. { data: { output: "guest output if necessary", proof: "0x1234", quote: "0x5678" } status: "ok" or "error" }

Should also merge r0 & sp1 fields in near future.

Maybe not good enough, I think @petarvujovic98 can give further impovements.