Skip to content

feat(primitives): k256 crate fallback for secp256k1 module#9989

Merged
shekhirin merged 18 commits intomainfrom
alexey/transaction-util-k256
Aug 2, 2024
Merged

feat(primitives): k256 crate fallback for secp256k1 module#9989
shekhirin merged 18 commits intomainfrom
alexey/transaction-util-k256

Conversation

@shekhirin
Copy link
Member

@shekhirin shekhirin commented Aug 1, 2024

Towards #9478 for reth-primitives crate, inspired by #9430

The k256 implementation is cross-tested against secp256k1.

@shekhirin shekhirin added the C-enhancement New feature or request label Aug 1, 2024
@shekhirin shekhirin marked this pull request as ready for review August 1, 2024 15:33
@shekhirin shekhirin force-pushed the alexey/transaction-util-k256 branch from 9353f8d to 6e1614f Compare August 1, 2024 16:22
@shekhirin shekhirin requested a review from mattsse August 1, 2024 16:38
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

needs double check on c-kzg because this obfuscates revm features even more

c-kzg = ["dep:c-kzg", "revm-primitives/c-kzg", "dep:tempfile", "alloy-eips/kzg", "dep:thiserror-no-std"]

I think this will still get pulled in because we enable c-kzg for primitives somewhere else but still we need to do a proper workspace feature review

@shekhirin shekhirin changed the title feat(primitives): k256 feature for secp256k1 module feat(primitives): k256 crate fallback for secp256k1 module Aug 1, 2024
@mattsse
Copy link
Collaborator

mattsse commented Aug 1, 2024

looks like some rpc code needs changes

@shekhirin shekhirin requested a review from emhane as a code owner August 2, 2024 07:29
@shekhirin shekhirin requested a review from DaniPopes as a code owner August 2, 2024 12:33
@shekhirin shekhirin enabled auto-merge August 2, 2024 12:39
@shekhirin shekhirin added this pull request to the merge queue Aug 2, 2024
Merged via the queue into main with commit d7f9a25 Aug 2, 2024
@shekhirin shekhirin deleted the alexey/transaction-util-k256 branch August 2, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants