Closed chuangjinglu closed 3 days ago
This pull request includes modifications to two interface files. In ingest/common/domain/pools.go
, the method ExtractrCreated
has been renamed to ExtractCreated
within the PoolExtractor
interface, correcting a typo without changing its parameters or return types. In x/twap/types/expected_interfaces.go
, the method CalculateSpotPrice
has been renamed to RouteCalculateSpotPrice
in the PoolManagerInterface
, with updated comments reflecting this change. Both changes maintain the overall functionality of their respective interfaces.
File | Change Summary |
---|---|
ingest/common/domain/pools.go |
Renamed method ExtractrCreated to ExtractCreated in PoolExtractor interface. |
x/twap/types/expected_interfaces.go |
Renamed method CalculateSpotPrice to RouteCalculateSpotPrice in PoolManagerInterface . |
PoolExtracter
to PoolExtractor
, which directly relates to the typo correction in the PoolExtractor
interface in the main PR.A:no-changelog
, A:backport/v25.x
[!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="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar."
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?
Important note to contributors: We deeply value your contributions. However, due to a large influx of airdrop hunters, we are currently unable to accept small lint changes from first-time contributors. We encourage you to look for issues that offer more substantial contributions to the project or issues from the good first issue label. This helps us maintain the quality and integrity of the codebase, and provides a more meaningful experience for you as a contributor.
What is the purpose of the change
fix some function names in interface comment
Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)