diff --git a/README.md b/README.md index b380384..bf4e670 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ You'll need to have the following tools installed in your machine: First, install the Scaffold-ETH 2 CTF extension with create-eth: ```bash -npx create-eth@0.1.0 -e buidlguidl/ctf.buidlguidl.com:extension +npx create-eth@1.0.4 -e buidlguidl/ctf.buidlguidl.com:extension ``` This will create a new folder with all the tools you need to play the CTF locally. Afterward, you’ll be able to deploy the solutions to Optimism and capture the flags in the [live game](https://ctf.buidlguidl.com). diff --git a/extension/packages/foundry/script/Deploy.s.sol.args.mjs b/extension/packages/foundry/script/Deploy.s.sol.args.mjs index 20e7cf2..f23ba0e 100644 --- a/extension/packages/foundry/script/Deploy.s.sol.args.mjs +++ b/extension/packages/foundry/script/Deploy.s.sol.args.mjs @@ -1,4 +1,4 @@ -export const deploymentsScriptsImports = `// import { DeploySolution2 } from "./DeploySolution2.s.sol";`; +export const preContent = `// import { DeploySolution2 } from "./DeploySolution2.s.sol";`; export const deploymentsLogic = ` // Deploy Solution 2 // DeploySolution2 deploySolution2 = new DeploySolution2(); diff --git a/extension/packages/hardhat/hardhat.config.ts.args.mjs b/extension/packages/hardhat/hardhat.config.ts.args.mjs index 2bfe142..85563fe 100644 --- a/extension/packages/hardhat/hardhat.config.ts.args.mjs +++ b/extension/packages/hardhat/hardhat.config.ts.args.mjs @@ -1 +1 @@ -export const imports = `import "./tasks/generateTsAbisCTFTask";`; +export const preContent = `import "./tasks/generateTsAbisCTFTask";`; diff --git a/extension/packages/nextjs/app/page.tsx.args.mjs b/extension/packages/nextjs/app/page.tsx.args.mjs index 4defbff..424f664 100644 --- a/extension/packages/nextjs/app/page.tsx.args.mjs +++ b/extension/packages/nextjs/app/page.tsx.args.mjs @@ -1,4 +1,4 @@ -export const imports = `import { FlagTracker } from "~~/components/FlagTracker";`; +export const preContent = `import { FlagTracker } from "~~/components/FlagTracker";`; export const description = `