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

chore: fix some typos in comment #792

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion src/SvmUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const evmAddressToPublicKey = (address: string): PublicKey => {
return new PublicKey(ethers.utils.arrayify(bytes32Address));
};

// TODO: we are inconsistant with where we are placing some utils. we have some stuff here, some stuff that we might
// TODO: we are inconsistent with where we are placing some utils. we have some stuff here, some stuff that we might
// want to re-use within the test directory. more over, when moving things into the canonical across repo, we should
// re-use the test utils there.
export function calculateRelayHashUint8Array(relayData: any, chainId: BN): Uint8Array {
Expand Down
2 changes: 1 addition & 1 deletion test/evm/hardhat/HubPool.DisputeRootBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe("HubPool Root Bundle Dispute", function () {
consts.mockSlowRelayRoot
);

// Increment time to avoid any weirdness with the dispute occuring at the same time as the proposal.
// Increment time to avoid any weirdness with the dispute occurring at the same time as the proposal.
const proposalTime = await hubPool.getCurrentTime();
await hubPool.connect(dataWorker).setCurrentTime(proposalTime.add(15));

Expand Down
2 changes: 1 addition & 1 deletion test/svm/SvmSpoke.Bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ describe("svm_spoke.bundle", () => {
relayerRefundLeaves.push({
isSolana: true,
leafId: new BN(0),
// Set chainId to 1000. this is a diffrent chainId than what is set in the initialization. This mimics trying to execute a leaf for another chain on the SVM chain.
// Set chainId to 1000. this is a different chainId than what is set in the initialization. This mimics trying to execute a leaf for another chain on the SVM chain.
chainId: new BN(1000),
amountToReturn: new BN(0),
mintPublicKey: mint,
Expand Down
2 changes: 1 addition & 1 deletion test/svm/SvmSpoke.Deposit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ describe("svm_spoke.deposit", () => {
assertSE(event[key], value, `${key} should match`);
}

// Check fake vault acount balance
// Check fake vault account balance
const fakeVaultAccount = await getAccount(connection, fakeVault);
assertSE(
fakeVaultAccount.amount,
Expand Down