Skip to content

[Merged by Bors] - Custom RPC request management for sync#3029

Closed
divagant-martian wants to merge 1 commit intosigp:unstablefrom
divagant-martian:custom-rpc-ids
Closed

[Merged by Bors] - Custom RPC request management for sync#3029
divagant-martian wants to merge 1 commit intosigp:unstablefrom
divagant-martian:custom-rpc-ids

Conversation

@divagant-martian
Copy link
Copy Markdown
Contributor

Proposed Changes

Make lighthouse_network generic over request ids, now usable by sync

@divagant-martian divagant-martian marked this pull request as draft February 17, 2022 15:33
@divagant-martian divagant-martian marked this pull request as ready for review February 17, 2022 22:11
@AgeManning
Copy link
Copy Markdown
Member

I am getting through this.

There seems to be a few changes in the sync manager, but looks like its mostly due to the request id segregation and you've split things into their own functions.

Should finish the review soon

Copy link
Copy Markdown
Member

@AgeManning AgeManning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good.

Have you tested this over a syncing node? And watched a live node for errors in doing single block lookups?

Might be worth checking how this behaves over these cases, make sure nothing was missed.

@divagant-martian
Copy link
Copy Markdown
Contributor Author

divagant-martian commented Feb 28, 2022

This has been running in fremont for more than a week without problem 👍

@AgeManning
Copy link
Copy Markdown
Member

bors r+

@michaelsproul michaelsproul added the ready-for-merge This PR is ready to merge. label Feb 28, 2022
bors bot pushed a commit that referenced this pull request Mar 1, 2022
## Proposed Changes
Make `lighthouse_network` generic over request ids, now usable by sync
@bors
Copy link
Copy Markdown

bors bot commented Mar 1, 2022

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Mar 1, 2022
## Proposed Changes
Make `lighthouse_network` generic over request ids, now usable by sync
@bors
Copy link
Copy Markdown

bors bot commented Mar 1, 2022

Build failed:

@AgeManning
Copy link
Copy Markdown
Member

bors r+

@bors
Copy link
Copy Markdown

bors bot commented Mar 2, 2022

Canceled.

@AgeManning
Copy link
Copy Markdown
Member

bors r+

@bors
Copy link
Copy Markdown

bors bot commented Mar 2, 2022

Merge conflict.

@AgeManning
Copy link
Copy Markdown
Member

bors r+

bors bot pushed a commit that referenced this pull request Mar 2, 2022
## Proposed Changes
Make `lighthouse_network` generic over request ids, now usable by sync
@bors
Copy link
Copy Markdown

bors bot commented Mar 3, 2022

@bors bors bot changed the title Custom RPC request management for sync [Merged by Bors] - Custom RPC request management for sync Mar 3, 2022
@bors bors bot closed this Mar 3, 2022
bors bot pushed a commit that referenced this pull request Mar 14, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of #3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
bors bot pushed a commit that referenced this pull request Mar 21, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of #3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
bors bot pushed a commit that referenced this pull request Mar 21, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of #3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
bors bot pushed a commit that referenced this pull request Mar 22, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of #3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
bors bot pushed a commit that referenced this pull request Mar 23, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of #3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
paulhauner pushed a commit to paulhauner/lighthouse that referenced this pull request May 6, 2022
## Issue Addressed

Removes the await points in sync waiting for a processor response for rpc block processing. Built on top of sigp#3029 
This also handles a couple of bugs in the previous code and adds a relatively comprehensive test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants