-
Notifications
You must be signed in to change notification settings - Fork 27
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
chore(blockifier): verify cairo compiler repo (with correct tag) #183
chore(blockifier): verify cairo compiler repo (with correct tag) #183
Conversation
ae546f8
to
360c889
Compare
e736fb7
to
0b4fda1
Compare
360c889
to
852ec7b
Compare
0b4fda1
to
d7806fc
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.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @dorimedini-starkware, @meship-starkware, and @TzahiTaub)
crates/blockifier/src/test_utils/cairo_compile.rs
line 68 at r2 (raw file):
} /// Run a command, assert exit code is zero (otherwise panic with stderr output).
Suggestion:
/// Runs a command. If it has succeeded, it returns the command's output; otherwise, it panics with stderr output.
852ec7b
to
cfeb968
Compare
d7806fc
to
b7301ad
Compare
cfeb968
to
af3aebb
Compare
b7301ad
to
8e54eec
Compare
af3aebb
to
9c74f42
Compare
8e54eec
to
1927450
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.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @meship-starkware, @nimrod-starkware, and @TzahiTaub)
crates/blockifier/src/test_utils/cairo_compile.rs
line 68 at r2 (raw file):
} /// Run a command, assert exit code is zero (otherwise panic with stderr output).
Done.
1927450
to
5d0ac45
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.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @AvivYossef-starkware, @meship-starkware, and @TzahiTaub)
9c74f42
to
f5b23c7
Compare
0e1981a
to
e91cecc
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.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @dorimedini-starkware, @meship-starkware, and @nimrod-starkware)
crates/blockifier/src/test_utils/cairo_compile.rs
line 9 at r3 (raw file):
const CAIRO0_PIP_REQUIREMENTS_FILE: &str = "tests/requirements.txt"; const LOCAL_CAIRO1_REPO_RELATIVE_PATH: &str = "../../../cairo";
This is too strict, please replace with env vars to allow a a hierarchy where the sequencer
and cairo
dirs aren't siblings, to work.
Code quote:
const LOCAL_CAIRO1_REPO_RELATIVE_PATH: &str = "../../../cairo";
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.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @meship-starkware, @nimrod-starkware, and @TzahiTaub)
crates/blockifier/src/test_utils/cairo_compile.rs
line 9 at r3 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
This is too strict, please replace with env vars to allow a a hierarchy where the
sequencer
andcairo
dirs aren't siblings, to work.
Done. Now can be overridden by env var
caacae7
to
fa5d93a
Compare
e91cecc
to
1a2bc9e
Compare
fa5d93a
to
eac83c2
Compare
1a2bc9e
to
c250527
Compare
eac83c2
to
177370c
Compare
c250527
to
a65c413
Compare
177370c
to
8937375
Compare
a65c413
to
378e67b
Compare
8937375
to
1b47e77
Compare
378e67b
to
e57ad1c
Compare
1b47e77
to
b45df76
Compare
e57ad1c
to
1fd4711
Compare
b45df76
to
c095163
Compare
1fd4711
to
678e67e
Compare
c095163
to
1f7061e
Compare
678e67e
to
469c6a8
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.
Reviewed 1 of 1 files at r6, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware, @dorimedini-starkware, and @meship-starkware)
crates/blockifier/src/test_utils/cairo_compile.rs
line 62 at r6 (raw file):
/// Returns the path to the local Cairo1 compiler repository. /// Returns <sequencer_crate_root>/<RELATIVE_PATH_TO_CAIRO_REPO>, where the relative path can be
The Sequencer is not a crate, right?
Suggestion:
<sequencer_repo_root>
469c6a8
to
b4e9649
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.
Reviewed 1 of 1 files at r7, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @meship-starkware)
Merge activity
|
b4e9649
to
840ecbf
Compare
This change is