Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matias-gonz committed Jul 17, 2023
1 parent 2d9d9fc commit 91fef34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transaction/declare_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ mod tests {

// crate state to store casm contract class
let casm_contract_class_cache = HashMap::new();
let state_reader = InMemoryStateReader::default();
let state_reader = Arc::new(InMemoryStateReader::default());
let mut state = CachedState::new(state_reader, None, Some(casm_contract_class_cache));

// call compile and store
Expand Down Expand Up @@ -741,7 +741,7 @@ mod tests {

// crate state to store casm contract class
let casm_contract_class_cache = HashMap::new();
let state_reader = InMemoryStateReader::default();
let state_reader = Arc::new(InMemoryStateReader::default());
let mut state = CachedState::new(state_reader, None, Some(casm_contract_class_cache));

// call compile and store
Expand Down Expand Up @@ -811,7 +811,7 @@ mod tests {

// crate state to store casm contract class
let casm_contract_class_cache = HashMap::new();
let state_reader = InMemoryStateReader::default();
let state_reader = Arc::new(InMemoryStateReader::default());
let mut state = CachedState::new(state_reader, None, Some(casm_contract_class_cache));

let expected_err = format!(
Expand Down

0 comments on commit 91fef34

Please sign in to comment.