Skip to content

Commit

Permalink
wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyjosh committed Aug 29, 2024
1 parent 0fe1c8e commit e1f64ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/eval/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use alloy::primitives::ruint::FromUintError;
#[cfg(not(target_family = "wasm"))]
use foundry_evm::backend::DatabaseError;
#[cfg(not(target_family = "wasm"))]
use foundry_evm::executors::RawCallResult;
use rain_error_decoding::{AbiDecodeFailedErrors, AbiDecodedErrorType};
use thiserror::Error;
Expand Down Expand Up @@ -34,6 +35,7 @@ pub enum ReplayTransactionError {
TransactionNotFound(String, String),
#[error("No active fork found")]
NoActiveFork,
#[cfg(not(target_family = "wasm"))]
#[error("Database error for hash {0} and fork url {1}: {2}")]
DatabaseError(String, String, DatabaseError),
#[error("No block number found in transaction for hash {0} and fork url {1}")]
Expand Down

0 comments on commit e1f64ee

Please sign in to comment.