Skip to content

Release/v1.13#406

Merged
aarmoa merged 1 commit intodevfrom
release/v1_13
Feb 13, 2026
Merged

Release/v1.13#406
aarmoa merged 1 commit intodevfrom
release/v1_13

Conversation

@aarmoa
Copy link
Collaborator

@aarmoa aarmoa commented Feb 13, 2026

  • Updated proto dependencies to Injective chain v1.18.0 and Indexer v1.18.3

Summary by CodeRabbit

  • Chores

    • Updated dependencies: injective-indexer to v1.18.3; cometbft to v1.0.1-inj.6; cosmos-sdk to v0.50.14-inj.4; injective-core to v1.18.0.
  • New Features

    • Added RFQ (Request for Quote) RPC service with full client and server support.
    • Introduced EnforcedRestrictionsContract for exchange parameters.
    • Added Band Oracle proposals (grant, revoke, authorize, update, enable IBC).
  • Tests

    • Updated exchange API tests to reflect new EnforcedRestrictionsContract structure.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 13, 2026

📝 Walkthrough

Walkthrough

This pull request updates dependencies in build configuration, converts numeric Decimal constructors to string-based in example code, expands protobuf definitions with new message types and gRPC services, and updates related tests to match the new proto structures.

Changes

Cohort / File(s) Summary
Dependency Version Updates
Makefile, buf.gen.yaml
Updated git source tags for clone-injective-indexer (v1.17.81 → v1.18.3) and bumped dependency versions for cometbft, cosmos-sdk, and injective-core.
Example Files - Decimal String Conversion
examples/chain_client/10_SearchLiquidablePositions.py, examples/chain_client/1_LocalOrderHash.py, examples/chain_client/exchange/10_MsgCreateDerivativeLimitOrder.py, examples/chain_client/exchange/11_MsgCreateDerivativeMarketOrder.py, examples/chain_client/exchange/15_MsgCreateBinaryOptionsMarketOrder.py, examples/chain_client/exchange/19_MsgLiquidatePosition.py, examples/chain_client/exchange/20_MsgIncreasePositionMargin.py, examples/chain_client/exchange/22_MsgAdminUpdateBinaryOptionsMarket.py, examples/chain_client/exchange/23_MsgDecreasePositionMargin.py, examples/chain_client/exchange/29_MsgCreateGTBDerivativeLimitOrder.py, examples/chain_client/exchange/9_MsgBatchUpdateOrders.py
Converted numeric Decimal constructors to string-based (e.g., Decimal(50000)Decimal("50000")) and replaced dynamic margin calculations via composer.calculate_margin() with hardcoded Decimal values.
Protobuf RFQ Service Definitions
pyinjective/proto/exchange/injective_rfqrpc_pb2.py, pyinjective/proto/exchange/injective_rfqrpc_pb2_grpc.py
Added new RFQ gRPC service bindings with client stub, servicer base, and experimental client implementation supporting Request, Quote, Settlement, and stream operations.
Protobuf Descriptor Metadata Updates
pyinjective/proto/cosmos/authz/v1beta1/tx_pb2.py, pyinjective/proto/cosmos/authz/v1beta1/tx_pb2_grpc.py, pyinjective/proto/injective/evm/v1/tx_pb2.py, pyinjective/proto/injective/peggy/v1/attestation_pb2.py, pyinjective/proto/injective/peggy/v1/batch_pb2.py, pyinjective/proto/injective/peggy/v1/msgs_pb2.py, pyinjective/proto/injective/peggy/v1/types_pb2.py
Updated descriptor serialized options, option field wiring, and import references (e.g., cosmos_pb2 additions) for message types and RPC methods; adjusted serialized\_start/\_end ranges.
Protobuf New Message Types
pyinjective/proto/injective/exchange/v2/exchange_pb2.py, pyinjective/proto/injective/oracle/v1beta1/proposal_pb2.py
Introduced EnforcedRestrictionsContract message and Band Oracle proposal types (GrantBandOraclePrivilegeProposal, RevokeBandOraclePrivilegeProposal, AuthorizeBandOracleRequestProposal, UpdateBandOracleRequestProposal, EnableBandIBCProposal); extended Params with new fields.
Test Updates
tests/client/chain/grpc/test_chain_grpc_exchange_v2_api.py
Updated test to use EnforcedRestrictionsContract objects instead of plain strings for enforced\_restrictions\_contracts field in Params serialization.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Poem

🐰 With strings in Decimals, clean and precise,
And RFQ service, oh so nice!
New proto messages bloom with grace,
Dependencies updated at proper pace,
This hop forward feels just right! 🌟

🚥 Pre-merge checks | ✅ 2 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 35.29% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Release/v1.13' is vague and generic, using a version number format that doesn't convey meaningful information about the changeset without additional context. Consider using a more descriptive title like 'Update proto dependencies to Injective chain v1.18.0 and Indexer v1.18.3' to clearly communicate the main changes.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into dev

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

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/v1_13

No actionable comments were generated in the recent review. 🎉


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

@aarmoa aarmoa merged commit 3e260d6 into dev Feb 13, 2026
10 checks passed
@aarmoa aarmoa deleted the release/v1_13 branch February 13, 2026 19:11
@coderabbitai coderabbitai bot mentioned this pull request Feb 13, 2026
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.

1 participant