chore: prep for v1.20.1-beta#19
Conversation
📝 WalkthroughWalkthroughThis PR updates top-level ignore/version-tag metadata and expands several protobuf APIs and schemas across exchange, RFQ, derivatives, and Peggy definitions. ChangesRepository maintenance
Proto API updates
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@all_protos/exchange/injective_chart_rpc.proto`:
- Around line 98-100: The doc comment on the Injective chart RPC proto field
uses camelCase names that do not match the message’s snake_case fields. Update
the comment on index_prices so it refers to use_oracle_prices and fill_gaps
instead of useOraclePrices and fillGaps, keeping the wording aligned with the
actual proto symbols.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 6e49919d-e058-479e-a8ac-f8a1ca9ba6e5
⛔ Files ignored due to path filters (5)
cpp_protos.zipis excluded by!**/*.zipcsharp_protos.zipis excluded by!**/*.zipjava_protos.zipis excluded by!**/*.zippython_protos.zipis excluded by!**/*.ziprust_protos.zipis excluded by!**/*.zip
📒 Files selected for processing (9)
.gitignoreMakefileall_protos/exchange/injective_chart_rpc.protoall_protos/exchange/injective_exchange_rpc.protoall_protos/exchange/injective_rfq_gw_rpc.protoall_protos/exchange/injective_rfq_rpc.protoall_protos/exchange/injective_tc_derivatives_rpc.protoall_protos/injective/peggy/v1/msgs.protoall_protos/injective/peggy/v1/rate_limit.proto
| // When true, we'll use index prices. Supersedes useOraclePrices and fillGaps. | ||
| // Disabled for binary options markets. | ||
| bool index_prices = 9; |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Comment uses camelCase field names that don't match the proto fields.
The doc references useOraclePrices and fillGaps, but the actual fields in this message are use_oracle_prices and fill_gaps. Align the comment with the snake_case proto names for clarity.
📝 Proposed doc fix
- // When true, we'll use index prices. Supersedes useOraclePrices and fillGaps.
-// Disabled for binary options markets.
+ // When true, we'll use index prices. Supersedes use_oracle_prices and fill_gaps.
+// Disabled for binary options markets.
bool index_prices = 9;📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| // When true, we'll use index prices. Supersedes useOraclePrices and fillGaps. | |
| // Disabled for binary options markets. | |
| bool index_prices = 9; | |
| // When true, we'll use index prices. Supersedes use_oracle_prices and fill_gaps. | |
| // Disabled for binary options markets. | |
| bool index_prices = 9; |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@all_protos/exchange/injective_chart_rpc.proto` around lines 98 - 100, The doc
comment on the Injective chart RPC proto field uses camelCase names that do not
match the message’s snake_case fields. Update the comment on index_prices so it
refers to use_oracle_prices and fill_gaps instead of useOraclePrices and
fillGaps, keeping the wording aligned with the actual proto symbols.
Summary by CodeRabbit
New Features
Bug Fixes
Chores