-
Notifications
You must be signed in to change notification settings - Fork 230
Run forge tests with cairo steps explicitly set in tests #3050
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
Run forge tests with cairo steps explicitly set in tests #3050
Conversation
56e4694
to
6169638
Compare
393a3c5
to
ad52dbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this change. Many tests do not care about the traced resource, so it seems unnecessary. Additionally, it suggests that CairoSteps
is essential for this test to work.
Some do, but mainly this just lays ground for #3055, where you get different cost depending on tracked resource |
ad52dbe
to
0d2a153
Compare
d7fd230
to
40ca54d
Compare
0d2a153
to
87075d6
Compare
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion -- (#3054) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking --> (This PR) Update docs with sierra-gas related changes
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion -- (#3054) Introduce new gas representation --> (This PR) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion --> (This PR) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` --> (This PR) Add sierra version assertion -- (#3054) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` --> (This PR) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion -- (#3054) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
Related to #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). -- (#3049) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (This PR) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion -- (#3054) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
03166da
into
szymczyk/sg-1-add-sierra-gas-tracking
Closes #2977 This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value). --> (This PR) Add sierra gas tracking -- (#3050) Run already existing tests with CairoSteps set explicitly -- (#3051) Add support for sierra gas in `--detailed-resources` -- (#3052) Add support for sierra gas in `--save-trace-data` -- (#3053) Add sierra version assertion -- (#3054) Introduce new gas representation -- (#3055) Add gas tests for sierra-gas tracking -- (#3056) Update docs with sierra-gas related changes
Related to #2977
This PR stack aims to add support for new resource tracking (sierra-gas) and new gas representation (GasVector triplet instead of single l1 gas value).
-- (#3049) Add sierra gas tracking
--> (This PR) Run already existing tests with CairoSteps set explicitly
-- (#3051) Add support for sierra gas in
--detailed-resources
-- (#3052) Add support for sierra gas in
--save-trace-data
-- (#3053) Add sierra version assertion
-- (#3054) Introduce new gas representation
-- (#3055) Add gas tests for sierra-gas tracking
-- (#3056) Update docs with sierra-gas related changes