Skip to content

[chore] prep for chain v1.20.1 - #418

Merged
dbrajovic merged 5 commits into
devfrom
chore/prep-for-1.20.1-beta
Jun 29, 2026
Merged

[chore] prep for chain v1.20.1#418
dbrajovic merged 5 commits into
devfrom
chore/prep-for-1.20.1-beta

Conversation

@dbrajovic

@dbrajovicdbrajovic commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features
    • Added API support for preparing fee grants.
    • Added an RPC endpoint for funding payments in derivatives.
  • Bug Fixes
    • Refreshed generated protobuf client/server bindings to stay compatible with updated upstream message and service schemas.
  • Chores
    • Bumped the package version to v1.16.0 and updated the changelog entry.
    • Advanced upstream dependency revisions used for code generation (including the indexer clone revision).

@coderabbitai

coderabbitaiBot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 451de6f3-f307-4f6c-9183-4e03d1ca31f4

📥 Commits

Reviewing files that changed from the base of the PR and between 95cc7d9 and 72333c8.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • pyproject.toml
✅ Files skipped from review due to trivial changes (2)
  • pyproject.toml
  • CHANGELOG.md

📝 Walkthrough

Walkthrough

The PR updates generation inputs and package versioning, regenerates multiple protobuf descriptors, and adds gRPC bindings for new PrepareFeeGrant and FundingPayments RPCs.

Changes

Generated proto refresh

Layer / File(s)Summary
Input version updates
buf.gen.yaml, Makefile, pyproject.toml
The clone target, buf generation tags, and Poetry version are updated.
PrepareFeeGrant RPC
pyinjective/proto/exchange/injective_exchange_rpc_pb2.py, pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py
The Injective Exchange protobuf descriptor adds PrepareFeeGrant message types, and the gRPC module wires the new RPC through the stub, servicer, handler map, and experimental client.
Exchange descriptor refresh
pyinjective/proto/exchange/injective_chart_rpc_pb2.py, pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py, pyinjective/proto/exchange/injective_rfq_rpc_pb2.py
The chart, RFQ gateway, and RFQ protobuf modules rebuild serialized descriptor bytes and offset metadata.
Peggy descriptor refresh
pyinjective/proto/injective/peggy/v1/msgs_pb2.py, pyinjective/proto/injective/peggy/v1/rate_limit_pb2.py
The Peggy message and rate-limit protobuf modules add an oracle import and refresh descriptor bytes and offsets.
FundingPayments RPC
pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py, pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2_grpc.py
The TC derivatives protobuf descriptor and gRPC module add FundingPayments schema updates and client/server bindings.

Sequence Diagram(s)

sequenceDiagram
participant InjectiveExchangeRPCStub
participant add_InjectiveExchangeRPCServicer_to_server
participant InjectiveExchangeRPCServicer
add_InjectiveExchangeRPCServicer_to_server->>InjectiveExchangeRPCServicer: register PrepareFeeGrant handler
InjectiveExchangeRPCStub->>InjectiveExchangeRPCServicer: PrepareFeeGrantRequest
InjectiveExchangeRPCServicer-->>InjectiveExchangeRPCStub: UNIMPLEMENTED
Loading
sequenceDiagram
participant InjectiveTCDerivativesRPCStub
participant add_InjectiveTCDerivativesRPCServicer_to_server
participant InjectiveTCDerivativesRPCServicer
add_InjectiveTCDerivativesRPCServicer_to_server->>InjectiveTCDerivativesRPCServicer: register FundingPayments handler
InjectiveTCDerivativesRPCStub->>InjectiveTCDerivativesRPCServicer: FundingPaymentsRequest
InjectiveTCDerivativesRPCServicer-->>InjectiveTCDerivativesRPCStub: UNIMPLEMENTED
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

Hop-hop, I nibbled proto leaves so bright,
and found new RPC carrots in the light.
Fee grants and fundings now prance in a line,
with tidy bytes that shimmer and shine.
🐰✨

Possibly related PRs

  • InjectiveLabs/sdk-python#417: Directly updates the same proto-generation inputs and regeneration surface, making it the closest code-level companion to this descriptor/RPC refresh.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check nameStatusExplanationResolution
Docstring Coverage⚠️ WarningDocstring coverage is 50.00% which is insufficient. The required threshold is 80.00%.Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check nameStatusExplanation
Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
Title check✅ PassedThe title clearly matches the main change: preparing the SDK for chain v1.20.1.
Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/prep-for-1.20.1-beta

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

@dbrajovic
dbrajovic changed the base branch from master to devJune 25, 2026 10:11
@dbrajovicdbrajovic changed the title [chore] prep for chain v1.20.1-beta[chore] prep for chain v1.20.1Jun 29, 2026
@dbrajovic
dbrajovic merged commit c08388a into devJun 29, 2026
14 checks passed
@dbrajovic
dbrajovic deleted the chore/prep-for-1.20.1-beta branch June 29, 2026 16:07
Sign up for freeto 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.

1 participant

@dbrajovic