Skip to content

Commit

Permalink
ci: include typos config
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Aug 7, 2024
1 parent b09affd commit 3f304fb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@ jobs:
uses: actions/checkout@v4
- name: Check spelling of files in the workspace
uses: crate-ci/[email protected]
with:
config: .typos.toml
13 changes: 13 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[files]
ignore-files = true
ignore-hidden = false
extend-exclude = [
".git/",
]

[default]
extend-ignore-re = [
# hardcoded ID in src/lib.rs:29
'94U5AHQMKkV5txNJ17QPXWoh474PheGou6cNP2FEuL1d',
]
check-filename = true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ https://github.com/zeta-chain/protocol-contracts-solana/blob/01eeb9733a00b6e972d

The TSS signature is a ECDSA secp256k1 signature; its public key therefore address
(Ethereum compatible hashing from pubkey) is therefore verifiable using the `secp256k1_recover`
function. Alternatively, Solana runtime also privides a program to provide this verification service
function. Alternatively, Solana runtime also provides a program to provide this verification service
via CPI; see [proposal 48](https://github.com/solana-foundation/solana-improvement-documents/blob/main/proposals/0048-native-program-for-secp256r1-sigverify.md)
which might be more cost efficient.

Expand Down
2 changes: 1 addition & 1 deletion scripts/fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ cargo fmt
if [[ $? == 0 ]] ; then
echo "Code is formatted!"
else
echo "An error ocurred during formatting"
echo "An error occurred during formatting"
fi

0 comments on commit 3f304fb

Please sign in to comment.