Closed trajan0x closed 2 months ago
The changes introduce the harmonyproxy
package, which addresses inconsistencies in transaction hashes from the Harmony blockchain. It differentiates between Harmony-specific transaction hashes (hmytxhash
) and Ethereum-compatible transaction hashes (ethtxhash
). The package ensures that only the ethtxhash
is used in interactions with Ethereum-compatible systems. Additionally, modifications to the ProxyRequest
method enhance observability by capturing request and response body attributes for better tracking and debugging.
File | Change Summary |
---|---|
services/omnirpc/modules/harmonyproxy/README.md |
Added the harmonyproxy package, detailing its purpose and functionality regarding transaction hashes. |
services/omnirpc/modules/harmonyproxy/harmonyproxy.go |
Enhanced the ProxyRequest method with additional attributes for request and response bodies to improve observability. |
In the land of code where rabbits play,
A proxy was born to lead the way.
With hashes in hand, both old and new,
It ensures the right paths for all to pursue.
Hopping along, with data so bright,
The harmony of chains shines ever so 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?
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 36.36577%. Comparing base (
7a118c9
) to head (17c9419
). Report is 2 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
...vices/omnirpc/modules/harmonyproxy/harmonyproxy.go | 0.00000% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
17c9419
|
Status: | ✅ Deploy successful! |
Preview URL: | https://cd52f55b.sanguine-fe.pages.dev |
Branch Preview URL: | https://fix-harmony-proxy.sanguine-fe.pages.dev |
[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
harmonyproxy
package to enhance transaction hash handling between Harmony and Ethereum systems, ensuring compatibility and reliability.Improvements