Skip to content

Commit 14a3c1f

Browse files
authored
BM-252: Fix dead_code warning for TXN_CONFIRM_TIMEOUT (github#74)
1 parent 821c84f commit 14a3c1f

File tree

1 file changed

+2
-0
lines changed
  • crates/boundless-market/src/contracts

1 file changed

+2
-0
lines changed

crates/boundless-market/src/contracts/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ use alloy_primitives::{
1919
};
2020
use alloy_sol_types::{eip712_domain, Eip712Domain};
2121
use serde::{Deserialize, Serialize};
22+
#[cfg(not(target_os = "zkvm"))]
2223
use std::time::Duration;
2324
#[cfg(not(target_os = "zkvm"))]
2425
use thiserror::Error;
2526
use url::Url;
2627

2728
use risc0_zkvm::sha::Digest;
2829

30+
#[cfg(not(target_os = "zkvm"))]
2931
const TXN_CONFIRM_TIMEOUT: Duration = Duration::from_secs(45);
3032

3133
// proof_market.rs is a copy of IProofMarket.sol with alloy derive statements added.

0 commit comments

Comments
 (0)