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

Deduplicate the hash kernel logic. #262

Open
jayeshbairagi opened this issue Feb 12, 2020 · 0 comments
Open

Deduplicate the hash kernel logic. #262

jayeshbairagi opened this issue Feb 12, 2020 · 0 comments

Comments

@jayeshbairagi
Copy link
Collaborator

  • KERNEL_TYPEHASH and function hashKernel are coded in the multiple contracts i.e Core and Coconsensus
  • Create a new contract that implements the hashing logic and let other contracts inherit it.
  • Similarly, in the unit tests, it has multiple implementations. Deduplicate the logic.
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

No branches or pull requests

1 participant