Skip to content

Commit

Permalink
chore: Update broken link secp256r1.rs (bluealloy#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
dramarereg authored Feb 21, 2025
1 parent ac939f6 commit 644492a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/precompile/src/secp256r1.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! # EIP-7212 secp256r1 Precompile
//!
//! This module implements the [EIP-7212](https://eips.ethereum.org/EIPS/eip-7212) precompile for
//! This module implements the [RIP-7212](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md) precompile for
//! secp256r1 curve support.
//!
//! The main purpose of this precompile is to verify ECDSA signatures that use the secp256r1, or
Expand All @@ -20,7 +20,7 @@ pub fn precompiles() -> impl Iterator<Item = PrecompileWithAddress> {
[P256VERIFY].into_iter()
}

/// [EIP-7212](https://eips.ethereum.org/EIPS/eip-7212#specification) secp256r1 precompile.
/// [RIP-7212](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md#specification) secp256r1 precompile.
pub const P256VERIFY: PrecompileWithAddress =
PrecompileWithAddress(u64_to_address(0x100), p256_verify);

Expand Down

0 comments on commit 644492a

Please sign in to comment.