<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blocksense/zkVMs-benchmarks/zkvms/zkm/default.nix, branch main</title>
<subtitle>Setups and programs for zero-knowledge virtual machine benchmarking</subtitle>
<id>https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/atom?h=main</id>
<link rel='self' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/'/>
<updated>2025-04-04T08:03:00Z</updated>
<entry>
<title>fix(zkvms/zkm): Update SDK and remove hack</title>
<updated>2025-04-04T08:03:00Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-04-04T07:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=7498d604be92a0b1a7a5603e0295f194aa8b05e7'/>
<id>urn:sha1:7498d604be92a0b1a7a5603e0295f194aa8b05e7</id>
<content type='text'>
Recently ZKM introduced a bug, where SNARK_SETUP would crash, but the
witness would be generated. So we introduced a hack where we would run
SNARK_SETUP, ignore the crash and rerun the program again, without
SNARK_SETUP.

Now they fixed it, so with SNARK_SETUP, the witnesses would be generated
and the proving process will be done directly after.
</content>
</entry>
<entry>
<title>chore: Nix and Rust fmt</title>
<updated>2025-04-04T08:03:00Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-04-02T11:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=ff022604ff4376903f403c8bb9b6ec4d4233432e'/>
<id>urn:sha1:ff022604ff4376903f403c8bb9b6ec4d4233432e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(zkvms/zkm): Update SDK usage, add witness generation command</title>
<updated>2025-04-04T08:03:00Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-04-02T10:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=6e8dc24fb90c17ca272f4d457949aed6fe6aa540'/>
<id>urn:sha1:6e8dc24fb90c17ca272f4d457949aed6fe6aa540</id>
<content type='text'>
We first need to generate witnesses before proving. This is done by
running the binary with SNARK_SETUP=true. Currently, the command crashes
right after those witnesses are generated. As a workaround, we ignore
the crash and just start it normally, using the generated witnesses.
</content>
</entry>
<entry>
<title>feat(zkvms/zkm): Remove SDK override, Go lib build, update SDK usage</title>
<updated>2025-04-04T08:03:00Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-03-21T11:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=c7a0a23f5c6dfacc933526d02e8da59384898758'/>
<id>urn:sha1:c7a0a23f5c6dfacc933526d02e8da59384898758</id>
<content type='text'>
Update SDK usage, according to their new methods.

ZKM moved their Go library to the zkVM repo. Their updated SDK also
don't require the patch.
</content>
</entry>
<entry>
<title>chore(flake.nix): Replace rust-overlay with fenix</title>
<updated>2025-04-04T08:03:00Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-03-21T09:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=d02aef570056fdc4efbe757e898328b46e0890e6'/>
<id>urn:sha1:d02aef570056fdc4efbe757e898328b46e0890e6</id>
<content type='text'>
This follows the same change which was made in mcl-blockchain
</content>
</entry>
<entry>
<title>chore: Nix fmt</title>
<updated>2025-02-27T13:08:11Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-02-27T09:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=39ec264c0d90555237debff519cc890b755a0646'/>
<id>urn:sha1:39ec264c0d90555237debff519cc890b755a0646</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(zkvms/zkm): Downgrade host toolchain</title>
<updated>2025-02-26T07:26:09Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-02-25T11:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=ec0bc2c4595e6e622dd3f72bcb14ffa53ac78f78'/>
<id>urn:sha1:ec0bc2c4595e6e622dd3f72bcb14ffa53ac78f78</id>
<content type='text'>
The newest toolchain causes errors, an issue has been filed upstream:
https://github.com/zkMIPS/toolchain/issues/4
However, it is not certain when it will be resolved, so for now this
workaround will be used.
</content>
</entry>
<entry>
<title>fix(zkvms/zkm): Override zkm SDK</title>
<updated>2025-02-26T07:26:09Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-02-25T11:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=4bba003e7d8cdb58aa20a35adb1e249e99af3ad4'/>
<id>urn:sha1:4bba003e7d8cdb58aa20a35adb1e249e99af3ad4</id>
<content type='text'>
The SDK is out of date. A PR is opened:
https://github.com/zkMIPS/zkm-project-template/pull/54
However, its not certain it will be merged soon, so for now this
workaround will have to do.
</content>
</entry>
<entry>
<title>feat(zkvms): Change package versions from infdev to the corresponding zkVM versions</title>
<updated>2025-02-11T15:21:27Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-02-11T15:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=50029c01a85cd63ec1352bf7b2db7b65bc7a6b16'/>
<id>urn:sha1:50029c01a85cd63ec1352bf7b2db7b65bc7a6b16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(zkm/default.nix): Use repository instad of local copy of sdk for libsnark Go module</title>
<updated>2025-02-10T15:15:06Z</updated>
<author>
<name>Kamen Mladenov</name>
<email>kamen@syndamia.com</email>
</author>
<published>2025-02-10T15:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.syndamia.com/work/blocksense/zkVMs-benchmarks/commit/?id=01b199735cffdec1376024b8214499190d08a876'/>
<id>urn:sha1:01b199735cffdec1376024b8214499190d08a876</id>
<content type='text'>
</content>
</entry>
</feed>
