Closed dwasse closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The changes in this pull request involve modifications to the QuoteData
struct by removing the OriginAmount
field, which affects how quote requests are structured. Additionally, a new method GenerateActiveRFQ
is introduced in the Manager
struct, enhancing the functionality for generating active RFQs. The generateActiveRFQ
method is updated to handle new fields and adjust destination amounts by accounting for fees. The test suite is also expanded with a new test method to validate the active RFQ generation process.
File Path | Change Summary |
---|---|
services/rfq/api/model/request.go |
Removed field: OriginAmount from QuoteData struct. |
services/rfq/relayer/quoter/export_test.go |
Added method: GenerateActiveRFQ to Manager struct. |
services/rfq/relayer/quoter/quoter.go |
Updated generateActiveRFQ method to handle ZapNative and ZapData , adjusted destination amount. Modified QuoteInput struct to include QuoteRequest . |
services/rfq/relayer/quoter/quoter_test.go |
Added test method: TestGenerateActiveRFQ to validate RFQ generation. Imported encoding/json . |
OriginAmount
field from the QuoteData
struct, which is directly related to the changes in this PR that also modifies the QuoteData
struct by removing the same field.size/m
🐰 In the meadow, changes bloom,
Removing amounts, making room.
New methods sprout, tests take flight,
Quoting with care, all feels right.
With every hop, we grow and play,
In code we trust, come what may! 🌼
[!WARNING]
Rate limit exceeded
@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 19 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.📥 Commits
Reviewing files that changed from the base of the PR and between 1caa62ce3699e73be97a1e8f7bf181554e4c627f and 40eb027ad136536471aded5edae282855a714370.
[!WARNING] There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.
🔧 golangci-lint
level=warning msg="[config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`." level=warning msg="[config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`." level=warning msg="[config_reader] The configuration option `run.skip-dirs-use-default` is deprecated, please use `issues.exclude-dirs-use-default`." level=warning msg="[lintersdb] The linter \"maligned\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"exhaustivestruct\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"ifshort\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"interfacer\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The linter \"nosnakecase\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle" level=warning msg="[lintersdb] The name \"goerr113\" is deprecated. The linter has been renamed to: err113." level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar." level=warning msg="The linter 'execinquery' is deprecated (since v1.58.0) due to: The repository of the linter has been archived by the owner. "
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 29.16667%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 30.87471%. Comparing base (
7d47ab0
) to head (40eb027
). Report is 1 commits behind head on feat/arb-call-fee-pricer.
Files with missing lines | Patch % | Lines |
---|---|---|
services/rfq/relayer/quoter/quoter.go | 29.16667% | 14 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
40eb027
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2952e095.sanguine-fe.pages.dev |
Branch Preview URL: | https://feat-zap-quote-pricing.sanguine-fe.pages.dev |
Summary by CodeRabbit
New Features
ZapNative
andZapData
).Bug Fixes
Tests