-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: reards auction proto #2469
Conversation
WalkthroughThe recent updates introduce a rewards auction mechanism within the Changes
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 8
Configuration used: CodeRabbit UI
Files ignored due to path filters (5)
x/auction/auction.pb.go
is excluded by:!**/*.pb.go
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
x/auction/query.pb.go
is excluded by:!**/*.pb.go
x/auction/query.pb.gw.go
is excluded by:!**/*.pb.gw.go
x/auction/tx.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (5)
- proto/umee/auction/v1/auction.proto (1 hunks)
- proto/umee/auction/v1/genesis.proto (1 hunks)
- proto/umee/auction/v1/query.proto (1 hunks)
- proto/umee/auction/v1/tx.proto (1 hunks)
- proto/umee/ugov/v1/tx.proto (1 hunks)
Files skipped from review due to trivial changes (1)
- proto/umee/ugov/v1/tx.proto
Additional comments: 2
proto/umee/auction/v1/auction.proto (1)
- 9-15: LGTM! The
RewardsParams
message is clearly defined and well-documented.proto/umee/auction/v1/genesis.proto (1)
- 13-19: LGTM! The
GenesisState
message is clearly defined and well-documented, with appropriate use ofgogoproto.nullable = false
for non-nullable fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
x/auction/query.pb.go
is excluded by:!**/*.pb.go
x/auction/tx.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (2)
- proto/umee/auction/v1/query.proto (1 hunks)
- proto/umee/auction/v1/tx.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- proto/umee/auction/v1/query.proto
- proto/umee/auction/v1/tx.proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
x/auction/tx.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (2)
- proto/umee/auction/v1/genesis.proto (1 hunks)
- proto/umee/auction/v1/tx.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- proto/umee/auction/v1/genesis.proto
- proto/umee/auction/v1/tx.proto
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2469 +/- ##
==========================================
- Coverage 75.38% 69.38% -6.01%
==========================================
Files 100 185 +85
Lines 8025 10909 +2884
==========================================
+ Hits 6050 7569 +1519
- Misses 1589 2712 +1123
- Partials 386 628 +242 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
x/auction/query.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (1)
- proto/umee/auction/v1/query.proto (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- proto/umee/auction/v1/query.proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
x/auction/auction.pb.go
is excluded by:!**/*.pb.go
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (2)
- proto/umee/auction/v1/auction.proto (1 hunks)
- proto/umee/auction/v1/genesis.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- proto/umee/auction/v1/auction.proto
- proto/umee/auction/v1/genesis.proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 1
Configuration used: CodeRabbit UI
Files ignored due to path filters (3)
x/auction/events.pb.go
is excluded by:!**/*.pb.go
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
x/auction/tx.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (3)
- proto/umee/auction/v1/events.proto (1 hunks)
- proto/umee/auction/v1/genesis.proto (1 hunks)
- proto/umee/auction/v1/tx.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- proto/umee/auction/v1/genesis.proto
- proto/umee/auction/v1/tx.proto
Additional comments: 5
proto/umee/auction/v1/events.proto (5)
- 1-1: The syntax declaration is correct and follows the standard for protobuf files.
- 2-2: The package name
umee.auction.v1
is appropriately versioned, indicating a clear structure for future updates.- 4-6: Imports are correctly specified, ensuring that necessary types and options from external packages are available.
- 8-8: The
go_package
option is correctly set to match the expected Go module path, facilitating proper code generation.- 10-10: Disabling
goproto_getters_all
is a good practice for reducing boilerplate in the generated Go code, especially when getters are not needed for all fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (1)
- proto/umee/auction/v1/genesis.proto (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- proto/umee/auction/v1/genesis.proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
x/auction/genesis.pb.go
is excluded by:!**/*.pb.go
x/auction/query.pb.go
is excluded by:!**/*.pb.go
Files selected for processing (2)
- proto/umee/auction/v1/genesis.proto (1 hunks)
- proto/umee/auction/v1/query.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- proto/umee/auction/v1/genesis.proto
- proto/umee/auction/v1/query.proto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM , pre-approving , small suggestions
Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- proto/umee/auction/v1/genesis.proto (1 hunks)
- proto/umee/auction/v1/query.proto (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- proto/umee/auction/v1/query.proto
Additional comments: 1
proto/umee/auction/v1/genesis.proto (1)
- 20-20: The use of
cosmos.AddressString
for thehighest_bidder
field is appropriate for ensuring address format correctness in Cosmos SDK projects. However, ensure that the Cosmos SDK version used in the project supports this extension, as the static analysis tool flagged it as an unknown extension. This is likely a false positive, but verifying SDK compatibility is important.
Description
Summary by CodeRabbit