-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/sync dev with v1.54.1 #267
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,5 +154,8 @@ | |
"0xfac583c0cf07ea434052c49115a4682172ab6b4f", | ||
"0xfd8610d20aa15b7b2e3be39b396a1bc3516c7144", | ||
"0xfec8a60023265364d066a1212fde3930f6ae8da7", | ||
"0xffbac21a641dcfe4552920138d90f3638b3c9fba" | ||
"0xffbac21a641dcfe4552920138d90f3638b3c9fba", | ||
"0xc5801cd781d168e2d3899ad9c39d8a2541871298", | ||
"0x0992E2D17e0082Df8a31Bf36Bd8Cc662551de68B", | ||
"0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb" | ||
Comment on lines
+158
to
+160
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Invalid Ethereum address format detected The address
🔗 Analysis chainVerify format of new Ethereum addresses The newly added addresses need verification for correct Ethereum address format and checksums. Let's verify the address format and check for duplicates: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify Ethereum address format and check for duplicates
# Check if addresses follow the Ethereum address format (0x followed by 40 hex characters)
for addr in "0xc5801cd781d168e2d3899ad9c39d8a2541871298" "0x0992E2D17e0082Df8a31Bf36Bd8Cc662551de68B" "0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb"; do
if ! echo "$addr" | grep -qE "^0x[0-9a-fA-F]{40}$"; then
echo "Invalid address format: $addr"
fi
done
# Check for duplicates in the entire file
jq -r 'group_by(.) | map(select(length > 1)) | .[]' injective_data/ofac.json
Length of output: 911 |
||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix: Invalid Ethereum address length
The address
0x8aa07899eb940f40e514b8efdb3b6af5d1cf7bb
is missing one character to be a valid Ethereum address (39 characters instead of 40 after '0x').Please verify and correct the address. A valid Ethereum address should be 42 characters long (including '0x' prefix).