-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #449 from axelarnetwork/hotfix/remove-kybeswap-ref…
…erences
- Loading branch information
Showing
3 changed files
with
40 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const kybeSwapRevervedList: string[] = [ | ||
"0x50275E0B7261559cE1644014d4b78D4AA63BE836", | ||
"0xC9B826BAD20872EB29f9b1D8af4BefE8460b50c6", | ||
"0xae7e16cAa7a4d572FfF09924Bf077a89485850Cb", | ||
"0xa4c92d7482066878bb1e2c0510f42b20d79a7ea9", | ||
"0xd01896e3D4F130Ffd6f6a5A9d6780bbd7008d71d", | ||
"0x9296fa3246f478e32b05d4dde35176d927be703f", | ||
// suspected attacker addresses: | ||
"0x98d69d3ea5f7e03098400a5bedfbe49f2b0b88d3", | ||
"0x84e66f86c28502c0fc8613e1d9cbbed806f7adb4", | ||
"0x5E42DD64266C3852cad3d294f71b171459Cf0a48", | ||
]; | ||
|
||
export default kybeSwapRevervedList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { toLower } from "rambda"; | ||
|
||
import list1 from "./10202023"; | ||
import list2 from "./11232023"; | ||
import originalList from "./originalList"; | ||
|
||
const normalized = [ | ||
...originalList, | ||
...list1.map((item) => item.toLowerCase()), | ||
]; | ||
const additionalList = [list1, list2].flatMap(toLower); | ||
|
||
const normalized = [...originalList, ...additionalList]; | ||
|
||
export default JSON.stringify(normalized); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters