Closed aarmoa closed 6 months ago
The update primarily adjusts compatibility with a new version of the protobuf
library across various Python files, changing how JSON representations of messages are handled. Additionally, the project's dependency versions for aiohttp
and urllib3
are modified, and new entries for derivative pairs are added to configuration files for different network environments.
File Path | Change Summary |
---|---|
CHANGELOG.md , pyproject.toml |
Updated dependency versions and adapted to new protobuf standards. |
pyinjective/composer.py , .../utils/grpc_api_... |
Replaced including_default_value_fields=True with always_print_fields_with_no_presence=True in various methods. |
pyinjective/denoms_devnet.ini , pyinjective/denoms_mainnet.ini |
Added new derivative pairs and adjusted tick sizes in network configurations. |
tests/test_composer.py |
Updated test functions to align with new protobuf parameters. |
🐇💻 In the land of code, where the bits align,
A rabbit hopped, through lines so fine.
With a flick of its tail, updates unfurl,
Protobuf dances, new worlds swirl.
Cheers to changes, the rabbit's delight,
In the glow of the screen, it hops through the night. 🌌🌟
tests/test_composer.py (7)
24-24: Redefinition of unused `inj_usdt_spot_market` from line 13 --- 24-24: Redefinition of unused `btc_usdt_perp_market` from line 10 --- 24-24: Redefinition of unused `first_match_bet_market` from line 11 --- 42-42: Redefinition of unused `inj_token` from line 12 --- 43-43: Redefinition of unused `inj_usdt_spot_market` from line 13 --- 1195-1195: Redefinition of unused `test_msg_cancel_derivative_order` from line 960 --- 1359-1359: Redefinition of unused `test_msg_external_transfer` from line 1270
tests/test_composer.py (20)
`205-205`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `236-236`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `277-277`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `340-340`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `406-406`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `449-449`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `496-496`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `545-545`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `582-582`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `631-631`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `659-659`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `686-686`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `789-789`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `814-814`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `866-866`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `904-904`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `956-956`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `997-997`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `1023-1023`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update. --- `1087-1087`: Change in `json_format.MessageToDict` argument aligns with `protobuf` library update.
dev
branch with changes from the latest release (v1.5.1)Summary by CodeRabbit
Refactor
protobuf
library across various components.New Features
Devnet
andMainnet
environments.Documentation
aiohttp
and relaxed constraints forurllib3
.Tests