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

Blob Decompressor and Some Helpers #230

Merged
merged 10 commits into from
Oct 23, 2024
Merged

Blob Decompressor and Some Helpers #230

merged 10 commits into from
Oct 23, 2024

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 requested a review from a team October 22, 2024 19:30
@jpnovais jpnovais temporarily deployed to docker-build-and-e2e October 22, 2024 19:30 — with GitHub Actions Inactive
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 15.78947% with 32 lines in your changes missing coverage. Please review.

Project coverage is 71.01%. Comparing base (ce964fc) to head (8a01ae9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...t/consensys/linea/blob/GoNativeBlobDecompressor.kt 0.00% 25 Missing ⚠️
.../kotlin/net/consensys/linea/vertx/ClientOptions.kt 0.00% 4 Missing ⚠️
...weni/src/main/kotlin/build/linea/tuweni/Bytes32.kt 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main     #230   +/-   ##
=========================================
  Coverage     71.01%   71.01%           
- Complexity     1074     1075    +1     
=========================================
  Files           292      296    +4     
  Lines         12017    12055   +38     
  Branches       1058     1063    +5     
=========================================
+ Hits           8534     8561   +27     
- Misses         3004     3015   +11     
  Partials        479      479           
Flag Coverage Δ *Carryforward flag
hardhat 98.67% <ø> (ø) Carriedforward from f729f9a
kotlin 68.76% <15.78%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
...otlin/src/main/kotlin/build/linea/URIExtensions.kt 100.00% <100.00%> (ø)
...n/src/main/kotlin/build/linea/jvm/ResourcesUtil.kt 80.00% <ø> (ø)
...ea/jsonrpc/client/VertxHttpJsonRpcClientFactory.kt 57.44% <ø> (ø)
...net/consensys/linea/blob/GoNativeBlobCompressor.kt 87.50% <ø> (ø)
...weni/src/main/kotlin/build/linea/tuweni/Bytes32.kt 0.00% <0.00%> (ø)
.../kotlin/net/consensys/linea/vertx/ClientOptions.kt 0.00% <0.00%> (ø)
...t/consensys/linea/blob/GoNativeBlobDecompressor.kt 0.00% <0.00%> (ø)

... and 8 files with indirect coverage changes

@jpnovais jpnovais force-pushed the coordinator-code-reuse-1 branch from 00bd24f to 3e02856 Compare October 22, 2024 19:47
@jpnovais jpnovais had a problem deploying to docker-build-and-e2e October 22, 2024 19:50 — with GitHub Actions Failure
@jpnovais jpnovais had a problem deploying to docker-build-and-e2e October 22, 2024 20:47 — with GitHub Actions Failure
@jpnovais jpnovais had a problem deploying to docker-build-and-e2e October 22, 2024 21:28 — with GitHub Actions Failure
Copy link
Contributor

@jonesho jonesho left a comment

Choose a reason for hiding this comment

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

Just two quesstions from my side, other looks good to me

@jpnovais jpnovais changed the title coordinator code reuse 1 Blob Decompressor and Some Helpers Oct 23, 2024
@jpnovais
Copy link
Collaborator Author

@jonesho questions addressed. Please take a 2nd look.

@jpnovais jpnovais requested a review from jonesho October 23, 2024 08:01
@jpnovais jpnovais temporarily deployed to docker-build-and-e2e October 23, 2024 08:25 — with GitHub Actions Inactive
jonesho
jonesho previously approved these changes Oct 23, 2024
@jpnovais jpnovais merged commit ecfe183 into main Oct 23, 2024
17 checks passed
@jpnovais jpnovais deleted the coordinator-code-reuse-1 branch October 23, 2024 08:46
}
rlpWriter.endList()
}.toArray()
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@jpnovais A late question, not a blocker to this PR, why not put them in ByteArrayExtension?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because generic/extensions/XYZ, must be vanila packages that do not bring extra dependencies. To do that, I would need to add Besu libraries to generic/extensions/kotlin.

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