Closed trajan0x closed 1 month ago
Attention: Patch coverage is 15.38462%
with 11 lines
in your changes missing coverage. Please review.
Project coverage is 30.68453%. Comparing base (
648088c
) to head (0b2dc8e
). Report is 3 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...s/omnirpc/modules/receiptsbackup/receiptsbackup.go | 0.00000% | 8 Missing :warning: |
ethergo/util/attributes.go | 40.00000% | 2 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
0b2dc8e
|
Status: | ✅ Deploy successful! |
Preview URL: | https://4cda0d15.sanguine-fe.pages.dev |
Branch Preview URL: | https://fix-track-issue.sanguine-fe.pages.dev |
The changes in this pull request introduce a new constant txRawAttr
in the attributes.go
file to enhance transaction attribute handling. The TxToAttributes
function is modified to include the raw binary representation of transactions. Additionally, the processRequest
method in receiptsbackup.go
is updated to include tracing functionality, logging events related to request and response bodies. A comment indicating future tracing requirements is added to the Request
interface in client.go
. The overall structure and functionality of the affected components remain unchanged.
File Path | Change Summary |
---|---|
ethergo/util/attributes.go | Added constant txRawAttr and modified TxToAttributes function to include marshaled transaction attributes. |
ethergo/util/attributes_test.go | Enhanced TestTxToAttributesDynamicTX to verify marshaled transaction data representation. |
ethergo/util/export_test.go | Added constant TxRawAttr for testing purposes. |
services/omnirpc/http/client.go | Added comment // TODO: this needs to support tracing. in Request interface. |
services/omnirpc/modules/receiptsbackup/receiptsbackup.go | Enhanced processRequest method with tracing functionality, including logging of request and response bodies. |
TxToAttributes
function, which is directly related to the main PR's updates to the same function in ethergo/util/attributes.go
. Both PRs focus on enhancing the handling of transaction attributes, although the specific changes differ.size/m
, needs-go-generate-contrib/promexporter
🐰 In the code where the requests flow,
A little tracing now will grow!
With logs to see both request and reply,
Our observability will surely fly!
So hop along, let’s make it bright,
With every change, we’ll trace the light! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[goreleaser]
Description A clear and concise description of the features you're adding in this pull request.
Additional context Add any other context about the problem you're solving.
Metadata
Summary by CodeRabbit
New Features
Documentation
Request
interface.