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

Coordinator: generic upstream client interface #232

Merged
merged 12 commits into from
Oct 23, 2024
Merged

Conversation

jpnovais
Copy link
Collaborator

This PR implements issue(s) #

Checklist

  • I wrote new tests for my new core changes.
  • I have successfully ran tests, style checker and build against my new changes locally.
  • I have informed the team of any breaking changes if there are any.

@jpnovais jpnovais changed the base branch from main to coordinator-code-reuse-2 October 22, 2024 20:52
@jpnovais jpnovais had a problem deploying to docker-build-and-e2e October 22, 2024 20:54 — with GitHub Actions Failure
@jpnovais jpnovais force-pushed the coordinator-code-reuse-2 branch from 1aefad5 to dd3e8b8 Compare October 22, 2024 21:28
@jpnovais jpnovais force-pushed the coordinator-code-reuse-3 branch from 14b9f70 to 7ad31ba Compare October 22, 2024 21:30
@jpnovais jpnovais had a problem deploying to docker-build-and-e2e October 22, 2024 21:32 — with GitHub Actions Failure
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 70.87%. Comparing base (00ffc73) to head (8468afe).

Files with missing lines Patch % Lines
...face/src/main/kotlin/build/linea/clients/Client.kt 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #232      +/-   ##
============================================
+ Coverage     70.76%   70.87%   +0.11%     
- Complexity     1074     1075       +1     
============================================
  Files           298      299       +1     
  Lines         12070    12078       +8     
  Branches       1068     1070       +2     
============================================
+ Hits           8541     8560      +19     
+ Misses         3049     3042       -7     
+ Partials        480      476       -4     
Flag Coverage Δ *Carryforward flag
hardhat 98.67% <ø> (ø) Carriedforward from 7ad31ba
kotlin 68.61% <0.00%> (+0.12%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...face/src/main/kotlin/build/linea/clients/Client.kt 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

jonesho
jonesho previously approved these changes Oct 23, 2024
@jpnovais jpnovais force-pushed the coordinator-code-reuse-2 branch from 8deb66f to d40aa4d Compare October 23, 2024 08:47
Base automatically changed from coordinator-code-reuse-2 to main October 23, 2024 08:52
@jpnovais jpnovais dismissed jonesho’s stale review October 23, 2024 08:52

The base branch was changed.

# Conflicts:
#	jvm-libs/generic/extensions/kotlin/src/test/kotlin/build/linea/URIExtensionsTest.kt
#	jvm-libs/generic/vertx-helper/src/main/kotlin/net/consensys/linea/vertx/ClientOptions.kt
#	jvm-libs/linea/blob-decompressor/src/test/kotlin/net/consensys/linea/blob/BlobDecompressorDataDecodingTest.kt
#	jvm-libs/linea/blob-decompressor/src/test/kotlin/net/consensys/linea/blob/GoNativeBlobDecompressorTest.kt
@jpnovais jpnovais requested a review from jonesho October 23, 2024 08:55
@jpnovais jpnovais temporarily deployed to docker-build-and-e2e October 23, 2024 08:58 — with GitHub Actions Inactive
Copy link
Collaborator

@Filter94 Filter94 left a comment

Choose a reason for hiding this comment

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

I looked at the next PR as well, but this new interface is not used there. Can you please explain the idea behind the generic client interface? Where it could be useful?

@jpnovais
Copy link
Collaborator Author

I looked at the next PR as well, but this new interface is not used there. Can you please explain the idea behind the generic client interface? Where it could be useful?

I discussed that in our coordinator meetings: The idea is for the Request class implements BlockInterval and allow to route requests to different instances based o a cutoff blocknumber.

@jpnovais jpnovais merged commit 9c6497f into main Oct 23, 2024
25 checks passed
@jpnovais jpnovais deleted the coordinator-code-reuse-3 branch October 23, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants