-
Notifications
You must be signed in to change notification settings - Fork 65
feat(apollo_starknet_os_program): add fixer for OS constants test #6275
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
feat(apollo_starknet_os_program): add fixer for OS constants test #6275
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1b132cd to
1e3cfe3
Compare
021abe4 to
ecd2e80
Compare
1e3cfe3 to
5db3b08
Compare
ecd2e80 to
c4aae1f
Compare
5db3b08 to
a5c63b3
Compare
c4aae1f to
1959629
Compare
a5c63b3 to
84d3238
Compare
1959629 to
62577cc
Compare
84d3238 to
122bde7
Compare
62577cc to
40e726c
Compare
122bde7 to
53ef04c
Compare
40e726c to
2b5aea8
Compare
53ef04c to
b367524
Compare
2b5aea8 to
adbd99c
Compare
b367524 to
b4f3245
Compare
adbd99c to
a7774da
Compare
b4f3245 to
682814a
Compare
a7774da to
7739e77
Compare
682814a to
3d41b01
Compare
185915b to
086fe71
Compare
bbcd655 to
b3e6c02
Compare
086fe71 to
7e010c8
Compare
b3e6c02 to
9b8306a
Compare
7e010c8 to
c64cd8f
Compare
9b8306a to
a337f63
Compare
c64cd8f to
57504a2
Compare
a337f63 to
4a2fb35
Compare
57504a2 to
77af9e1
Compare
4a2fb35 to
caac33d
Compare
77af9e1 to
bd987f8
Compare
caac33d to
854e41a
Compare
bd987f8 to
2acf100
Compare
854e41a to
7b14bab
Compare
2acf100 to
d1520cd
Compare
avivg-starkware
left a comment
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.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware)
crates/apollo_starknet_os_program/src/constants_test.rs line 215 at r3 (raw file):
/// ```bash /// FIX_OS_CONSTANTS=1 cargo test -p apollo_starknet_os_program test_os_constants /// ```
Perhaps more explicit?
Suggestion:
/// Test that `constants.cairo` generated from OS versioned constants, matches the existing file.
/// To fix this test, run:
/// ```bash
/// FIX_OS_CONSTANTS=1 cargo test -p apollo_starknet_os_program test_os_constants
/// ```crates/apollo_starknet_os_program/src/constants_test.rs line 219 at r3 (raw file):
fn test_os_constants() { verify_cairo0_compiler_deps(); let generated = generate_constants_file();
Also, for extra clarity
(not sure if needed, perhaps the function's doc might be sufficient)
My main goal is to make it visible in the function which 'source' file drives which 'output' file.
Anyway, non-blocking, as you see fit, is great.
Suggestion:
// generate `constants.cairo` from the current OS constants.
let generated = generate_constants_file();7b14bab to
0f85e49
Compare
c1aae23 to
b87f63b
Compare
avivg-starkware
left a comment
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.
Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware)
b87f63b to
a420f52
Compare
Merge activity
|

No description provided.