Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ExecutionResources multiplication #908

Merged
merged 4 commits into from
Mar 17, 2023
Merged

Conversation

pefontana
Copy link
Member

Add ExecutionResources multiplication

We need ExecutionResources * u64 implementation in starknet_in_rust
https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/business_logic/execution/os_usage.py#L37

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

Copy link
Member

@fmoletta fmoletta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ser

@codecov
Copy link

codecov bot commented Mar 17, 2023

Codecov Report

Merging #908 (1bf2520) into main (29e5580) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #908   +/-   ##
=======================================
  Coverage   97.38%   97.39%           
=======================================
  Files          69       69           
  Lines       29217    29279   +62     
=======================================
+ Hits        28454    28516   +62     
  Misses        763      763           
Impacted Files Coverage Δ
src/vm/runners/cairo_runner.rs 97.71% <100.00%> (+0.04%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pefontana
Copy link
Member Author

LGTM ser

A pleasure to comeback

@Oppen Oppen added this pull request to the merge queue Mar 17, 2023
@Oppen Oppen merged commit 82089bf into main Mar 17, 2023
@Oppen Oppen deleted the add-execution-resources-mult branch March 17, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants