Skip to content
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

op-supervisor: Create clients and monitor chain heads for each L2 chain #11009

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

ajsutton
Copy link
Contributor

Description

Jumps through all the hoops to create a connection to each L2 rpc URL and monitor its unsafe, safe and finalized heads. Currently updates to these are just logged. In future PRs they will feed into a pipeline that will detect reorgs and pull all the log data. The ChainMonitor implementation will encapsulate this and (eventually) just output the stream of events/data required to maintain the log database and do the consolidation/verification for interop.

Tests

Added unit tests. Wiring code doesn't have much automated testing but verified by running locally and confirming head updates are reported.

Metadata

@ajsutton ajsutton requested a review from a team as a code owner June 26, 2024 03:35
@ajsutton ajsutton requested review from sebastianst and protolambda and removed request for sebastianst June 26, 2024 03:35
Copy link
Contributor

semgrep-app bot commented Jun 27, 2024

Semgrep found 1 todos_require_linear finding:

Please create a GitHub ticket for this TODO.

Ignore this finding from todos_require_linear.

@protolambda protolambda added this pull request to the merge queue Jun 27, 2024
Merged via the queue into develop with commit 379973e Jun 27, 2024
60 checks passed
@protolambda protolambda deleted the aj/monitor-heads branch June 27, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants