mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 06:14:08 -05:00
script/research/zkvm-metering: fix merkle_root opcode zk proof, k = 11 can be used and this changes the proof size and verifying key size
This commit is contained in:
@@ -39,7 +39,7 @@ Once the `heaptrack` report is generated you can view it using `heaptrack_gui`.
|
||||
| # | Opcode | RAM Usage | Verifying Key Size | Proof Size |
|
||||
|----|-----------------------|-----------|--------------------|------------|
|
||||
| 0 | sparse_merkle_root | 17.1 MB | 1.2 MB | 7.7 kB |
|
||||
| 1 | merkle_root | 8.1 MB | 572.2 kB | 7.7 kB |
|
||||
| 1 | merkle_root | 2.4 MB | 145.6 kB | 7.6 kB |
|
||||
| 2 | posedion_hash | 2.4 MB | 145.6 kB | 7.6 kB |
|
||||
| 3 | base_add | 2.4 MB | 145.6 kB | 7.6 kB |
|
||||
| 4 | base_mul | 2.4 MB | 145.6 kB | 7.6 kB |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
k = 13;
|
||||
k = 11;
|
||||
field = "pallas";
|
||||
|
||||
constant "MerkleRoot" {
|
||||
|
||||
Reference in New Issue
Block a user