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
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

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

## [1.10.0] - 9999-99-99
## [Unreleased] - 9999-99-99

## [1.10.0] - 2025-04-16
### Added
- Added support for the queries in the new TXFees module

### Changed
- Update in the implementation of the gas limit estimator to use the same values as the chain for the fixed gas messages
- Updated all compiled protos for compatibility with Injective core v1.15 and Indexer v1.15.6
Comment on lines +5 to +13
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix the release date in the changelog.

The release date for version 1.10.0 is set to "2025-04-16", which appears to be a future date. Please update this to the correct release date.

Also, there appears to be a duplication of the word "Added" - one in the heading and one in the first bullet point.

-## [Unreleased] - 9999-99-99
-
-## [1.10.0] - 2025-04-16
-### Added
-- Added support for the queries in the new TXFees module
+## [Unreleased] - 9999-99-99
+
+## [1.10.0] - 2024-04-16
+### Added
+- Support for the queries in the new TXFees module
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## [Unreleased] - 9999-99-99
## [1.10.0] - 2025-04-16
### Added
- Added support for the queries in the new TXFees module
### Changed
- Update in the implementation of the gas limit estimator to use the same values as the chain for the fixed gas messages
- Updated all compiled protos for compatibility with Injective core v1.15 and Indexer v1.15.6
## [Unreleased] - 9999-99-99
## [1.10.0] - 2024-04-16
### Added
- Support for the queries in the new TXFees module
### Changed
- Update in the implementation of the gas limit estimator to use the same values as the chain for the fixed gas messages
- Updated all compiled protos for compatibility with Injective core v1.15 and Indexer v1.15.6
🧰 Tools
🪛 LanguageTool

[duplication] ~8-~8: Possible typo: you repeated a word.
Context: ...999-99-99 ## [1.10.0] - 2025-04-16 ### Added - Added support for the queries in the new TXFe...

(ENGLISH_WORD_REPEAT_RULE)


## [1.9.1] - 2025-03-03
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ clean-all:
$(call clean_repos)

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

clone-all: clone-injective-indexer

Expand Down
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ $ poetry install

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

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

3. Fetch latest denom config
```
poetry run python pyinjective/utils/fetch_metadata.py
```

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)

4. Run all unit tests in a development environment
3. Run all unit tests in a development environment
```
poetry run pytest -v
```

## License

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

<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" />

Expand Down
6 changes: 3 additions & 3 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ inputs:
- module: buf.build/googleapis/googleapis
- module: buf.build/cosmos/ics23
- git_repo: https://github.com/InjectiveLabs/cosmos-sdk
tag: v0.50.9-inj-4
tag: v0.50.9-inj.5
- git_repo: https://github.com/InjectiveLabs/ibc-go
tag: v8.6.1-inj
tag: v8.7.0-inj
- git_repo: https://github.com/InjectiveLabs/wasmd
tag: v0.53.2-inj.2
# - git_repo: https://github.com/InjectiveLabs/wasmd
# branch: v0.51.x-inj
# subdir: proto
- git_repo: https://github.com/InjectiveLabs/injective-core
tag: v1.15.0-beta.2
tag: v1.15.0
subdir: proto
# - git_repo: https://github.com/InjectiveLabs/injective-core
# branch: release/v1.15.x
Expand Down
2,314 changes: 1,180 additions & 1,134 deletions poetry.lock

Large diffs are not rendered by default.

244 changes: 122 additions & 122 deletions pyinjective/proto/exchange/injective_explorer_rpc_pb2.py

Large diffs are not rendered by default.

48 changes: 26 additions & 22 deletions pyinjective/proto/google/rpc/error_details_pb2.py

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "injective-py"
version = "1.10.0-rc1"
version = "1.11.0-rc1"
description = "Injective Python SDK, with Exchange API Client"
authors = ["Injective Labs <contact@injectivelabs.org>"]
license = "Apache-2.0"
Expand Down
2 changes: 2 additions & 0 deletions tests/client/indexer/grpc/test_indexer_grpc_explorer_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ async def test_fetch_block(
total_txs=5,
txs=[tx_data],
timestamp="2023-11-29 20:23:33.842 +0000 UTC",
block_unix_timestamp=123456789,
)

explorer_servicer.block_responses.append(
Expand Down Expand Up @@ -593,6 +594,7 @@ async def test_fetch_block(
}
],
"timestamp": block_info.timestamp,
"blockUnixTimestamp": str(block_info.block_unix_timestamp),
},
}

Expand Down
Loading