Skip to content

Commit

Permalink
fix artifacts pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 21, 2024
1 parent b1f4cda commit 3b3f9cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardhat-scripts/deploy-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function main() {
console.log(await managedSigner.getAddress())

// Deploy Strategy
const Strategy = await hre.ethers.getContractFactory("src/Strategy.sol:Strategy");
const Strategy = await hre.ethers.getContractFactory("out/Strategy.sol:Strategy");

const connectedStrategy = Strategy.connect(
managedSigner
Expand Down
5 changes: 3 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ const config: HardhatUserConfig = {
},
},
paths: {
sources: "./src", // Specify the main directory for source files
sources: "./src", // Where your contracts are
artifacts: "./artifacts", // Where compiled artifacts go
cache: "./cache" // Cache directory
},

networks: {
sepolia: {
url: process.env.SEPOLIA_RPC_URL || "",
Expand Down

0 comments on commit 3b3f9cc

Please sign in to comment.