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
e600127 to
d9b4806
Compare
56a1dc4 to
ecbb773
Compare
d9b4806 to
d202290
Compare
ecbb773 to
237eb5e
Compare
d202290 to
5457abd
Compare
237eb5e to
432cc3d
Compare
5457abd to
0babee4
Compare
432cc3d to
677952a
Compare
0babee4 to
ffbad0b
Compare
677952a to
7c3a788
Compare
ffbad0b to
0e44144
Compare
7c3a788 to
364bee0
Compare
0e44144 to
185915b
Compare
364bee0 to
bbcd655
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
avivg-starkware
left a comment
There was a problem hiding this comment.
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();
avivg-starkware
left a comment
There was a problem hiding this comment.
Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware)
Merge activity
|

No description provided.