Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(repo): typos #16589

Merged
merged 2 commits into from
Apr 2, 2024
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
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
Loading