Skip to content

Commit c541070

Browse files
committed
todo
1 parent df3c30b commit c541070

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/thirdweb/src/utils/abi/normalizeFunctionParams.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export function normalizeFunctionParams(
1414
abiFunction.inputs.map((input, index) => {
1515
const value = input.name;
1616
if (value === undefined || value.length === 0) {
17+
// TODO: Handle multiple unnamed params
1718
if (!params["*"]) {
1819
throw new Error(
1920
`Missing named parameter for ${"name" in abiFunction ? abiFunction.name : "constructor"} at index ${index}`,

0 commit comments

Comments
 (0)