Skip to content

Commit 74bd9d2

Browse files
committed
(feat) Updated proto definitions to injective-core v1.17.0 and indexer v1.17.16
1 parent 4d134c8 commit 74bd9d2

20 files changed

+2532
-2117
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased] - 9999-99-99
66

7+
## [1.12.0] - 2025-11-10
8+
### Changed
9+
- Updated all compiled protos for compatibility with Injective core v1.17.0 and Indexer v1.17.16
10+
711
## [1.11.2] - 2025-09-24
812
### Added
913
- Added support in v2 Composer to create the new exchange module MsgCancelPostOnlyMode message

Makefile

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

2828
clone-injective-indexer:
29-
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.17.0-beta --depth 1 --single-branch
29+
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.17.16 --depth 1 --single-branch
3030

3131
clone-all: clone-injective-indexer
3232

buf.gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inputs:
2626
tag: v1.0.1-inj
2727
subdir: proto
2828
- git_repo: https://github.com/InjectiveLabs/injective-core
29-
tag: v1.17.0-beta.3
29+
tag: v1.17.0
3030
subdir: proto
3131
# - git_repo: https://github.com/InjectiveLabs/injective-core
3232
# branch: master

poetry.lock

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

pyinjective/proto/exchange/injective_accounts_rpc_pb2.py

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

pyinjective/proto/exchange/injective_archiver_rpc_pb2.py

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

pyinjective/proto/exchange/injective_auction_rpc_pb2.py

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

pyinjective/proto/exchange/injective_auction_rpc_pb2_grpc.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ def __init__(self, channel):
5050
request_serializer=exchange_dot_injective__auction__rpc__pb2.InjBurntEndpointRequest.SerializeToString,
5151
response_deserializer=exchange_dot_injective__auction__rpc__pb2.InjBurntEndpointResponse.FromString,
5252
_registered_method=True)
53+
self.AuctionsStats = channel.unary_unary(
54+
'/injective_auction_rpc.InjectiveAuctionRPC/AuctionsStats',
55+
request_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionsStatsRequest.SerializeToString,
56+
response_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionsStatsResponse.FromString,
57+
_registered_method=True)
5358

5459

5560
class InjectiveAuctionRPCServicer(object):
@@ -105,6 +110,13 @@ def InjBurntEndpoint(self, request, context):
105110
context.set_details('Method not implemented!')
106111
raise NotImplementedError('Method not implemented!')
107112

113+
def AuctionsStats(self, request, context):
114+
"""Returns total INJ burnt and its total USD value in auctions.
115+
"""
116+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
117+
context.set_details('Method not implemented!')
118+
raise NotImplementedError('Method not implemented!')
119+
108120

109121
def add_InjectiveAuctionRPCServicer_to_server(servicer, server):
110122
rpc_method_handlers = {
@@ -143,6 +155,11 @@ def add_InjectiveAuctionRPCServicer_to_server(servicer, server):
143155
request_deserializer=exchange_dot_injective__auction__rpc__pb2.InjBurntEndpointRequest.FromString,
144156
response_serializer=exchange_dot_injective__auction__rpc__pb2.InjBurntEndpointResponse.SerializeToString,
145157
),
158+
'AuctionsStats': grpc.unary_unary_rpc_method_handler(
159+
servicer.AuctionsStats,
160+
request_deserializer=exchange_dot_injective__auction__rpc__pb2.AuctionsStatsRequest.FromString,
161+
response_serializer=exchange_dot_injective__auction__rpc__pb2.AuctionsStatsResponse.SerializeToString,
162+
),
146163
}
147164
generic_handler = grpc.method_handlers_generic_handler(
148165
'injective_auction_rpc.InjectiveAuctionRPC', rpc_method_handlers)
@@ -343,3 +360,30 @@ def InjBurntEndpoint(request,
343360
timeout,
344361
metadata,
345362
_registered_method=True)
363+
364+
@staticmethod
365+
def AuctionsStats(request,
366+
target,
367+
options=(),
368+
channel_credentials=None,
369+
call_credentials=None,
370+
insecure=False,
371+
compression=None,
372+
wait_for_ready=None,
373+
timeout=None,
374+
metadata=None):
375+
return grpc.experimental.unary_unary(
376+
request,
377+
target,
378+
'/injective_auction_rpc.InjectiveAuctionRPC/AuctionsStats',
379+
exchange_dot_injective__auction__rpc__pb2.AuctionsStatsRequest.SerializeToString,
380+
exchange_dot_injective__auction__rpc__pb2.AuctionsStatsResponse.FromString,
381+
options,
382+
channel_credentials,
383+
insecure,
384+
call_credentials,
385+
compression,
386+
wait_for_ready,
387+
timeout,
388+
metadata,
389+
_registered_method=True)

pyinjective/proto/exchange/injective_derivative_exchange_rpc_pb2.py

Lines changed: 150 additions & 148 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: 120 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)