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 #372

Open
wants to merge 1 commit into
base: main
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/executor/executorManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ export class ExecutorManager {
entryPoint,
opDetails.accountDeployed
)
if (opDetails.status === "succesful") {
if (opDetails.status === "successful") {
this.eventManager.emitIncludedOnChain(
userOpHash,
transactionHash,
Expand Down
6 changes: 3 additions & 3 deletions src/utils/userop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export function getAddressFromInitCodeOrPaymasterAndData(

type UserOperationDetailsType = {
accountDeployed: boolean
status: "succesful" | "calldata_phase_reverted"
status: "successful" | "calldata_phase_reverted"
revertReason?: Hex
}

Expand Down Expand Up @@ -298,7 +298,7 @@ export const getBundleStatus = async (
// create result entry if doesn't exist
result[opHash] ??= {
accountDeployed: false,
status: "succesful"
status: "successful"
}

switch (eventName) {
Expand All @@ -312,7 +312,7 @@ export const getBundleStatus = async (
}
case "UserOperationEvent": {
const status = args.success
? "succesful"
? "successful"
: "calldata_phase_reverted"
result[opHash].status = status
break
Expand Down
2 changes: 1 addition & 1 deletion test/kinto-e2e/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kinto E2E Tests

E2E tests for Kinto L2, the tests are performed by re-simulating succesfully mined userOperations. Each test case will setup a Alto and Anvil instance at that block height and resubmit the userOperation using either `eth_sendUserOperation` or `pimlico_sendCompressedUserOperation`.
E2E tests for Kinto L2, the tests are performed by re-simulating successfully mined userOperations. Each test case will setup a Alto and Anvil instance at that block height and resubmit the userOperation using either `eth_sendUserOperation` or `pimlico_sendCompressedUserOperation`.

## Running The Tests

Expand Down
2 changes: 1 addition & 1 deletion test/kinto-e2e/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const main = async () => {
}

// biome-ignore lint/suspicious/noConsoleLog:
console.log("Succesfully Resimulated All UserOperations")
console.log("Successfully Resimulated All UserOperations")
process.exit(0)
}

Expand Down