From 9395b55e1ed639a6dce0bc0a79c75b3e2bde44cb Mon Sep 17 00:00:00 2001 From: PavelInjective Date: Tue, 3 Dec 2024 20:47:26 +0100 Subject: [PATCH 1/2] (fix) Update OFAC list URL and filename --- CHANGELOG.md | 5 +++++ pyinjective/ofac.json | 5 ++++- pyinjective/ofac.py | 3 ++- pyproject.toml | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfaaa926..dcd41f91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. + +## [1.8.1] - 2024-12-04 +### Changed +- Updated OFAC list link and contents + ## [1.8.0] - 2024-11-14 ### Changed - The markets initialization in AsyncClient has been modified to get markets information from the chain endpoints instead of the Indexer endpoints diff --git a/pyinjective/ofac.json b/pyinjective/ofac.json index 553224bd..daaccbcc 100644 --- a/pyinjective/ofac.json +++ b/pyinjective/ofac.json @@ -154,5 +154,8 @@ "0xfac583c0cf07ea434052c49115a4682172ab6b4f", "0xfd8610d20aa15b7b2e3be39b396a1bc3516c7144", "0xfec8a60023265364d066a1212fde3930f6ae8da7", - "0xffbac21a641dcfe4552920138d90f3638b3c9fba" + "0xffbac21a641dcfe4552920138d90f3638b3c9fba", + "0xc5801cd781d168e2d3899ad9c39d8a2541871298", + "0x0992E2D17e0082Df8a31Bf36Bd8Cc662551de68B", + "0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb" ] diff --git a/pyinjective/ofac.py b/pyinjective/ofac.py index b94ccd9a..a1a004bf 100644 --- a/pyinjective/ofac.py +++ b/pyinjective/ofac.py @@ -5,7 +5,8 @@ import aiohttp OFAC_LIST_URL = ( - "https://raw.githubusercontent.com/InjectiveLabs/injective-lists/refs/heads/master/json/wallets/ofac.json" + "https://raw.githubusercontent.com/InjectiveLabs/injective-lists/" + "refs/heads/master/json/wallets/ofacAndRestricted.json" ) OFAC_LIST_FILENAME_DEFAULT = "ofac.json" OFAC_LIST_FILENAME = OFAC_LIST_FILENAME_DEFAULT diff --git a/pyproject.toml b/pyproject.toml index 3bb35049..067056d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.8.0" +version = "1.8.1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From 5c0fb1fb17cff27e8df85179743bdffb0a6f7b61 Mon Sep 17 00:00:00 2001 From: PavelInjective Date: Thu, 14 Nov 2024 15:07:27 +0100 Subject: [PATCH 2/2] (fix) Edit version in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 067056d3..024cbe31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.8.1" +version = "1.9.0-pre" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0"