Skip to content

Commit

Permalink
fix: change return error type of get_execution_resources to RunnerErr…
Browse files Browse the repository at this point in the history
…or (#1398)

* fix change return error type of get_execution_resources to RunnerError

* Update CHANGELOG.md

Co-authored-by: fmoletta <[email protected]>

---------

Co-authored-by: fmoletta <[email protected]>
Co-authored-by: Pedro Fontana <[email protected]>
  • Loading branch information
3 people authored Aug 29, 2023
1 parent 722b2e2 commit 2aed1ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vm/src/vm/runners/cairo_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2aed1ba

Please sign in to comment.