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

Fix typeScript type mismatch #382

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

offensif
Copy link

@offensif offensif commented Jan 12, 2025

Description

Fix typeScript type mismatch. In other parts of the code, the transaction hash is usually represented as a Hex type, not a string.

Notes

If the type remains as string, discrepancies and potential errors will arise when handling txHash in other parts of the application that expect a Hex value.

Copy link
Collaborator

@bonnie57 bonnie57 left a comment

Choose a reason for hiding this comment

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

Hi @offensif,

Thank you so much for your contribution and for taking the time to submit this PR! We really appreciate your effort and insights.

The txHash type looks good. Could you update this PR to address this issue across the entire repository? Additionally, it would be helpful if you could modify the PR title and description to better reflect the changes.

Thanks again for your support and for helping us improve! 🚀

@bonnie57 bonnie57 added the enhancement New feature or request label Mar 4, 2025
@offensif offensif changed the title Update permission.ts Fix typeScript type mismatch Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants