Add unit-tested functions for adding or removing an entry from the blacklist.
Update the telegram bot callback function to add tokenId to blacklist when icon is removed, and remove from blacklist when icon is restored. Add log statements to confirm.
Differential D17041
[token-server] Link token blacklist with icon approval actions Authored by bytesofman on Oct 29 2024, 21:27.
Details
Add unit-tested functions for adding or removing an entry from the blacklist. Update the telegram bot callback function to add tokenId to blacklist when icon is removed, and remove from blacklist when icon is restored. Add log statements to confirm. npm test The telegram bot is impractical to test. The change is imo simple enough to "see if it works", given we are only adding tested functions. There's a chance the telegram API does not like that I made the callback async or some other issue. Will revert in this case.
Diff Detail
Event Timeline
Comment Actions change reason from bot report
| ||||||||||||||||||||||||||