Closed golangisfun123 closed 2 weeks ago
The updates streamline dependencies across modules, primarily focusing on switching assertion and color libraries. There's a notable enhancement in the relapi
package, introducing methods for transaction hash retrieval by nonce, involving new route definitions and handlers. Import statements in multiple files are reorganized to improve maintainability. The .vscode/settings.json
adjusts formatting settings, and additional indirect dependencies are added to services/rfq
to support new features.
File / Path | Change Summary |
---|---|
agents/go.mod | Removed dependencies on github.com/alecthomas/colour and github.com/alecthomas/repr . |
core/go.mod | Added dependencies: github.com/alecthomas/assert , github.com/alecthomas/colour , repr . |
core/metrics/base.go | Reorganized import statements and removed redundant net/http import. |
core/metrics/metrics.go | Consolidated imports: Added net/http , os , strings . |
core/metrics/metrics_test.go | Switched from github.com/stretchr/testify/assert to github.com/alecthomas/assert . |
services/explorer/go.mod | Removed dependencies on github.com/alecthomas/colour and github.com/alecthomas/repr . |
services/rfq/go.mod | Added new indirect dependencies to support features (e.g., charmbracelet , coninput ). |
.../rfq/relayer/cmd/commands.go | Changed chainID handling, added spinner for transaction status, changed to big.Int . |
.../rfq/relayer/relapi/client.go | Introduced GetTxHashByNonce method for RelayerClient interface and its implementation. |
.../rfq/relayer/relapi/handler.go | Added GetTxHashByNonce function to Handler for retrieving transaction hash by nonce. |
.../rfq/relayer/relapi/server.go | Added route getTxHashByNonceRoute and handler registration for GetTxHashByNonce . |
.../rfq/relayer/relapi/client_test.go | Added test functions (TestEthWithdraw , TestERC20Withdraw , etc.) for withdrawals and getting TX hashes. |
services/scribe/go.mod | Removed github.com/alecthomas/assert dependency. |
.vscode/settings.json | Commented out editor.formatOnSave setting. |
.../cctp-relayer/go.mod | Removed dependencies on github.com/alecthomas/assert , colour , repr . |
.../cctp-relayer/relayer/util_test.go | Switched assert library import to github.com/stretchr/testify/assert . |
.../rfq/relayer/relconfig/config_test.go | Changed assert import to github.com/stretchr/testify/assert . |
In lines of code where features bloom,
We changed dependencies for room,
Imports shuffled, colors bright,
Functions gleam in summer's light.
Spinners spin, TX hashes gleam,
Optimize for the rabbit's dream.
✨🐇✨
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 18.82845%
with 194 lines
in your changes missing coverage. Please review.
Project coverage is 25.35979%. Comparing base (
e401a73
) to head (4c475e9
). Report is 4 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
4c475e9
|
Status: | ✅ Deploy successful! |
Preview URL: | https://77a91e9f.sanguine-fe.pages.dev |
Branch Preview URL: | https://withdrawal-print.sanguine-fe.pages.dev |
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
Bug Fixes
Tests
Chores
editor.formatOnSave
setting in the VSCode configuration.