Repository: lambdaclass/cairo-vm (language: rust)

Issue:
`CairoRunner.get_execution_resources` shouldn't return a `TraceError`
Maybe RunnerError would be more appropiate



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ff699027ca..faff8edec3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
 
 #### Upcoming Changes
 
+* fix: Change return type of `get_execution_resources` to `RunnerError` [#1398](https://github.com/lambdaclass/cairo-vm/pull/1398)
+
 * Don't build wasm-demo in `build` target + add ci job to run the wasm demo [#1393](https://github.com/lambdaclass/cairo-vm/pull/1393)
 
     * Adds default-members to workspace
diff --git a/vm/src/vm/runners/cairo_runner.rs b/vm/src/vm/runners/cairo_runner.rs
index 3a561e8602..929571dc6a 100644
--- a/vm/src/vm/runners/cairo_runner.rs
+++ b/vm/src/vm/runners/cairo_runner.rs
@@ -868,7 +868,7 @@ impl CairoRunner {
     pub fn get_execution_resources(
         &self,
         vm: &VirtualMachine,
-    ) -> Result<ExecutionResources, TraceError> {
+    ) -> Result<ExecutionResources, RunnerError> {
         let n_steps = match self.original_steps {
             Some(x) => x,
             None => vm


Test patch: