Skip to content
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: filter HTR out when fetching token metadata #460

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

r4mmer
Copy link
Member

@r4mmer r4mmer commented Apr 5, 2024

Acceptance Criteria

  • Filter HTR when fetching token metadata

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

@r4mmer r4mmer requested a review from luislhl April 5, 2024 19:11
@r4mmer r4mmer self-assigned this Apr 5, 2024
@@ -320,7 +320,7 @@ export function* loadTokens() {
// spawn a new "thread" to handle it.
//
// `spawn` is similar to `fork`, but it creates a `detached` fork
yield spawn(fetchTokensMetadata, registeredUids);
yield spawn(fetchTokensMetadata, registeredUids.filter((token) => token !== htrUid));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to have a unit test for this?

@r4mmer r4mmer merged commit 3082525 into master Apr 5, 2024
2 checks passed
@r4mmer r4mmer deleted the feat/htr-metadata-filter branch April 5, 2024 21:32
@alexruzenhack alexruzenhack mentioned this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants