Commit Graph

51 Commits

Author SHA1 Message Date
mohab metwally
9c1b3ff750 merge conflict resolved 2022-11-29 18:03:58 +02:00
mohab metwally
d80d02ff04 [consensus] clip f value, pruned nonce_cm for lead coin, commented derived coins 2022-11-29 02:58:56 +02:00
mohab metwally
da64f6115b [consensus] reward for leaders 2022-11-27 17:34:03 +02:00
mohab metwally
015dd222e0 [consensus] validate public values sigmas 2022-11-26 19:50:15 +02:00
mohab metwally
6c27aae820 [consensus/state] verify eta/mu public values 2022-11-25 16:26:35 +02:00
mohab metwally
8167f81e95 [consensus/stx] verify stx 2022-11-21 14:09:29 +02:00
parazyd
1c2613f3f4 zk/vm: Allow strict and loose checks for less_than. 2022-11-21 10:20:04 +01:00
mohab metwally
856ebd9c4a added derived lead coin, and removed derived coin nonce from public inputs 2022-11-19 21:03:18 +02:00
mohab metwally
a41ef16c83 proof/tx.zk use nullifier_k in pedersen 2022-11-19 15:39:34 +02:00
mohab metwally
d117643e48 lead.zk, consnsus/leadcoin.rs fixed lead contract commitments, prefixes, pk, and changed vm lessthan to non strict 2022-11-19 15:28:57 +02:00
mohab metwally
106bd37525 adhoc minimal lead proof 2022-11-18 17:52:34 +02:00
mohab metwally
aa356a00bd fix typo in tx.zk 2022-11-18 17:18:31 +02:00
mohab metwally
08eb5936bb transfer transaction based off lead coin 2022-11-18 16:53:20 +02:00
mohab metwally
37cbd2e152 update public_inputs, and lead circuit 2022-11-18 12:27:17 +02:00
parazyd
a5fc5528de proof/opcodes.zk: Fix typo 2022-11-17 20:40:15 +01:00
mohab metwally
43f6521a2f proof/tx.zk fix witness, and constrains 2022-11-17 19:51:27 +02:00
mohab metwally
6771e023a7 fix lead.zk 2022-11-17 19:27:11 +02:00
mohab metwally
fa89bae1bf [proof] fix c3/c4 constrained commitments 2022-11-17 18:47:23 +02:00
mohab metwally
a12042678a use new constrain_equal sig 2022-11-17 18:34:32 +02:00
mohab metwally
c4e0748dc7 fix typo 2022-11-17 18:33:53 +02:00
parazyd
5176dc7df0 zkas: Add opcodes for equality constraints of Base and EcPoint. 2022-11-17 17:32:18 +01:00
mohab metwally
764fd812e5 proof/tx.zk, proof/lead.zk witness const pallas::Base in zkas 2022-11-17 18:30:39 +02:00
mohab metwally
ccfcc59e09 missing quote 2022-11-17 18:25:14 +02:00
mohab metwally
33d2aecf00 proof/tx.zk created 2022-11-17 18:22:50 +02:00
mohab metwally
b94c3e3413 lead circuit in zkas 2022-11-17 18:22:50 +02:00
Luther Blissett
976fc6ceaa proof/deploy_contract: Syntax fix. 2022-10-14 02:29:31 +02:00
Luther Blissett
4888b25830 drk/deploy: Add ZK proof for deployment, and some cleanups and roadmap. 2022-10-10 14:53:17 +02:00
Luther Blissett
3f29c4f36d zkas/vm: Add bool_check opcode. 2022-09-08 19:55:09 +02:00
Luther Blissett
a24d9db8e9 tests: Add test units to test all zkvm opcodes.
TODO: Test failures.
2022-08-29 22:41:23 +02:00
Luther Blissett
deaed0bdc8 Update zkas proofs merkle root opcode. 2022-08-29 22:41:23 +02:00
parazyd
8ef05a186b crypto: Rework pedersen commitments to allow also full-width base inside zk. 2022-08-08 15:01:11 +02:00
parazyd
6215fc7bd6 zk: Port code to latest Halo2 API.
greater_than and crypsinous lead proof are temporarily disabled.
2022-06-18 16:08:52 +02:00
parazyd
3447c87dd8 zkas, vm: Implement greater_than opcode for scalar comparison. 2022-03-28 19:59:36 +02:00
parazyd
e7d968dfd7 Clean up proof and testdata directories and move into tests dir. 2022-03-17 10:22:48 +01:00
parazyd
cc308da5e0 proof/dao: More WIP, use the VM instead of custom circuit. 2022-02-15 11:33:20 +01:00
parazyd
230ff6fcc6 zk: Add base_sub opcode to VM and arithmetic chip. 2022-02-14 17:36:10 +01:00
parazyd
b07bb4e2b0 proof: Add example for arithmetic operations. 2022-02-08 14:27:46 +01:00
parazyd
e00c8e0147 zkas: Separate constants into specific types. 2022-02-08 13:41:51 +01:00
parazyd
047ff319b6 proof: Fix examples for new halo2 API. 2022-02-08 01:23:53 +01:00
parazyd
fa5fec46dc proof: Add WIP DAO 2022-02-08 00:52:03 +01:00
parazyd
fdb11f1fad tests: Implement variable logging in zkas VM examples. 2022-01-31 09:31:45 +01:00
parazyd
c486f3ce44 book/zkas/sapling: Include only main Rust code parts. 2022-01-26 12:36:19 +01:00
parazyd
f8ab5ef5e3 Move mint and burn Rust examples into proof/ to complement zkas code. 2022-01-26 10:11:13 +01:00
parazyd
79c59cda17 Move "proofs" to "proof". 2022-01-25 23:41:16 +01:00
parazyd
f1985e7559 proof: Move pism scripts to old/ 2021-12-19 16:45:03 +01:00
narodnik
1c22269d3c add missing files 2021-10-30 22:12:33 +02:00
narodnik
78c325fc2c add merklepath zk type 2021-10-30 17:57:49 +02:00
narodnik
2f4c5b24ad merge patch for proof/mint.zk from halo2-burn branch 2021-10-30 13:46:01 +02:00
lunar-mining
5102102d95 renamed 'asset' to 'token' across project 2021-10-12 11:20:20 +02:00
lunar-mining
4727914b85 renamed asset_id to token_id across project 2021-10-12 11:09:59 +02:00