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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ make tests
* The Composer can still be instantiated without markets and tokens. When markets and tokens are not provided the Composer loads the required information from the Denoms used in previous versions
* Change in AsyncClient to be able to create Composer instances for the client network, markets and tokens
* Examples have been adapted to create Composer instances using the AsyncClient
* Added new nodes (bare-metal load balancing nodes) for mainnet
* Refactored the cookies management logic into a cookie assistant. Added the required logic to support the new cookies format for bare-metal load balanced nodes

**0.7.1.1**
* Fixed Testnet network URLs
Expand Down
5 changes: 3 additions & 2 deletions pyinjective/core/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,9 @@ def custom(
grpc_explorer_endpoint,
chain_id,
env,
cookie_assistant: CookieAssistant,
cookie_assistant: Optional[CookieAssistant] = None,
):
assistant = cookie_assistant or DisabledCookieAssistant()
return cls(
lcd_endpoint=lcd_endpoint,
tm_websocket_endpoint=tm_websocket_endpoint,
Expand All @@ -381,7 +382,7 @@ def custom(
chain_id=chain_id,
fee_denom="inj",
env=env,
cookie_assistant=cookie_assistant
cookie_assistant=assistant
)

def string(self):
Expand Down