Skip to content

Commit a774181

Browse files
authored
Merge pull request #289 from InjectiveLabs/feat/update_proto_definitions_to_v1_12
Feat/update proto definitions to v1 12
2 parents 8e673ba + 6bb0598 commit a774181

File tree

7 files changed

+61
-20
lines changed

7 files changed

+61
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

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

5-
## [1.0.1] - 2023-12-11
5+
## [1.0.1] - 2024-01-08
66
### Added
77
- Added low level API components for all modules (chain, exchain and explorer) to make the Python SDK compatible with the TypeScript SDK.
8+
- Added support for all wasm module messages.
9+
- Added support for all token factory module messages.
810

911
### Changed
10-
- Updated proto definitions to injective-core v1.12.2-testnet and injective-indexer v1.12.45-rc3
12+
- Updated proto definitions to injective-core v1.12.0 and injective-indexer v1.12.72
1113
- Added new functions in AsyncClient to interact with chain, exchange and explorer using the low level API components
1214
- Marked old function sin AsyncClient as deprecated (the functions will be removed in a future version)
1315
- Updated all API examples to use the new AsyncClient functions

Makefile

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

3030
clone-injective-core:
31-
git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.9-testnet --depth 1 --single-branch
31+
git clone https://github.com/InjectiveLabs/injective-core.git -b v1.12.0 --depth 1 --single-branch
3232

3333
clone-injective-indexer:
3434
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.12.72 --depth 1 --single-branch

examples/chain_client/68_AuthorityDenomMetadata.py renamed to examples/chain_client/68_DenomAuthorityMetadata.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
async def main() -> None:
88
network = Network.testnet()
99
client = AsyncClient(network)
10-
metadata = await client.fetch_denom_authority_metadata(creator="inj1zvy8xrlhe7ex9scer868clfstdv7j6vz790kwa")
10+
metadata = await client.fetch_denom_authority_metadata(
11+
creator="inj1uv6psuupldve0c9n3uezqlecadszqexv5vxx04",
12+
sub_denom="position",
13+
)
1114
print(metadata)
1215

1316

pyinjective/proto/injective/insurance/v1beta1/events_pb2.py

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
"""Client and server classes corresponding to protobuf-defined services."""
3+
import grpc
4+

pyinjective/proto/injective/insurance/v1beta1/insurance_pb2.py

Lines changed: 1 addition & 15 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.0.1-rc5"
3+
version = "1.0.1"
44
description = "Injective Python SDK, with Exchange API Client"
55
authors = ["Injective Labs <contact@injectivelabs.org>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)