Skip to content

Commit 33cd59e

Browse files
authored
Merge pull request #409 from InjectiveLabs/chore/sync_dev_with_master_after_v1_13_1
[CHORE] sync dev with master after v1.13.1
2 parents 3e260d6 + a329fe5 commit 33cd59e

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
run-tests:
99
strategy:
1010
matrix:
11-
python: ["3.10", "3.11", "3.12"]
11+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212
os: [ubuntu-latest, macos-latest]
1313
runs-on: ${{ matrix.os }}
1414
env:

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@
22

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

5-
## [Unreleased] - 9999-99-99
5+
## [1.14.0] - 9999-99-99
6+
7+
## [1.13.0] - 2026-02-13
8+
### Changed
9+
- Updated all compiled protos for compatibility with Injective core v1.18.0 and Indexer v1.18.3
10+
- Includes new proto definitions for the Chainlink Data Streams oracle
611

712
## [1.12.0] - 2025-11-10
813
### Changed
914
- Updated all compiled protos for compatibility with Injective core v1.17.0 and Indexer v1.17.16
15+
- Included the OpenNotionalCap in derivative markets
16+
- Added support for market orders creation with the MsgBatchUpdateOrders message
17+
- Support for order failure events and conditional orders trigger failures in the chainstrem updates
1018

1119
## [1.11.2] - 2025-09-24
1220
### Added

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyinjective/orderhash.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
from decimal import Decimal
22

33
import requests
4-
from eip712.messages import EIP712Domain, EIP712Message
4+
from eip712.messages import EIP712Domain, EIP712Message, EIP712Type
55
from eth_account.messages import _hash_eip191_message as hash_eip191_message
66
from eth_pydantic_types import abi
77
from hexbytes import HexBytes
8-
from pydantic import BaseModel
98

109
from pyinjective.core.token import Token
1110

1211

13-
class OrderInfo(BaseModel):
12+
class OrderInfo(EIP712Type):
1413
SubaccountId: abi.string
1514
FeeRecipient: abi.string
1615
Price: abi.string

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "injective-py"
3-
version = "1.13.0-rc1"
3+
version = "1.14.0-rc1"
44
description = "Injective Python SDK, with Exchange API Client"
55
authors = ["Injective Labs <contact@injectivelabs.org>"]
66
license = "Apache-2.0"
@@ -21,12 +21,13 @@ include = [
2121
]
2222

2323
[tool.poetry.dependencies]
24-
python = "^3.10"
24+
python = ">=3.10,<3.13"
2525
aiohttp = "^3.9.4" # Version dependency due to https://github.com/InjectiveLabs/sdk-python/security/dependabot/18
2626
bech32 = "*"
2727
bip32 = "*"
2828
ecdsa = "*"
29-
eip712 = "*"
29+
eip712 = "^0.3.0"
30+
eth-pydantic-types = "^0.2.4"
3031
grpcio = "*"
3132
grpcio-tools = "*"
3233
hdwallets = "*"
@@ -81,7 +82,7 @@ skip_glob = ["pyinjective/proto/*", ".idea/*"]
8182

8283
[tool.black]
8384
line-length = 120
84-
target-version = ["py39", "py310", "py311"]
85+
target-version = ["py310", "py311", "py312"]
8586
include = '\.pyi?$'
8687
# 'extend-exclude' excludes files or directories in addition to the defaults
8788
extend-exclude = '''

0 commit comments

Comments
 (0)