diff --git a/README.md b/README.md index ae80213..4c9f62c 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ pnpm run deploy; pnpm run serve; ``` +Depending on cairo compiler +nightly may be necessary to run locally ```bash cd api; export VITE_URL=http://localhost:3000 diff --git a/plugin/src/features/Deployment/index.tsx b/plugin/src/features/Deployment/index.tsx index 7484da3..0edd82f 100644 --- a/plugin/src/features/Deployment/index.tsx +++ b/plugin/src/features/Deployment/index.tsx @@ -480,7 +480,7 @@ const Deployment: React.FC = ({ setActiveTab }) => { } const handleDeploySubmit = (data: CallbackReturnType): void => { - handleDeploy(data.starknetjs as BigNumberish[]) + handleDeploy(data?.starknetjs ?? (data.raw as BigNumberish[])) } const setContractDeclaration = (currentContract: Contract): void => {