Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

All notable changes to this project will be documented in this file.

## [v1.15.0]
## [v1.15.0] 2026-06-02
### Added
- Added support in v2 Composer for the new exchange module MsgBatchLiquidatePositions message, including the `liquidate_position_data` and `msg_batch_liquidate_positions` composer helpers and a corresponding example script
- Exposed `OrderType`, `OracleType`, and `CrossMarginEligibility` proto enums as `IntEnum` class attributes on the v2 `Composer` (`Composer.ORDER_TYPE`, `Composer.ORACLE_TYPE`, `Composer.CROSS_MARGIN_ELIGIBILITY`) for IDE discoverability and type safety. The `order_type` and `oracle_type` parameters in composer methods now accept either the string name or an integer / enum value (backward-compatible); `cross_margin_eligibility` (newly introduced this release) accepts only the `Composer.CROSS_MARGIN_ELIGIBILITY` enum.

### Changed
- Updated all compiled protos for compatibility with Injective core v1.20.0 and Indexer v1.19.41
- Updated all compiled protos for compatibility with Injective core v1.20.0 and Indexer v1.20.2

## [1.14.1] - 2026-04-29
### Changed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ clean-all:
$(call clean_repos)

clone-injective-indexer:
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.19.41 --depth 1 --single-branch
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.20.2 --depth 1 --single-branch

clone-all: clone-injective-indexer

Expand Down
6 changes: 3 additions & 3 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ inputs:
- git_repo: https://github.com/InjectiveLabs/wasmd
tag: v0.53.3-inj.3
- git_repo: https://github.com/InjectiveLabs/cometbft
tag: v1.0.1-inj.7
tag: v1.0.1-inj.v1.19.0-rollback
Comment on lines 18 to +19
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Confirm the pinned cometbft tag exists
git ls-remote --tags https://github.com/InjectiveLabs/cometbft.git | grep -i 'v1.0.1-inj'

Repository: InjectiveLabs/sdk-python

Length of output: 1066


🏁 Script executed:

#!/bin/bash
set -euo pipefail
# Show buf.gen.yaml around the referenced lines
ls -la
if [ -f buf.gen.yaml ]; then
  nl -ba buf.gen.yaml | sed -n '1,120p'
else
  echo "buf.gen.yaml not found in repo root"
fi

Repository: InjectiveLabs/sdk-python

Length of output: 1886


🏁 Script executed:

#!/bin/bash
set -euo pipefail
if [ -f buf.gen.yaml ]; then
  cat -n buf.gen.yaml | sed -n '1,120p'
else
  echo "buf.gen.yaml not found in repo root"
fi

Repository: InjectiveLabs/sdk-python

Length of output: 1216


Clarify the cometbft -rollback pin and clean up stale commented config

  • buf.gen.yaml pins cometbft to v1.0.1-inj.v1.19.0-rollback (lines 18-19); the tag exists upstream, but confirm this is the intended source for injective-core v1.20.0 (document why v1.19.0/-rollback is used).
  • cosmos-sdk is pinned to v0.50.14-inj.10 (line 21), matching the expected minor bump.
  • The commented-out injective-core chainlink block (lines 25-27) remains; remove it if obsolete or re-enable it with the correct branch control.
🤖 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 `@buf.gen.yaml` around lines 18 - 19, In buf.gen.yaml, clarify why cometbft is
pinned to tag "v1.0.1-inj.v1.19.0-rollback" (confirm it is the intended upstream
source for injective-core v1.20.0 and add a short comment explaining the v1.19
rollback reason), verify the cosmos-sdk pin "v0.50.14-inj.10" is correct, and
remove the stale commented-out injective-core chainlink block (or re-enable it
with the correct branch/tag if it’s actually required); update the surrounding
comments to state the rationale for the cometbft rollback tag and whether
injective-core v1.20.0 depends on that specific fork.

- git_repo: https://github.com/InjectiveLabs/cosmos-sdk
tag: v0.50.14-inj.9
tag: v0.50.14-inj.10
- git_repo: https://github.com/InjectiveLabs/injective-core
tag: v1.20.0-alpha.3
tag: v1.20.0
subdir: proto
# - git_repo: https://github.com/InjectiveLabs/injective-core
# branch: c-655/add_chainlink_data_streams_oracle
Expand Down
6 changes: 6 additions & 0 deletions pyinjective/ofac.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[
"0x0330070fd38ec3bb94f58fa55d40368271e9e54a",
"0x038989cbb1710c72b9920dc4fa529158f463e72c",
"0x04dba1194ee10112fe6c3207c0687def0e78bacf",
"0x08723392ed15743cc38513c4925f5e6be5c17243",
"0x08b2efdcdb8822efe5ad0eae55517cf5dc544251",
"0x0931ca4d13bb4ba75d9b7132ab690265d749a5e7",
"0x098b716b8aaf21512996dc57eb0615e2383e2f96",
"0x0ee5067b06776a89ccc7dc8ee369984ad7db5e06",
"0x12de548f79a50d2bd05481c8515c1ef5183666a9",
"0x14779cec0b117d5194c750c55ea1f42086631964",
"0x175d44451403edf28469df03a9280c1197adb92c",
"0x1967d8af5bd86a497fb3dd7899a020e47560daaf",
"0x1999ef52700c34de7ec2b68a28aafb37db0c5ade",
Expand All @@ -16,6 +18,7 @@
"0x21b8d56bda776bbe68655a16895afd96f5534fed",
"0x2f389ce8bd8ff92de3402ffce4691d17fc4f6535",
"0x308ed4b7b49797e1a98d3818bff6fe5385410370",
"0x32da24ca413f3e7b53145d4737e172c3bdf81e3e",
"0x35fb6f6db4fb05e6a4ce86f2c93691425626d4b1",
"0x38735f03b30fbc022ddd06abed01f0ca823c6a94",
"0x39d908dac893cbcb53cc86e0ecc369aa4def1a29",
Expand All @@ -25,6 +28,7 @@
"0x3e37627deaa754090fbfbb8bd226c1ce66d255e9",
"0x43fa21d92141ba9db43052492e0deee5aa5f0a93",
"0x48549a34ae37b12f6a30566245176994e17c6b4a",
"0x4f428c11dc82388fa5136d636e613ad923eb700b",
"0x4f47bc496083c727c5fbe3ce9cdf2b0f6496270c",
"0x502371699497d08d5339c870851898d6d72521dd",
"0x530a64c0ce595026a4a556b703644228179e2d57",
Expand Down Expand Up @@ -62,6 +66,7 @@
"0x9f4cda013e354b8fc285bf4b9a60460cee7f7ea9",
"0xa0e1c89ef1a489c9c7de96311ed5ce5d32c20e4b",
"0xa7e5d5a720f06526557c513402f2e6b5fa20b008",
"0xac4cc4b68ea24bbfaac8fd127b67ed445accce22",
"0xb338962b92cd818d6aef0a32a9ecd01212a71f33",
"0xb637f84b66876ebf609c2a4208905f9ddac9d075",
"0xb6f5ec1a0a9cd1526536d3f0426c429529471f40",
Expand All @@ -83,6 +88,7 @@
"0xe950dc316b836e4eefb8308bf32bf7c72a1358ff",
"0xed6e0a7e4ac94d976eebfb82ccf777a3c6bad921",
"0xefe301d259f525ca1ba74a7977b80d5b060b3cca",
"0xf2235d55b2950a0b1317469d72d07ae65b2e27cb",
"0xf3701f445b6bdafedbca97d1e477357839e4120d",
"0xf4377eda661e04b6dda78969796ed31658d602d4",
"0xf7b31119c2682c88d88d455dbb9d5932c65cf1be",
Expand Down
12 changes: 9 additions & 3 deletions pyinjective/proto/exchange/event_provider_api_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading