Skip to content

Commit c78af17

Browse files
authored
Merge pull request #380 from InjectiveLabs/fix/rebase_dev_with_v1_10
Fix/rebase dev with v1.10
2 parents c8a30f5 + f9ca09c commit c78af17

File tree

9 files changed

+1346
-1295
lines changed

9 files changed

+1346
-1295
lines changed

CHANGELOG.md

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

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

5-
## [1.10.0] - 9999-99-99
5+
## [Unreleased] - 9999-99-99
6+
7+
## [1.10.0] - 2025-04-16
8+
### Added
9+
- Added support for the queries in the new TXFees module
10+
611
### Changed
712
- Update in the implementation of the gas limit estimator to use the same values as the chain for the fixed gas messages
13+
- Updated all compiled protos for compatibility with Injective core v1.15 and Indexer v1.15.6
814

915
## [1.9.1] - 2025-03-03
1016
### Fixed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ clean-all:
3131
$(call clean_repos)
3232

3333
clone-injective-indexer:
34-
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.14.48 --depth 1 --single-branch
34+
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.15.6 --depth 1 --single-branch
3535

3636
clone-all: clone-injective-indexer
3737

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ $ poetry install
3535

3636
# connecting to Injective Exchange API
3737
# and listening for new orders from a specific spot market
38-
$ poetry run python examples/exchange_client/spot_exchange_rpc/8_StreamOrders.py
38+
$ poetry run python examples/exchange_client/spot_exchange_rpc/8_StreamOrderbookUpdate.py
3939

4040
# sending a msg with bank transfer
4141
# signs and posts a transaction to the Injective Chain
42-
$ poetry run python examples/chain_client/1_MsgSend.py
42+
$ poetry run python examples/chain_client/bank/1_MsgSend.py
4343
```
4444
Upgrade `pip` to the latest version, if you see these warnings:
4545
```
@@ -65,21 +65,14 @@ Upgrade `pip` to the latest version, if you see these warnings:
6565
pip install injective-py
6666
```
6767

68-
3. Fetch latest denom config
69-
```
70-
poetry run python pyinjective/utils/fetch_metadata.py
71-
```
72-
73-
Note that the [sync client](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/client.py) has been deprecated as of April 18, 2022. If you are using the sync client please make sure to transition to the [async client](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/async_client.py), for more information read [here](https://github.com/InjectiveLabs/sdk-python/issues/101)
74-
75-
4. Run all unit tests in a development environment
68+
3. Run all unit tests in a development environment
7669
```
7770
poetry run pytest -v
7871
```
7972

8073
## License
8174

82-
Copyright © 2021 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
75+
Copyright © 2021 - 2025 Injective Labs Inc. (https://injectivelabs.org/)
8376

8477
<a href="https://drive.google.com/uc?export=view&id=1-fPQRh_D_dnun2yTtSsPW5MypVBOVYJP"><img src="https://drive.google.com/uc?export=view&id=1-fPQRh_D_dnun2yTtSsPW5MypVBOVYJP" style="width: 300px; max-width: 100%; height: auto" />
8578

buf.gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ inputs:
1212
- module: buf.build/googleapis/googleapis
1313
- module: buf.build/cosmos/ics23
1414
- git_repo: https://github.com/InjectiveLabs/cosmos-sdk
15-
tag: v0.50.9-inj-4
15+
tag: v0.50.9-inj.5
1616
- git_repo: https://github.com/InjectiveLabs/ibc-go
17-
tag: v8.6.1-inj
17+
tag: v8.7.0-inj
1818
- git_repo: https://github.com/InjectiveLabs/wasmd
1919
tag: v0.53.2-inj.2
2020
# - git_repo: https://github.com/InjectiveLabs/wasmd
2121
# branch: v0.51.x-inj
2222
# subdir: proto
2323
- git_repo: https://github.com/InjectiveLabs/injective-core
24-
tag: v1.15.0-beta.2
24+
tag: v1.15.0
2525
subdir: proto
2626
# - git_repo: https://github.com/InjectiveLabs/injective-core
2727
# branch: release/v1.15.x

poetry.lock

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

pyinjective/proto/exchange/injective_explorer_rpc_pb2.py

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

pyinjective/proto/google/rpc/error_details_pb2.py

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "injective-py"
3-
version = "1.10.0-rc1"
3+
version = "1.11.0-rc1"
44
description = "Injective Python SDK, with Exchange API Client"
55
authors = ["Injective Labs <[email protected]>"]
66
license = "Apache-2.0"

tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ async def test_fetch_block(
542542
total_txs=5,
543543
txs=[tx_data],
544544
timestamp="2023-11-29 20:23:33.842 +0000 UTC",
545+
block_unix_timestamp=123456789,
545546
)
546547

547548
explorer_servicer.block_responses.append(
@@ -593,6 +594,7 @@ async def test_fetch_block(
593594
}
594595
],
595596
"timestamp": block_info.timestamp,
597+
"blockUnixTimestamp": str(block_info.block_unix_timestamp),
596598
},
597599
}
598600

0 commit comments

Comments
 (0)