Skip to content

Commit

Permalink
chore: more rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Dec 15, 2024
1 parent bdb2472 commit 41210e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions book/src/using-extensions/customizable-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ To declare a modular arithmetic struct, one needs to use the `moduli_declare!` m

```rust
moduli_declare! {
Bls12381_Fp { modulus = "0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab" },
Bn254_Fp { modulus = "21888242871839275222246405745257275088696311157297823662689037894645226208583" },
Bls12_381Fp { modulus = "0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab" },
Bn254Fp { modulus = "21888242871839275222246405745257275088696311157297823662689037894645226208583" },
}
```

Expand Down Expand Up @@ -48,7 +48,7 @@ To declare an elliptic curve struct, one needs to use the `sw_declare!` macro. A
```rust
sw_declare! {
Bls12_381G1Affine { mod_type = Bls12_381Fp, b = BLS12_381_B },
Bn254 { mod_type = Bn254Fp, b = BN254_B },
Bn254G1Affine { mod_type = Bn254Fp, b = BN254_B },
}
```

Expand Down

0 comments on commit 41210e3

Please sign in to comment.