From 4c13bbfba3aceba4f112dc3ff9f331d4bc4cce02 Mon Sep 17 00:00:00 2001 From: FuzzB0t Date: Sat, 20 Jul 2024 19:03:15 -0600 Subject: [PATCH] Fix output for invalid fromCall.func --- packages/builder/src/steps/invoke.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/steps/invoke.ts b/packages/builder/src/steps/invoke.ts index 4f4b97684..c33369ede 100644 --- a/packages/builder/src/steps/invoke.ts +++ b/packages/builder/src/steps/invoke.ts @@ -118,7 +118,7 @@ async function runTxn( if (!neededOwnerFuncAbi) { throw new Error( `contract ${contract.address} for ${packageState.currentLabel} does not contain the function "${ - config.func + config.fromCall.func }" to determine owner. List of recognized functions is:\n${Object.keys( contract.abi.filter((v) => v.type === 'function').map((v) => (v as viem.AbiFunction).name) ).join(