diff --git a/crates/apollo_state_reader/src/apollo_state.rs b/crates/apollo_state_reader/src/apollo_state.rs index ceb3aa0441a..a2a2ca3761b 100644 --- a/crates/apollo_state_reader/src/apollo_state.rs +++ b/crates/apollo_state_reader/src/apollo_state.rs @@ -237,7 +237,7 @@ impl StateReader for ApolloReader { } fn get_compiled_class(&self, class_hash: ClassHash) -> StateResult { - self.get_compiled_class_from_db(class_hash).map(|class| class.to_runnable()) + self.get_compiled_classes(class_hash).map(|class| class.to_runnable()) } fn get_compiled_class_hash(&self, class_hash: ClassHash) -> StateResult {