a16z / jolt

The simplest and most extensible zkVM. Fast and fully open source from a16z crypto and friends. ⚡
https://jolt.a16zcrypto.com
MIT License
580 stars 105 forks source link

getrandom - target is not supported #399

Closed ArielElb closed 2 weeks ago

ArielElb commented 2 weeks ago

image

Getting the error above when trying to use rand in host.

Im running on ubuntu on wsl.

any ideas?

ty !

sragss commented 2 weeks ago

It looks like you're trying to use randomness within the guest, not the host. The guest gets compiled to RV32I to run within a virtual machine. As a result it does not have access to system entropy as there's no concept of system IO within the zkVM.