diff --git a/packages/cli/src/deploy/ensureFunctions.ts b/packages/cli/src/deploy/ensureFunctions.ts index 1667842599..75958047c0 100644 --- a/packages/cli/src/deploy/ensureFunctions.ts +++ b/packages/cli/src/deploy/ensureFunctions.ts @@ -56,13 +56,13 @@ export async function ensureFunctions({ encodedFunctionData = encodeFunctionData({ abi: worldAbi, functionName: "registerRootFunctionSelector", - args: [systemId, func.systemFunctionSignature, func.systemFunctionSelector], + args: [systemId as Hex, func.systemFunctionSignature, func.systemFunctionSelector], }); } else { encodedFunctionData = encodeFunctionData({ abi: worldAbi, functionName: "registerFunctionSelector", - args: [systemId, func.systemFunctionSignature], + args: [systemId as Hex, func.systemFunctionSignature], }); } return encodedFunctionData;