-
Notifications
You must be signed in to change notification settings - Fork 32
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
log2 hint #454
log2 hint #454
Conversation
from starkware.python.math_utils import log2_ceil | ||
ids.res = log2_ceil(ids.value)"# | ||
}; | ||
pub fn log2_ceil_hint( |
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.
We possibly just need to remove the hint from unimplemented.rs
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.
Should be good
|
||
#[allow(unused)] | ||
pub const HINT_4: &str = indoc! {r#"exit_syscall(selector=ids.SHA256_PROCESS_BLOCK_SELECTOR)"#}; | ||
// This file is intended to list all the unimplemented hints during an OS upgrade |
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.
// This file is intended to list all the unimplemented hints during an OS upgrade | |
// This file is intended to list all the unimplemented hints found by the `hint_tool` binary | |
// when comparing the hints found in the compiled OS compared to the hints known by SNOS |
New hint from OS v0.13.3: log2 ceil. Implementation from the hint and a public function to compute the log2 since it will be needed in compression hints
KZG tests still require extra hints.
Check orphan hints is failing because it detects two extra hints that will be covered in compress PR (
COMPRESS
andSET_DECOMPRESSED_DST
)Issue Number: N/A
Type
Description
Breaking changes?