chore(blockifier_test_utils): delete tag-and-toolchain related code#5589
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4d15216 to
cd6ba5d
Compare
4a32e5d to
dc79548
Compare
cd6ba5d to
b10fe33
Compare
dc79548 to
b2a1173
Compare
b10fe33 to
6bac67e
Compare
b2a1173 to
e33bc43
Compare
6bac67e to
d9b4954
Compare
e33bc43 to
d3f24fb
Compare
d9b4954 to
a1489d6
Compare
d3f24fb to
6c29882
Compare
a1489d6 to
456f44a
Compare
6c29882 to
8b6e56f
Compare
456f44a to
6725d67
Compare
adbdd11 to
4b5a971
Compare
a5cc203 to
00aa036
Compare
ed83344 to
4ffc4b2
Compare
00aa036 to
0554501
Compare
4ffc4b2 to
6b1f228
Compare
0554501 to
f2e7d76
Compare
6b1f228 to
f23bb3a
Compare
f2e7d76 to
c199564
Compare
f23bb3a to
28c60e3
Compare
c199564 to
f7d07d3
Compare
28c60e3 to
00ab8b3
Compare
f7d07d3 to
924cf4e
Compare
c1af191 to
50276e0
Compare
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewed 3 of 3 files at r3.
Reviewable status: all files reviewed (commit messages unreviewed), 2 unresolved discussions (waiting on @elintul, @giladchase, and @noaov1)
crates/blockifier_test_utils/src/contracts.rs line 203 at r3 (raw file):
Self::LegacyTestContract => LEGACY_CONTRACT_COMPILER_VERSION.into(), Self::CairoStepsTestContract => CAIRO_STEPS_TEST_CONTRACT_COMPILER_VERSION.into(), _ => cairo1_compiler_version(),
This is what will be returned for Cairo0 contracts right? like SecurityTests`. Please return Cairo0 compiler version, even if this function is not expected to be called by such.
Code quote:
_ => cairo1_compiler_version(),crates/blockifier_test_utils/tests/feature_contracts_compatibility_test.rs line 94 at r3 (raw file):
for contract in feature_contracts .into_iter() .filter(|contract| contract.cairo_version() == cairo_version)
This is redundant (unless cairo1_feature_contracts_by_version has a bug, which in this case - we hide it)
Code quote:
.filter(|contract| contract.cairo_version() == cairo_version)
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewed all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @dorimedini-starkware, @elintul, @giladchase, and @noaov1)
50276e0 to
d4a2855
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: 2 of 3 files reviewed, 2 unresolved discussions (waiting on @elintul, @giladchase, @noaov1, and @TzahiTaub)
crates/blockifier_test_utils/src/contracts.rs line 203 at r3 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
This is what will be returned for Cairo0 contracts right? like SecurityTests`. Please return Cairo0 compiler version, even if this function is not expected to be called by such.
this is only for cairo1, meaningless for cairo0. I'll panic explicitly if this is not the case...
crates/blockifier_test_utils/tests/feature_contracts_compatibility_test.rs line 94 at r3 (raw file):
Previously, TzahiTaub (Tzahi) wrote…
This is redundant (unless
cairo1_feature_contracts_by_versionhas a bug, which in this case - we hide it)
fixed here (right?)
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewed 1 of 1 files at r5.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @elintul, @giladchase, and @noaov1)
crates/blockifier_test_utils/src/contracts.rs line 203 at r3 (raw file):
Previously, dorimedini-starkware wrote…
this is only for cairo1, meaningless for cairo0. I'll panic explicitly if this is not the case...
OK, can you add this to the doc as well?
crates/blockifier_test_utils/tests/feature_contracts_compatibility_test.rs line 94 at r3 (raw file):
Previously, dorimedini-starkware wrote…
fixed here (right?)
Yep
d4a2855 to
3772f92
Compare
TzahiTaub
left a comment
There was a problem hiding this comment.
Reviewed 1 of 1 files at r6, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @elintul, @giladchase, and @noaov1)

No description provided.