-
Notifications
You must be signed in to change notification settings - Fork 237
Fix gas tests #3421
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
Closed
Closed
Fix gas tests #3421
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced May 28, 2025
Closed
Closed
9747f50
to
d153a5a
Compare
d5cda9e
to
1a62be9
Compare
f38dfe6
to
18ca365
Compare
1a62be9
to
0229119
Compare
e7643c3
to
75c18b8
Compare
74a169a
to
5d32ffb
Compare
75c18b8
to
2ba83a2
Compare
5d32ffb
to
eb889c1
Compare
4182e0e
to
ea3b359
Compare
13de164
to
b45b9d5
Compare
This was referenced Jun 13, 2025
b45b9d5
to
ab22024
Compare
ea3b359
to
b0ef916
Compare
This was referenced Jun 27, 2025
a05acbb
to
94149fd
Compare
3d7c575
to
5ef07eb
Compare
74e5dfb
to
cf71b49
Compare
0d0d139
to
a0f20c1
Compare
cf71b49
to
52de983
Compare
a0f20c1
to
18a799d
Compare
52de983
to
660befc
Compare
ddoktorski
reviewed
Jul 18, 2025
// 96 = cost of deploy (see snforge_std_deploy_cost test) | ||
// 9 = cost of 202 range check builtins (because int(0.04 * 202) = 9) | ||
// 0 l1_gas + 96 l1_data_gas + 9 * (100 / 0.0025) l2 gas | ||
// 9 = cost of 202 range check builtins (because int(0.04 * 245) = 10) |
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.
Suggested change
// 9 = cost of 202 range check builtins (because int(0.04 * 245) = 10) | |
// 10 = cost of 245 range check builtins (because int(0.04 * 245) = 10) |
Why is it 245?
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.
Had to change the range_check
test (see file above) and happened to add too many lines 😅
8a340f4
to
b185ce6
Compare
7cd7a3f
to
7c4845c
Compare
b185ce6
to
458b46c
Compare
7c4845c
to
9c31241
Compare
7a2a8a0
to
9b02743
Compare
72b2615
to
83a2477
Compare
Merged
9b02743
to
3766b57
Compare
Closes #3078 commit-id:5e47ad12 # Conflicts: # crates/forge/tests/integration/gas.rs # Conflicts: # crates/forge/tests/integration/gas.rs
83a2477
to
d60a75b
Compare
3766b57
to
8e48940
Compare
✓ Commit merged in pull request #3559 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #3078
Stack:
supports-panic-backtrace
test condition #3503_std
packages #3470snforge_std
orsnforge_std_compatibility
insnforge
new #3466_compatibility
plugin #3465_compatibility
package #3464scarbfmt
#3419