Skip to content

Commit 933f562

Browse files
committed
feat(client-wasm): support for SNARK
1 parent 1b33b9a commit 933f562

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

mithril-client-wasm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ crate-type = ["cdylib"]
2525
default = ["rustls"]
2626
rustls = ["mithril-client/rustls"]
2727
test-node = []
28+
future_snark = ["mithril-client/future_snark"]
2829

2930
[dependencies]
3031
anyhow = { workspace = true }

mithril-stm/src/circuits/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
pub mod halo2;
99
pub mod halo2_ivc;
10+
#[cfg(not(target_family = "wasm"))]
1011
pub mod trusted_setup;
1112

1213
#[cfg(test)]
@@ -17,6 +18,7 @@ pub(crate) use halo2::witness::{
1718
};
1819

1920
/// Constant holding the current path of the cached values related to the circuits
21+
#[cfg(not(target_family = "wasm"))]
2022
const MITHRIL_CIRCUIT_CACHE_FOLDER: &str = "mithril-circuit";
2123

2224
#[cfg(all(

0 commit comments

Comments
 (0)