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

Do not render widget when no token config found #3056

Conversation

emreboga
Copy link
Collaborator

@emreboga emreboga commented Dec 10, 2024

This is a very unlikely case unless a user tempers with the localStorage entry. It was discovered while testing Portal with an invalid localStorage entry. To fix this potential problem we are adding another layer of verification to filter out the entries with no token configs.

Copy link

netlify bot commented Dec 10, 2024

👷 Deploy request for wormhole-connect pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bb0394d

Copy link

netlify bot commented Dec 10, 2024

👷 Deploy request for wormhole-connect-mainnet pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bb0394d

@emreboga emreboga force-pushed the emre/widget-check-tokenconfig branch 4 times, most recently from 889be5b to 8e90bf6 Compare December 10, 2024 13:53
@emreboga emreboga requested a review from artursapek December 11, 2024 19:19
@aadam-10 aadam-10 marked this pull request as draft December 23, 2024 17:08
@emreboga emreboga force-pushed the emre/widget-check-tokenconfig branch from 8e90bf6 to 05be131 Compare February 4, 2025 12:10
@emreboga emreboga marked this pull request as ready for review February 4, 2025 12:11
@emreboga emreboga force-pushed the emre/widget-check-tokenconfig branch from 05be131 to 80a8247 Compare February 4, 2025 12:31
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
@emreboga emreboga force-pushed the emre/widget-check-tokenconfig branch from 80a8247 to e84f5c3 Compare February 5, 2025 15:54
@emreboga emreboga force-pushed the emre/widget-check-tokenconfig branch from e84f5c3 to bb0394d Compare February 5, 2025 15:54
@emreboga emreboga merged commit f330fbe into wormhole-foundation:development Feb 5, 2025
8 checks passed
@emreboga emreboga deleted the emre/widget-check-tokenconfig branch February 5, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants