Closed robert-zaremba closed 5 months ago
The recent changes in the x/auction/keeper/grpc_query.go
file involve enhancing the error handling in the RewardsAuction
function. Specifically, the function now checks for nil rewards and returns an appropriate error if rewards are not found. Additionally, necessary imports for gRPC status codes and error handling have been added to support these improvements.
Files | Change Summary |
---|---|
x/auction/keeper/grpc_query.go |
Added imports for gRPC status codes and refactored RewardsAuction function to handle nil rewards and return errors if rewards are not found. |
In the code where auctions play,
Rewards and bids now find their way.
With gRPC's guiding light,
Errors handled, clear and bright.
A rabbit's joy in every line,
Making auctions run just fine. 🐇✨
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 7 lines
in your changes missing coverage. Please review.
Project coverage is 62.76%. Comparing base (
7f05ad4
) to head (69f9877
). Report is 494 commits behind head on main.:exclamation: Current head 69f9877 differs from pull request most recent head fde43f9
Please upload reports for the commit fde43f9 to get more accurate results.
Description
Summary by CodeRabbit