Skip to content

Commit 62da05d

Browse files
Merge pull request #362 from InjectiveLabs/fix/ofac-filename
(fix) Update OFAC list URL and filename
2 parents cc6beec + 9395b55 commit 62da05d

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
6+
## [1.8.1] - 2024-12-04
7+
### Changed
8+
- Updated OFAC list link and contents
9+
510
## [1.8.0] - 2024-11-14
611
### Changed
712
- The markets initialization in AsyncClient has been modified to get markets information from the chain endpoints instead of the Indexer endpoints

pyinjective/ofac.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,8 @@
154154
"0xfac583c0cf07ea434052c49115a4682172ab6b4f",
155155
"0xfd8610d20aa15b7b2e3be39b396a1bc3516c7144",
156156
"0xfec8a60023265364d066a1212fde3930f6ae8da7",
157-
"0xffbac21a641dcfe4552920138d90f3638b3c9fba"
157+
"0xffbac21a641dcfe4552920138d90f3638b3c9fba",
158+
"0xc5801cd781d168e2d3899ad9c39d8a2541871298",
159+
"0x0992E2D17e0082Df8a31Bf36Bd8Cc662551de68B",
160+
"0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb"
158161
]

pyinjective/ofac.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import aiohttp
66

77
OFAC_LIST_URL = (
8-
"https://raw.githubusercontent.com/InjectiveLabs/injective-lists/refs/heads/master/json/wallets/ofac.json"
8+
"https://raw.githubusercontent.com/InjectiveLabs/injective-lists/"
9+
"refs/heads/master/json/wallets/ofacAndRestricted.json"
910
)
1011
OFAC_LIST_FILENAME_DEFAULT = "ofac.json"
1112
OFAC_LIST_FILENAME = OFAC_LIST_FILENAME_DEFAULT

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "injective-py"
3-
version = "1.8.0"
3+
version = "1.8.1"
44
description = "Injective Python SDK, with Exchange API Client"
55
authors = ["Injective Labs <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)