Skip to content

Commit

Permalink
fix(repo): typos (#16589)
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx authored Apr 2, 2024
1 parent ea6f2d2 commit 8836e50
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
[default]
# False positives
extend-ignore-identifiers-re = [
"QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG",
]

[files]
extend-exclude = [
"*.png",
"*.svg",
"CHANGELOG.md",
"packages/protocol/contracts/automata-attestation/**",
"packages/protocol/contracts/thirdparty/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
const startFetching = async () => {
await fetchHealthChecks();
const healtCheckInterval = setInterval(() => {
const healthCheckInterval = setInterval(() => {
fetchHealthChecks();
}, 1200);
return () => {
clearInterval(healtCheckInterval);
clearInterval(healthCheckInterval);
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function fetchGuardianProverHealthChecksFromApi(
return resp.data;
}

export async function fetchLatestGuardianProverHealtCheckFromApi(
export async function fetchLatestGuardianProverHealthCheckFromApi(
baseURL: string,
guardianProverId: number
): Promise<HealthCheck> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getGuardianProverIdsPerBlockNumber } from './blocks/getGuardianProverId
import { sortSignedBlocksDescending } from './blocks/sortSignedBlocks';
import { publicClient } from './wagmi/publicClient';
import { formatEther, type Address } from 'viem';
import { fetchLatestGuardianProverHealtCheckFromApi, fetchUptimeFromApi } from './api';
import { fetchLatestGuardianProverHealthCheckFromApi, fetchUptimeFromApi } from './api';
import { fetchGuardianProverRequirementsFromContract } from './guardianProver/fetchGuardianProverRequirementsFromContract';
import {
minGuardianRequirement,
Expand Down Expand Up @@ -89,7 +89,7 @@ async function fetchGuardians() {
guardian.balance = balanceAsEther;

const [status, uptime] = await Promise.all([
fetchLatestGuardianProverHealtCheckFromApi(
fetchLatestGuardianProverHealthCheckFromApi(
import.meta.env.VITE_GUARDIAN_PROVER_API_URL,
guardian.id
),
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/simulation/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# 3: TARGET
PARSER_MODE = 1

# Average propsal time
# Average proposal time
AVG_BASEFEE_PER_L2_BLOCK = 0
# Average proof time
AVG_GAS_USED_PER_L1_BLOCK = 0
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/team/airdrop/ERC20Airdrop.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ contract TestERC20Airdrop is TaikoTest {
vm.stopPrank();

// 5. Mint (AKA transfer) to the vault. This step on mainnet will be done by Taiko Labs. For
// testing on A6 the imporatnt thing is: HAVE tokens in this vault!
// testing on A6 the important thing is: HAVE tokens in this vault!
vm.prank(address(vault), owner);
BridgedERC20(token).mint(address(vault), 1_000_000_000e18);

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/team/airdrop/ERC721Airdrop.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ contract TestERC721Airdrop is TaikoTest {
vm.startPrank(address(vault));
// 5. Mint 5 NFTs token ids from 0 - 4 to the vault. This step on mainnet will be done by
// Taiko Labs. For
// testing on A6 the imporatnt thing is: HAVE tokens in this vault!
// testing on A6 the important thing is: HAVE tokens in this vault!
for (uint256 i; i != mintSupply; ++i) {
BridgedERC721(token).mint(address(vault), i);
}
Expand Down

0 comments on commit 8836e50

Please sign in to comment.