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

Explorer does not handle invalid transaction hashes #1784

Closed
1 of 2 tasks
jpraynaud opened this issue Jun 27, 2024 · 0 comments · Fixed by #1800
Closed
1 of 2 tasks

Explorer does not handle invalid transaction hashes #1784

jpraynaud opened this issue Jun 27, 2024 · 0 comments · Fixed by #1800
Assignees
Labels
bug ⚠️ Something isn't working

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Jun 27, 2024

Why

When trying to verify a transaction hash which is invalid with the explorer, an error message appears: Application error: a client-side exception has occurred (see the browser console for more information).

What

Handle invalid transaction hashes properly in a modal with a clear error message.

How

  • Fix explorer to handle invalid transaction hashes
  • Restrict the verification of the transactions before calling the aggregator with a regexp that accepts only 64 hexadecimal characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants