-
Notifications
You must be signed in to change notification settings - Fork 65
feat(apollo_starknet_os_program): define and implement static ProgramHash #5874
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): define and implement static ProgramHash #5874
Conversation
97349df to
608a692
Compare
00e05d9 to
ff0b371
Compare
ff0b371 to
4d1905e
Compare
608a692 to
7c2ee53
Compare
4d1905e to
52df3de
Compare
7c2ee53 to
f5f2e37
Compare
52df3de to
2746f5a
Compare
|
Benchmark movements: tree_computation_flow performance regressed! tree_computation_flow time: [35.606 ms 36.143 ms 36.758 ms] change: [+2.7374% +4.2896% +6.3430%] (p = 0.00 < 0.05) Performance has regressed. Found 11 outliers among 100 measurements (11.00%) 1 (1.00%) high mild 10 (10.00%) high severe |
f5f2e37 to
a9cbf18
Compare
2746f5a to
433717f
Compare
a9cbf18 to
ae04ec1
Compare
433717f to
aa3ae7a
Compare
|
Benchmark movements: |
5954e4d to
84eeaec
Compare
8a8817e to
7e5d772
Compare
84eeaec to
3265e5d
Compare
7e5d772 to
81cecce
Compare
3265e5d to
8ad4e5b
Compare
81cecce to
6a6017c
Compare
8ad4e5b to
1500f5b
Compare
6a6017c to
e4e2c5a
Compare
1500f5b to
eedaf6d
Compare
e4e2c5a to
724b31e
Compare
eedaf6d to
7c19baf
Compare
724b31e to
7fd8590
Compare
7c19baf to
1216f60
Compare
7fd8590 to
694999d
Compare
1216f60 to
30e8ec6
Compare
694999d to
2d08ecc
Compare
30e8ec6 to
ea3a188
Compare
ef70b43 to
d37e6be
Compare
TzahiTaub
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 2 of 6 files at r1, 4 of 4 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @amosStarkware and @nimrod-starkware)
crates/apollo_starknet_os_program/src/program_hash.rs line 26 at r2 (raw file):
pub struct ProgramHash { os: Felt, }
?
Suggestion:
pub struct OsProgramHash(pub Felt);crates/apollo_starknet_os_program/src/program_hash.rs line 46 at r3 (raw file):
let builtin_bytes = builtin.to_str().to_string().into_bytes(); if builtin_bytes.len() > 32 { Err(ProgramHashError::BuiltinNameTooLong(*builtin))
Consider (as the problem is with the str repr and not the enum)
Suggestion:
builtin.to_str()crates/apollo_starknet_os_program/src/program_hash.rs line 61 at r3 (raw file):
let program_header = vec
No description provided.