mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
proof: Add example for arithmetic operations.
This commit is contained in:
3
Makefile
3
Makefile
@@ -39,13 +39,14 @@ test: test-vm test-tx
|
||||
test-tx:
|
||||
$(CARGO) run --release --features=node,zkas --example tx
|
||||
|
||||
VM_SRC = proof/mint.zk proof/burn.zk
|
||||
VM_SRC = proof/arithmetic.zk proof/mint.zk proof/burn.zk
|
||||
VM_BIN = $(VM_SRC:=.bin)
|
||||
|
||||
$(VM_BIN): zkas $(VM_SRC)
|
||||
./zkas $(basename $@) -o $@
|
||||
|
||||
test-vm: $(VM_BIN)
|
||||
$(CARGO) run --release --features=cli,crypto,zkas --example arithmetic
|
||||
$(CARGO) run --release --features=cli,crypto,zkas --example mint
|
||||
$(CARGO) run --release --features=cli,crypto,zkas --example burn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user