Skip to content
Discussion options

You must be logged in to vote

this is a known issue with svm-rs duplicate definitions. the build script generates duplicate entries.

workarounds:

  1. use specific commit that works:
git checkout <known-working-commit>
  1. or install from crates.io instead of source:
cargo install ezkl
  1. if you need latest features, try patching svm-rs in Cargo.toml:
[patch.crates-io]
svm-rs-builds = { git = "https://github.com/roynalnaruto/svm-rs", branch = "main" }
  1. or use their docker image directly:
docker pull zkonduit/ezkl:latest

the error happens because solc 0.8.31 appears twice in the generated builds.rs file. this is upstream issue in svm-rs, not ezkl itself.

id suggest opening issue on ezkl repo to pin svm-rs version that works

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Mo-guan
Comment options

Answer selected by Mo-guan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants