-
Notifications
You must be signed in to change notification settings - Fork 946
[Merged by Bors] - Return eth1-related data via the API #1797
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
Changes from all commits
e06097c
1d542ab
2d9bbdf
c9f8f58
8688e67
7b8fe08
4532ba8
014a1cd
f49b037
a3431f0
9062f23
19beeea
691065f
b0d0373
6bd67eb
599807e
5507990
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -334,6 +334,7 @@ where | |
| chain: self.beacon_chain.clone(), | ||
| network_tx: self.network_send.clone(), | ||
| network_globals: self.network_globals.clone(), | ||
| eth1_service: self.eth1_service.clone(), | ||
| log: log.clone(), | ||
| }); | ||
|
|
||
|
|
@@ -590,7 +591,7 @@ where | |
| })? | ||
| }; | ||
|
|
||
| self.eth1_service = None; | ||
| self.eth1_service = Some(backend.core.clone()); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any idea why we set this to
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm.. no I can't 😅 |
||
|
|
||
| // Starts the service that connects to an eth1 node and periodically updates caches. | ||
| backend.start(context.executor); | ||
|
|
||
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.
Any specific reason for 8? Just curious
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.
Nope, no reason. I added a note to that measure :)
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.
Well, 8 just felt like a decent number to me. I can't back it up, though 😅