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

popm/wasm: fix ethereum address when generating and parsing keys #174

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

joshuasing
Copy link
Contributor

Summary
Use uncompressed serialised secp256k1 public key to create the Ethereum address.
Previously, the compressed serialised secp256k1 public key was used, which resulted in a different value being provided as the address.

Changes

  • Use uncompressed serialised secp256k1 public key to create Ethereum addresses in the WebAssembly PoP Miner.

@joshuasing joshuasing added type: bug This is a bug size: S This change is small (+/- <80) labels Jul 10, 2024
@joshuasing joshuasing requested a review from a team as a code owner July 10, 2024 17:47
@github-actions github-actions bot added the area: popm/wasm This is a change to the WASM popm (PoP Miner) label Jul 10, 2024
Copy link
Contributor

@jcvernaleo jcvernaleo left a comment

Choose a reason for hiding this comment

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

OK

Copy link

@ArturDolzan ArturDolzan left a comment

Choose a reason for hiding this comment

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

Ok

@joshuasing joshuasing merged commit 939813c into main Jul 10, 2024
6 checks passed
@joshuasing joshuasing deleted the joshua/popm/fix-eth-address branch July 10, 2024 18:02
web3cryptoguy pushed a commit to web3cryptoguy/heminetwork that referenced this pull request Nov 1, 2024
…ilabs#174)

Use uncompressed serialised secp256k1 public key to create Ethereum
addresses.

Previously, the compressed serialised secp256k1 public key was used, which
resulted in a different value being provided as the address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: popm/wasm This is a change to the WASM popm (PoP Miner) size: S This change is small (+/- <80) type: bug This is a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants