Closed dwasse closed 20 hours ago
The changes made in this pull request primarily focus on the QuoterAPIServer
struct and its methods in the services/rfq/api/rest/server.go
file, specifically altering the role verification logic to include parameters for QUOTER_ROLE
and RELAYER_ROLE
. Additionally, the error handling within the checkRole
method has been refined. In the services/rfq/e2e/setup_test.go
file, the role management in the setupRelayer
method has been updated to reflect the new role names and logic, including the introduction of a quoterRole
.
File | Change Summary |
---|---|
services/rfq/api/rest/server.go |
Updated checkRole method to accept a role parameter and refined error handling. Modified checkRoleParallel and AuthMiddleware logic. |
services/rfq/e2e/setup_test.go |
Renamed relayerRole to proverRole in setupRelayer method, introduced quoterRole , and updated error handling and role-granting logic. Added transaction confirmation for granting the quoter role. |
checkRole
method in the QuoterAPIServer
class, enhancing error handling and role caching logic.quoter.go
file, which may relate to the overall role management and quote processing logic discussed in the main PR.size/s
🐰 In the meadow, roles do play,
Quoters shine in a brand new way.
With checks refined, and errors clear,
The server hops with joyful cheer!
Roles now dance, a merry tune,
In the RFQ sun, we’ll all be in bloom! 🌼
[!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 (1.61.0)
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?
Latest commit: |
67e96e0
|
Status: | ✅ Deploy successful! |
Preview URL: | https://ac8fffd6.sanguine-fe.pages.dev |
Branch Preview URL: | https://feat-quoter-role-no-relayer.sanguine-fe.pages.dev |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 24.77410%. Comparing base (
8edcb7b
) to head (d5b702e
). Report is 1 commits behind head on feat/relayer-arb-call.:exclamation: There is a different number of reports uploaded between BASE (8edcb7b) and HEAD (d5b702e). Click for more details.
HEAD has 1 upload less than BASE
| Flag | BASE (8edcb7b) | HEAD (d5b702e) | |------|------|------| |solidity|1|0|
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Summary by CodeRabbit
New Features
quoterRole
.Bug Fixes
Documentation