You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: feature gate revm and alloy imports (#1572)
Previously we were very sloppy with enabling of features:
`openvm-native-recursion` was always enabling the `snark-verifier`
feature "revm" which imports a fixed version of revm only used for
testing purposes. Since revm version changes rather frequently, this can
cause Cargo dependency conflicts if someone wants to use the SDK with
another version of revm.
I've added new features "evm-prove" and "evm-verify" to
`openvm-native-recursion`, `openvm-sdk`, `cargo-openvm` so that
- "evm-prove" allows for generation of EVM halo2 proofs, which just
enables some additional features in `snark-verifier` but no additional
other dependencies.
- "evm-verify" allows for revm simulation of EVM contract calls to
verify halo2 proofs. This includes imports of `revm` and some `alloy`
crates, with fixed versions. If you enable this feature (on by default),
the revm and alloy versions will be fixed in the cargo tree.
Also added some re-exported features to SDK and CLI, and switched
default memory allocator to `jemalloc` since that's what we mostly use.
0 commit comments