Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,5 @@ jobs:
- uses: actions/checkout@v4
- uses: crate-ci/[email protected]
with:
config: ./Typos.toml
config: ./typos.toml
isolated: true

13 changes: 0 additions & 13 deletions Typos.toml

This file was deleted.

4 changes: 2 additions & 2 deletions crates/precompile/src/bls12_381/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ pub(super) fn extract_scalar_input(input: &[u8]) -> Result<blst_scalar, Precompi

/// Checks if the input is a valid big-endian representation of a field element.
fn is_valid_be(input: &[u8; 48]) -> bool {
for (i, modul) in input.iter().zip(MODULUS_REPR.iter()) {
match i.cmp(modul) {
for (i, modulo) in input.iter().zip(MODULUS_REPR.iter()) {
match i.cmp(modulo) {
Ordering::Greater => return false,
Ordering::Less => return true,
Ordering::Equal => continue,
Expand Down
5 changes: 5 additions & 0 deletions typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[default]
extend-ignore-identifiers-re = ["[sS]imular", "ba"]

[files]
extend-exclude = ["CHANGELOG.md", "tests"]