-
Notifications
You must be signed in to change notification settings - Fork 65
papyrus_base_layer: make BaseLayer trait functions mutable #10404
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
papyrus_base_layer: make BaseLayer trait functions mutable #10404
Conversation
e83c49d to
bfe09a5
Compare
5b74f8f to
d4dcde7
Compare
bfe09a5 to
350c143
Compare
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 18 of 18 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @guy-starkware)
crates/apollo_l1_provider/src/l1_scraper.rs line 73 at r1 (raw file):
self.scrape_from_this_l1_block = Some( self.retry_until_base_layer_success( |this| Box::pin(this.fetch_start_block()),
Please add a comment explaining these shenanigens
crates/apollo_l1_provider/src/l1_scraper.rs line 351 at r1 (raw file):
) -> L1ScraperResult<T, BaseLayerType> where for<'a> FuncType: FnMut(
Please add a comment explaining these shenanigens
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.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ShahakShama)
crates/apollo_l1_provider/src/l1_scraper.rs line 73 at r1 (raw file):
Previously, ShahakShama wrote…
Please add a comment explaining these shenanigens
Done.
crates/apollo_l1_provider/src/l1_scraper.rs line 351 at r1 (raw file):
Previously, ShahakShama wrote…
Please add a comment explaining these shenanigens
Honestly I don't know how to explain this.
350c143 to
9137c6a
Compare
d4dcde7 to
2495ef9
Compare
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 all commit messages.
Reviewable status: 16 of 18 files reviewed, 2 unresolved discussions (waiting on @guy-starkware)
crates/apollo_l1_provider/src/l1_scraper.rs line 73 at r1 (raw file):
Previously, guy-starkware wrote…
Done.
I now see what made me not understand what's going on here. Use BoxFuture intead of Pin<Box (it's a type alias)
2495ef9 to
f1d51d7
Compare
9137c6a to
8ced215
Compare
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 2 of 2 files at r2, 2 of 2 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
8ced215 to
6f07ce7
Compare
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 r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)
f1d51d7 to
a515e66
Compare
6f07ce7 to
d4cb07e
Compare
d4cb07e to
5959c9c
Compare
a515e66 to
4e139f4
Compare
5959c9c to
399354e
Compare
4e139f4 to
ac89330
Compare
Merge activity
|
399354e to
2a6fdfc
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 15 of 18 files at r1, 1 of 2 files at r2, 1 of 2 files at r3, 1 of 1 files at r4, 1 of 1 files at r5, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @guy-starkware)

No description provided.