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

core/vm: add secp256r1 into PrecompiledContractsHaber #2483

Merged
merged 6 commits into from
May 21, 2024

Conversation

NathanBSC
Copy link
Contributor

Description

core/vm: add secp256r1 into PrecompiledContractsHaber

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@NathanBSC NathanBSC marked this pull request as ready for review May 21, 2024 08:32
@NathanBSC NathanBSC marked this pull request as draft May 21, 2024 08:32
@NathanBSC NathanBSC marked this pull request as ready for review May 21, 2024 08:36
zzzckck
zzzckck previously approved these changes May 21, 2024
galaio
galaio previously approved these changes May 21, 2024
MatusKysel
MatusKysel previously approved these changes May 21, 2024
@NathanBSC NathanBSC dismissed stale reviews from MatusKysel, galaio, and zzzckck via f696042 May 21, 2024 08:52
galaio
galaio previously approved these changes May 21, 2024
zzzckck
zzzckck previously approved these changes May 21, 2024
@NathanBSC NathanBSC dismissed stale reviews from zzzckck and galaio via 135f970 May 21, 2024 09:11
@emailtovamos
Copy link
Contributor

There's nothing named secp256r1 but I can see secp256k1. Is this a naming issue or am I missing something?

common.BytesToAddress([]byte{104}): &verifyDoubleSignEvidence{},
common.BytesToAddress([]byte{105}): &secp256k1SignatureRecover{},

common.BytesToAddress([]byte{0x01, 0x00}): &p256Verify{},
Copy link
Contributor

Choose a reason for hiding this comment

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

@emailtovamos P256 (a.k.a. secp256r1 elliptic curve)

@zzzckck zzzckck merged commit f190c49 into bnb-chain:master May 21, 2024
7 checks passed
@NathanBSC NathanBSC deleted the secp256r1_add_haber_logic branch July 25, 2024 07:39
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.

6 participants