From f9640e8649b3d48b95b55fb2ae7ab7fefb424420 Mon Sep 17 00:00:00 2001 From: N Date: Sun, 24 Nov 2024 19:58:45 -0800 Subject: [PATCH] fix: missing feat flags (#1816) --- crates/sdk/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/sdk/src/lib.rs b/crates/sdk/src/lib.rs index 3c40bcb9d..7b7bb96f2 100644 --- a/crates/sdk/src/lib.rs +++ b/crates/sdk/src/lib.rs @@ -185,6 +185,7 @@ impl ProverClient { /// /// let client = ProverClient::network(private_key, rpc_url, skip_simulation); /// ``` + #[cfg(any(feature = "network", feature = "network-v2"))] pub fn network(private_key: String, rpc_url: Option, skip_simulation: bool) -> Self { cfg_if! { if #[cfg(feature = "network-v2")] { @@ -397,6 +398,7 @@ pub struct NetworkProverBuilder { skip_simulation: bool, } +#[cfg(any(feature = "network", feature = "network-v2"))] impl NetworkProverBuilder { /// Sets the private key. pub fn private_key(mut self, private_key: String) -> Self {