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

vendor, crypto, swarm: switch over to upstream sha3 package #18390

Merged
merged 2 commits into from
Jan 4, 2019
Merged

vendor, crypto, swarm: switch over to upstream sha3 package #18390

merged 2 commits into from
Jan 4, 2019

Conversation

realdave
Copy link
Contributor

@realdave realdave commented Jan 3, 2019

The golang.org/x/crypto/sha3 package has been updated to include both NewLegacyKeccak256 and NewLegacyKeccak512, negating the need to replicate and extend the package here.

This adds the golang.org/x/crypto/sha3 dependency, removes the local crypto/sha3 package, and updates all usage accordingly.

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

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

Thank you! LGTM.

I've pushed a followup commit on top to update the entire crypto package from upstream. Now's as good of a time as ever to update it if we're touching anyway.

@karalabe karalabe added this to the 1.9.0 milestone Jan 4, 2019
@karalabe karalabe changed the title Remove sha3 package vendor, crypto, swarm: switch over to upstream sha3 package Jan 4, 2019
@karalabe karalabe merged commit 391d4cb into ethereum:master Jan 4, 2019
@realdave realdave deleted the remove-sha3-pkg branch January 4, 2019 16:14
@karalabe karalabe modified the milestones: 1.9.0, 1.8.21 Jan 15, 2019
dimpar added a commit to keep-network/keep-core that referenced this pull request Jul 4, 2019
- Import crypto/sha3 from `golang.org/x` instead of
`github.com/ethereum/go-ethereum`. This change was introduced in
Byzantium v1.8.21 PR: ethereum/go-ethereum#18390
For our upgrade we also need to point to golang.org/x/crypto/sha3 so the
dependencies won't break.
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Nov 29, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 2, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 2, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 4, 2024
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Dec 9, 2024
JukLee0ira pushed a commit to JukLee0ira/XDPoSChain that referenced this pull request Jan 2, 2025
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.

2 participants