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

contracts/ens: revert bmt to keccak256 #19323

Merged
merged 2 commits into from
Mar 27, 2019

Conversation

acud
Copy link
Member

@acud acud commented Mar 25, 2019

as per the discussion in ensdomains/ens-app#113 (ENS Manager integration of EIP-1577), we are going to use keccak256 instead of bmt for ENS contentHashes

@acud acud added this to the 1.9.0 milestone Mar 25, 2019
@acud acud self-assigned this Mar 25, 2019
@acud acud requested review from nonsense and zelig March 25, 2019 02:32
contracts/ens/cid.go Outdated Show resolved Hide resolved
@zelig
Copy link
Contributor

zelig commented Mar 27, 2019

i dont understand this PR, bmt IS a different hashing algorithm,
it is using keccak256 but its not it.

@nonsense
Copy link
Member

The way I understand it, is BMT is a data structure which currently uses keccak-256 under the hood. I think this is what this discussion at ensdomains/ens-app#113 (comment) is also about. This is why they want us to change from bmt to keccak-256.

@zelig zelig merged commit 67fc037 into ethereum:master Mar 27, 2019
@acud acud deleted the change-eip-to-keccak branch March 27, 2019 14:08
kiku-jw pushed a commit to kiku-jw/go-ethereum that referenced this pull request Mar 29, 2019
* contracts/ens: revert bmt to keccak256

* contracts/ens: fix keccak256 hash code comment
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.

4 participants