zksecurity / noname

Noname: a programming language to write zkapps
https://zksecurity.github.io/noname/
178 stars 44 forks source link

Should return constant value instead of Backend::Var [add_constant] #74

Open katat opened 3 months ago

katat commented 3 months ago

Refactor the following backend interface:

https://github.com/zksecurity/noname/blob/63bc11d747bb786ef0c16940419075db42debf81/src/backends/mod.rs#L112-L117

mimoo commented 3 months ago

related to https://github.com/zksecurity/noname/issues/34