From 774ad6a4d55e5a34fbc5d19e0779d75a106b1af7 Mon Sep 17 00:00:00 2001 From: Jacob Homanics Date: Fri, 8 Dec 2023 17:43:04 -0600 Subject: [PATCH] updated linter --- .github/workflows/lint.yaml | 3 +-- package.json | 3 ++- packages/foundry/package.json | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ecd046e..159c096 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -35,9 +35,8 @@ jobs: - name: Run foundry node, deploy contracts (& generate contracts typescript output) env: - DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }} ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} - run: yarn chain & yarn deploy + run: yarn chain & yarn deploy-local id: build - name: Run tests diff --git a/package.json b/package.json index 8475360..aa4396e 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "account": "yarn workspace @se-2/foundry account", "chain": "yarn workspace @se-2/foundry chain", "compile": "yarn workspace @se-2/foundry compile", + "deploy-local": "yarn workspace @se-2/foundry deploy", "deploy": "yarn workspace @se-2/foundry deploy", "deploy:verify": "yarn workspace @se-2/foundry deploy:verify", "fork": "yarn workspace @se-2/foundry fork", @@ -37,4 +38,4 @@ "lint-staged": "~13.2.2" }, "packageManager": "yarn@3.2.3" -} +} \ No newline at end of file diff --git a/packages/foundry/package.json b/packages/foundry/package.json index 9471ed9..a7381c4 100644 --- a/packages/foundry/package.json +++ b/packages/foundry/package.json @@ -5,6 +5,7 @@ "account": "node script/ListAccount.js", "chain": "anvil --config-out localhost.json", "compile": "forge compile", + "deploy-local": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-localhost} --broadcast --legacy && node script/generateTsAbis.js", "deploy": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy && node script/generateTsAbis.js", "deploy:verify": "forge build --build-info --build-info-path out/build-info/ && forge script script/Deploy.s.sol --rpc-url ${1:-default_network} --broadcast --legacy --verify ; node script/generateTsAbis.js", "fork": "anvil --fork-url ${0:-mainnet} --chain-id 31337 --config-out localhost.json", @@ -25,4 +26,4 @@ "@types/prettier": "2", "@types/qrcode": "1" } -} +} \ No newline at end of file