Skip to content

Commit

Permalink
Fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrLSD committed Feb 7, 2025
1 parent b860a2e commit ab884d2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/g1_add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const BASE_GAS_FEE: u64 = 375;
/// Input length of `g1_add` operation.
const INPUT_LENGTH: usize = 256;

/// BLS12-382 G1 Add
/// BLS12-381 G1 Add
pub struct BlsG1Add;

impl BlsG1Add {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/g1_msm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DISCOUNT_TABLE: [u16; 128] = [
528, 528, 527, 526, 525, 525, 524, 523, 522, 522, 521, 520, 520, 519,
];

/// BLS12-382 G1 MSM
/// BLS12-381 G1 MSM
pub struct BlsG1Msm;

impl BlsG1Msm {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/g2_add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const BASE_GAS_FEE: u64 = 600;
/// Input length of `g2_add` operation.
const INPUT_LENGTH: usize = 512;

/// BLS12-382 G2 Add
/// BLS12-381 G2 Add
pub struct BlsG2Add;

impl BlsG2Add {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/g2_msm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DISCOUNT_TABLE: [u16; 128] = [
533, 532, 532, 531, 530, 530, 529, 528, 528, 527, 526, 526, 525, 524, 524,
];

/// BLS12-382 G2 MSM
/// BLS12-381 G2 MSM
pub struct BlsG2Msm;

impl BlsG2Msm {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/map_fp2_to_g2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use evm::{Context, ExitError};
/// Base gas fee for BLS12-381 `map_fp2_to_g2` operation.
const BASE_GAS_FEE: u64 = 23800;

/// BLS12-382 Map FP2 to G2
/// BLS12-381 Map FP2 to G2
pub struct BlsMapFp2ToG2;

impl BlsMapFp2ToG2 {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/map_fp_to_g1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use evm::{Context, ExitError};
/// Base gas fee for BLS12-381 `map_fp_to_g1` operation.
const MAP_FP_TO_G1_BASE: u64 = 5500;

/// BLS12-382 Map FP to G1
/// BLS12-381 Map FP to G1
pub struct BlsMapFpToG1;

impl BlsMapFpToG1 {
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! # BLS12-382
//! # BLS12-381
//!
//! Represents [EIP-2537](https://eips.ethereum.org/EIPS/eip-2537)
use crate::prelude::Borrowed;
Expand Down
2 changes: 1 addition & 1 deletion engine-precompiles/src/bls12_381/pairing_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const PAIRING_OFFSET_BASE: u64 = 37700;
/// Input length of pairing operation.
const INPUT_LENGTH: usize = 384;

/// BLS12-382 Pairing check
/// BLS12-381 Pairing check
pub struct BlsPairingCheck;

impl BlsPairingCheck {
Expand Down

0 comments on commit ab884d2

Please sign in to comment.