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

Events 2.0: type name agnostic signature topic #1847

Open
ascjones opened this issue Jul 13, 2023 · 0 comments
Open

Events 2.0: type name agnostic signature topic #1847

ascjones opened this issue Jul 13, 2023 · 0 comments
Labels
A-ink_lang [ink_lang] Work item

Comments

@ascjones
Copy link
Collaborator

ascjones commented Jul 13, 2023

I agree with @ascjones , the best possible solution is trait TopicName { const NAME: &static str; } and const hash calculation. I think we need to create a low-priority issue to not forget about it. Later, maybe someone will make a const version of blake2, and we can easily implement that.

Originally posted by @xgreenx in #1827 (comment)

Related #1838

@ascjones ascjones added the A-ink_lang [ink_lang] Work item label Jul 13, 2023
@ascjones ascjones mentioned this issue Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ink_lang [ink_lang] Work item
Projects
None yet
Development

No branches or pull requests

1 participant