ora-io / zkgraph

Template for zkGraph.

Home Page:https://docs.hyperoracle.io/zkgraph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Signature needs to match

fewwwww opened this issue · comments

// zkwasm.ts

@external("env", "require")
export declare function require(x: i32): i64

This will have require compiled in build/main.js, but this cannot be set up in zkWASM. The return type must be void to match function signature.