From 4a65fd80a16158ec6b8efd704614013a21d8a48b Mon Sep 17 00:00:00 2001 From: abel Date: Sat, 26 Aug 2023 21:10:21 -0300 Subject: [PATCH] (fix) Synchronized the denoms config files for mainnet and testnet --- README.md | 3 +++ pyinjective/denoms_mainnet.ini | 19 +++++-------------- pyinjective/denoms_testnet.ini | 20 +------------------- setup.py | 2 +- 4 files changed, 10 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 67fa1bd4..8c2ec6e2 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,9 @@ make tests ``` ### Changelogs +**0.7.2.1** +* Synchronization of denoms configuration files. + **0.7.2** * Added a new gas limit calculation for the TransactionBroadcaster that estimates the value based on the messages in the transaction (without running the transaction simulation). diff --git a/pyinjective/denoms_mainnet.ini b/pyinjective/denoms_mainnet.ini index b6e0080f..bf7b610b 100644 --- a/pyinjective/denoms_mainnet.ini +++ b/pyinjective/denoms_mainnet.ini @@ -200,7 +200,7 @@ min_display_quantity_tick_size = 0.01 description = 'Mainnet Spot GF/USDT' base = 18 quote = 6 -min_price_tick_size = 0.000000000000001 +min_price_tick_size = 0.0000000000000001 min_display_price_tick_size = 0.001 min_quantity_tick_size = 1000000000000000 min_display_quantity_tick_size = 0.001 @@ -317,7 +317,7 @@ min_display_quantity_tick_size = 100.0 description = 'Mainnet Spot STRD/USDT' base = 6 quote = 6 -min_price_tick_size = 0.001 +min_price_tick_size = 0.0001 min_display_price_tick_size = 1e-09 min_quantity_tick_size = 1000 min_display_quantity_tick_size = 1000.0 @@ -328,7 +328,7 @@ base = 6 quote = 6 min_price_tick_size = 0.0001 min_display_price_tick_size = 0.0001 -min_quantity_tick_size = 10000000 +min_quantity_tick_size = 1000000 min_display_quantity_tick_size = 10.0 [0x4fa0bd2c2adbfe077f58395c18a72f5cbf89532743e3bddf43bc7aba706b0b74] @@ -452,7 +452,7 @@ min_display_quantity_tick_size = 0.01 description = 'Mainnet Derivative STX/USDT PERP' base = 0 quote = 6 -min_price_tick_size = 1000 +min_price_tick_size = 100 min_display_price_tick_size = 0.001 min_quantity_tick_size = 0.1 min_display_quantity_tick_size = 0.1 @@ -493,15 +493,6 @@ min_display_price_tick_size = 0.01 min_quantity_tick_size = 0.1 min_display_quantity_tick_size = 0.1 -[0x5e7be7948c78f0c7fb1170655b5faa0a519ee0801250dde0b50308791474e61c] -description = 'Mainnet Derivative ETH/USDT 19SEP22' -base = 0 -quote = 6 -min_price_tick_size = 100000 -min_display_price_tick_size = 0.1 -min_quantity_tick_size = 0.01 -min_display_quantity_tick_size = 0.01 - [0x3b7fb1d9351f7fa2e6e0e5a11b3639ee5e0486c33a6a74f629c3fc3c3043efd5] description = 'Mainnet Derivative BONK/USDT PERP' base = 0 @@ -682,7 +673,7 @@ decimals = 8 peggy_denom = factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1d5vz0uzwlpfvgwrwulxg6syy82axa58y4fuszd decimals = 8 -[wMATIC] +[WMATIC] peggy_denom = factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1dxv423h8ygzgxmxnvrf33ws3k94aedfdevxd8h decimals = 8 diff --git a/pyinjective/denoms_testnet.ini b/pyinjective/denoms_testnet.ini index 45a2e6dc..2e24698f 100644 --- a/pyinjective/denoms_testnet.ini +++ b/pyinjective/denoms_testnet.ini @@ -56,25 +56,7 @@ min_display_quantity_tick_size = 0.1 description = 'Testnet Derivative INJ/USDT PERP' base = 0 quote = 6 -min_price_tick_size = 100000 -min_display_price_tick_size = 0.1 -min_quantity_tick_size = 0.0001 -min_display_quantity_tick_size = 0.0001 - -[0xd5e4b12b19ecf176e4e14b42944731c27677819d2ed93be4104ad7025529c7ff] -description = 'Testnet Derivative ETH/USDT PERP' -base = 0 -quote = 6 -min_price_tick_size = 100000 -min_display_price_tick_size = 0.1 -min_quantity_tick_size = 0.0001 -min_display_quantity_tick_size = 0.0001 - -[0x90e662193fa29a3a7e6c07be4407c94833e762d9ee82136a2cc712d6b87d7de3] -description = 'Testnet Derivative BTC/USDT PERP' -base = 0 -quote = 6 -min_price_tick_size = 100000 +min_price_tick_size = 100 min_display_price_tick_size = 0.1 min_quantity_tick_size = 0.0001 min_display_quantity_tick_size = 0.0001 diff --git a/setup.py b/setup.py index 8481af42..f8275c57 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ EMAIL = "achilleas@injectivelabs.com" AUTHOR = "Injective Labs" REQUIRES_PYTHON = ">=3.9" -VERSION = "0.7.2" +VERSION = "0.7.2.1" REQUIRED = [ "aiohttp",