File tree Expand file tree Collapse file tree 6 files changed +55
-25
lines changed
Expand file tree Collapse file tree 6 files changed +55
-25
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 1.9.0] - 9999-99-99
6+ ### Added
7+ - Added support for Exchange V2 proto queries and types
8+ - Updated all chain exchange module examples to use the new Exchange V2 proto queries and types
9+
10+ ### Removed
11+ - Removed all methods marked as deprecated in AsyncClient and Composer
12+
13+ ## [ 1.8.0] - 9999-99-99
14+ ### Changed
15+ - The markets initialization in AsyncClient has been modified to get markets information from the chain endpoints instead of the Indexer endpoints
16+
17+ ### Removed
18+ - Removed the legacy deprecated markets and tokens initialization using the denoms INI files in the SDK. Removed also the INI files from the SDK
19+
20+ ## [ 1.7.2] - 2024-11-13
21+ ### Fixed
22+ - Fixed link to official ` ofac.json ` file
23+ - Refreshed the local copy of the file after the update
24+
525## [ 1.7.1] - 2024-09-24
626### Fixed
727- Fixed logic to get the absolute ofac.json file path
Original file line number Diff line number Diff line change 44
55import aiohttp
66
7- OFAC_LIST_URL = "https://raw.githubusercontent.com/InjectiveLabs/injective-lists/master/wallets/ofac.json"
7+ OFAC_LIST_URL = (
8+ "https://raw.githubusercontent.com/InjectiveLabs/injective-lists/refs/heads/master/json/wallets/ofac.json"
9+ )
810OFAC_LIST_FILENAME_DEFAULT = "ofac.json"
911OFAC_LIST_FILENAME = OFAC_LIST_FILENAME_DEFAULT
1012
Original file line number Diff line number Diff line change 2121from pyinjective .proto .cosmos .gov .v1beta1 import tx_pb2 as gov_tx_pb
2222from pyinjective .proto .cosmwasm .wasm .v1 import tx_pb2 as wasm_tx_pb
2323from pyinjective .proto .injective .exchange .v1beta1 import tx_pb2 as injective_exchange_tx_pb
24- from tests .model_fixtures .markets_fixtures import btc_usdt_perp_market # noqa: F401
25- from tests .model_fixtures .markets_fixtures import first_match_bet_market # noqa: F401
26- from tests .model_fixtures .markets_fixtures import inj_token # noqa: F401
27- from tests .model_fixtures .markets_fixtures import inj_usdt_spot_market # noqa: F401
28- from tests .model_fixtures .markets_fixtures import usdt_perp_token # noqa: F401
29- from tests .model_fixtures .markets_fixtures import usdt_token # noqa: F401
24+ from tests .model_fixtures .markets_fixtures import ( # noqa: F401
25+ btc_usdt_perp_market ,
26+ first_match_bet_market ,
27+ inj_token ,
28+ inj_usdt_spot_market ,
29+ usdt_perp_token ,
30+ usdt_token ,
31+ )
3032
3133
3234class TestGasLimitEstimator :
Original file line number Diff line number Diff line change 33from pyinjective .constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS
44from pyinjective .core .market import BinaryOptionMarket , DerivativeMarket , SpotMarket
55from pyinjective .utils .denom import Denom
6- from tests .model_fixtures .markets_fixtures import btc_usdt_perp_market # noqa: F401
7- from tests .model_fixtures .markets_fixtures import first_match_bet_market # noqa: F401
8- from tests .model_fixtures .markets_fixtures import inj_token # noqa: F401
9- from tests .model_fixtures .markets_fixtures import inj_usdt_spot_market # noqa: F401
10- from tests .model_fixtures .markets_fixtures import usdt_perp_token # noqa: F401
11- from tests .model_fixtures .markets_fixtures import usdt_token # noqa: F401; noqa: F401
6+ from tests .model_fixtures .markets_fixtures import ( # noqa: F401
7+ btc_usdt_perp_market ,
8+ first_match_bet_market ,
9+ inj_token ,
10+ inj_usdt_spot_market ,
11+ usdt_perp_token ,
12+ usdt_token ,
13+ )
1214
1315
1416class TestSpotMarket :
Original file line number Diff line number Diff line change 88from pyinjective .constant import ADDITIONAL_CHAIN_FORMAT_DECIMALS , INJ_DECIMALS
99from pyinjective .core .network import Network
1010from pyinjective .core .token import Token
11- from tests .model_fixtures .markets_fixtures import btc_usdt_perp_market # noqa: F401
12- from tests .model_fixtures .markets_fixtures import first_match_bet_market # noqa: F401
13- from tests .model_fixtures .markets_fixtures import inj_token # noqa: F401
14- from tests .model_fixtures .markets_fixtures import inj_usdt_spot_market # noqa: F401
15- from tests .model_fixtures .markets_fixtures import usdt_perp_token # noqa: F401
16- from tests .model_fixtures .markets_fixtures import usdt_token # noqa: F401
11+ from tests .model_fixtures .markets_fixtures import ( # noqa: F401
12+ btc_usdt_perp_market ,
13+ first_match_bet_market ,
14+ inj_token ,
15+ inj_usdt_spot_market ,
16+ usdt_perp_token ,
17+ usdt_token ,
18+ )
1719
1820
1921class TestComposer :
Original file line number Diff line number Diff line change 55
66from pyinjective .composer import Composer
77from pyinjective .core .network import Network
8- from tests .model_fixtures .markets_fixtures import btc_usdt_perp_market # noqa: F401
9- from tests .model_fixtures .markets_fixtures import first_match_bet_market # noqa: F401
10- from tests .model_fixtures .markets_fixtures import inj_token # noqa: F401
11- from tests .model_fixtures .markets_fixtures import inj_usdt_spot_market # noqa: F401
12- from tests .model_fixtures .markets_fixtures import usdt_perp_token # noqa: F401
13- from tests .model_fixtures .markets_fixtures import usdt_token # noqa: F401
8+ from tests .model_fixtures .markets_fixtures import ( # noqa: F401
9+ btc_usdt_perp_market ,
10+ first_match_bet_market ,
11+ inj_token ,
12+ inj_usdt_spot_market ,
13+ usdt_perp_token ,
14+ usdt_token ,
15+ )
1416
1517
1618class TestComposerDeprecationWarnings :
You can’t perform that action at this time.
0 commit comments