-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_l1_provider: scraper historic height is one more #10724
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
apollo_l1_provider: scraper historic height is one more #10724
Conversation
sirandreww-starkware
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.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @guy-starkware and @ShahakShama)
crates/apollo_l1_provider/src/l1_scraper.rs line 189 at r1 (raw file):
.map_err(L1ScraperError::BaseLayerError)? .number; Ok(last_historic_l2_height.unchecked_next())
unchecked? This will panic otherwise I'm assuming?
ShahakShama
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.
@ShahakShama reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @sirandreww-starkware)
crates/apollo_l1_provider/src/l1_scraper.rs line 189 at r1 (raw file):
Previously, sirandreww-starkware (Andrew Luka) wrote…
unchecked? This will panic otherwise I'm assuming?
It's ok. We assume block number will never reach 2^64 in many places in our codebase
guy-starkware
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.
@guy-starkware dismissed @sirandreww-starkware from a discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
519a4af to
4e82673
Compare
e3cd33b to
3f0b30a
Compare
3f0b30a to
d39e34c
Compare
4e82673 to
a6c9554
Compare
guy-starkware
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.
@guy-starkware reviewed 1 of 2 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
Already approved by Shahak

No description provided.