From 7f465c9ffc758a7899bceaf6b2f490c12f3a0add Mon Sep 17 00:00:00 2001 From: Alfredo Bonilla Date: Sun, 12 Jan 2025 10:11:56 -0600 Subject: [PATCH] feat: fix build errors --- apps/web/.gitignore | 4 ++ apps/web/package.json | 4 +- .../web/src/contracts/predeployedContracts.ts | 55 ------------------ bun.lockb | Bin 611176 -> 611176 bytes 4 files changed, 6 insertions(+), 57 deletions(-) delete mode 100644 apps/web/src/contracts/predeployedContracts.ts diff --git a/apps/web/.gitignore b/apps/web/.gitignore index 7c19e7b..1912e20 100644 --- a/apps/web/.gitignore +++ b/apps/web/.gitignore @@ -46,3 +46,7 @@ yarn-error.log* .idea *storybook.log storybook-static + +# prompts +instructions/ +instructions/* diff --git a/apps/web/package.json b/apps/web/package.json index 77d993a..7e42fe0 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "prisma": { - "schema": "apps/web/prisma/schema.prisma", - "seed": "node apps/web/prisma/seed.js" + "schema": "./prisma/schema.prisma", + "seed": "./prisma/seed.js" }, "scripts": { "build": "next build", diff --git a/apps/web/src/contracts/predeployedContracts.ts b/apps/web/src/contracts/predeployedContracts.ts deleted file mode 100644 index 8f11d78..0000000 --- a/apps/web/src/contracts/predeployedContracts.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * This file is autogenerated by Scaffold-Stark. - * You should not edit it manually or your changes might be overwritten. - */ - -import { - devnetEthClassHash, - devnetStrkClassHash, - universalEthAddress, - sepoliaMainnetEthClassHash, - universalStrkAddress, - sepoliaMainnetStrkClassHash, - universalErc20Abi, -} from "../utils/Constants"; - -const preDeployedContracts = { - devnet: { - Eth: { - address: universalEthAddress, - abi: universalErc20Abi, - classHash: devnetEthClassHash, - }, - Strk: { - address: universalStrkAddress, - abi: universalErc20Abi, - classHash: devnetStrkClassHash, - }, - }, - sepolia: { - Eth: { - address: universalEthAddress, - abi: universalErc20Abi, - classHash: sepoliaMainnetEthClassHash, - }, - Strk: { - address: universalStrkAddress, - abi: universalErc20Abi, - classHash: sepoliaMainnetStrkClassHash, - }, - }, - mainnet: { - Eth: { - address: universalEthAddress, - abi: universalErc20Abi, - classHash: sepoliaMainnetEthClassHash, - }, - Strk: { - address: universalStrkAddress, - abi: universalErc20Abi, - classHash: sepoliaMainnetStrkClassHash, - }, - }, -} as const; - -export default preDeployedContracts; diff --git a/bun.lockb b/bun.lockb index 2bacc1d9347b097960a94d256b12d4c92e2cda27..b397e86221424158d03705c993a6f0d9d6589a3e 100755 GIT binary patch delta 46 zcmaE{O!dVw)rJF7M2#)Eo>LBurkIO=$TH}Nn(>~|8Rv3h}pM)xWZ9U2LQ4@ B6F~p~ delta 48 zcmaE{O!dVw)rJF7M2#)Eo>LBuro1$!F0VOHi`BRSJ;4