Skip to content

Conversation

@Frederick-88
Copy link
Collaborator

@Frederick-88 Frederick-88 commented Jan 19, 2026

Summary by CodeRabbit

  • Chores

    • Updated protocol buffer library dependency
  • New Features

    • Reward API responses now include mini epochs reward data for detailed tracking and analysis

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 19, 2026

📝 Walkthrough

Walkthrough

The PR updates the @injectivelabs/olp-proto-ts-v2 dependency to version 1.17.6 and extends reward-related types and transformers to support a new optional miniEpochsReward field across the reward distribution and market reward structures.

Changes

Cohort / File(s) Summary
Dependency Update
packages/sdk-ts/package.json
@injectivelabs/olp-proto-ts-v2 bumped from 1.17.5 to 1.17.6
Type Definitions
packages/sdk-ts/src/client/olp/grpc/types/index.ts
Added optional miniEpochsReward?: string field to RewardDistribution interface
Transformer Methods
packages/sdk-ts/src/client/olp/grpc/transformers/index.ts
Updated grpcMarketRewardToMarketReward and grpcRewardsDistributionToRewardsDistribution to map miniEpochsReward from input to output objects

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A tiny reward now hops into view,
The transformers dance with fields fresh and new,
Mini epochs rewarded with utmost care,
Types extended, the bounty to share! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix/olp-rewards-mini-epoch' clearly summarizes the main change—adding miniEpochsReward field to OLP rewards-related types and transformers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Comment @coderabbitai help to get the list of available commands and usage tips.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​injectivelabs/​olp-proto-ts-v2@​1.17.5 ⏵ 1.17.673 +110073 +196 +1100

View full report

@ThomasRalee ThomasRalee merged commit cacfe0b into dev Jan 19, 2026
5 checks passed
@ThomasRalee ThomasRalee deleted the fix/olp-rewards-mini-epoch branch January 19, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants