Skip to content

Commit f4db683

Browse files
alvrsfrolic
andauthored
chore(entrykit): update error message in userOpExecutor (#3609)
Co-authored-by: Kevin Ingersoll <kingersoll@gmail.com>
1 parent f1e008f commit f4db683

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fuzzy-ants-cry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@latticexyz/entrykit": patch
3+
---
4+
5+
Updated error message for unsupported methods in `userOpExecutor`.

packages/entrykit/src/quarry/transports/userOpExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function userOpExecutor({ executor }: { executor: ConnectedClient }): Tra
6464
return await estimateUserOperationGas(params);
6565
}
6666

67-
throw new Error("Method not implemented.");
67+
throw new Error(`userOpExecutor: method "${method}" not supported`);
6868
};
6969

7070
return createTransport({

0 commit comments

Comments
 (0)