Skip to content

Commit

Permalink
Merge pull request #362 from InjectiveLabs/fix/ofac-filename
Browse files Browse the repository at this point in the history
(fix) Update OFAC list URL and filename
  • Loading branch information
PavelInjective authored Dec 5, 2024
2 parents cc6beec + 9395b55 commit 62da05d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion pyinjective/ofac.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,8 @@
"0xfac583c0cf07ea434052c49115a4682172ab6b4f",
"0xfd8610d20aa15b7b2e3be39b396a1bc3516c7144",
"0xfec8a60023265364d066a1212fde3930f6ae8da7",
"0xffbac21a641dcfe4552920138d90f3638b3c9fba"
"0xffbac21a641dcfe4552920138d90f3638b3c9fba",
"0xc5801cd781d168e2d3899ad9c39d8a2541871298",
"0x0992E2D17e0082Df8a31Bf36Bd8Cc662551de68B",
"0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb"
]
3 changes: 2 additions & 1 deletion pyinjective/ofac.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit 62da05d

Please sign in to comment.