-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Adds an override for the name and token.symbol values for abando…
…ned SNS (#5915) # Motivation As discussed [here](https://dfinity.slack.com/archives/C03H6QEPW5D/p1733263773416409) and [here](https://dfinity.slack.com/archives/C039M7YS6F6/p1733302975333649), we have a situation with the SNS `CYCLES-TRANSFER-STATION`. They have decided to change all their metadata, resulting in the name and token being displayed as `---`. This first PR introduces a method to override the values we receive from the SNS-Aggregator, allowing the rest of the application to use them. # Changes - Checks a dictionary of "broken" SNSs for matches and overrides `name` and `token.symbol` for any that are found. # Tests - Unit test for the aggregator store derived data to verify that when `rootCanisterId` is present in the dictionary, the values for `name` and `token.symbol` are replaced. # Todos - [ ] Add entry to changelog (if necessary).
- Loading branch information
Showing
3 changed files
with
109 additions
and
6 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
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
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