From 2270abbcaa0add0a96ac6aa6957319b5fe742754 Mon Sep 17 00:00:00 2001 From: "Shiv Bhonde | shivbhonde.eth" Date: Mon, 14 Oct 2024 07:31:53 +0700 Subject: [PATCH] fix foundry generate script (#137) --- .changeset/selfish-singers-tease.md | 5 +++++ templates/solidity-frameworks/foundry/package.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/selfish-singers-tease.md diff --git a/.changeset/selfish-singers-tease.md b/.changeset/selfish-singers-tease.md new file mode 100644 index 000000000..6706a2a59 --- /dev/null +++ b/.changeset/selfish-singers-tease.md @@ -0,0 +1,5 @@ +--- +"create-eth": patch +--- + +fix foundry generate script diff --git a/templates/solidity-frameworks/foundry/package.json b/templates/solidity-frameworks/foundry/package.json index 53be8524b..cb202038f 100644 --- a/templates/solidity-frameworks/foundry/package.json +++ b/templates/solidity-frameworks/foundry/package.json @@ -6,12 +6,14 @@ "chain": "yarn workspace @se-2/foundry chain", "deploy": "yarn workspace @se-2/foundry deploy", "deploy:verify": "yarn workspace @se-2/foundry deploy:verify", + "account:generate": "yarn workspace @se-2/foundry account:generate", + "account:import": "yarn workspace @se-2/foundry account:import", "foundry:lint": "yarn workspace @se-2/foundry lint", "foundry:test": "yarn workspace @se-2/foundry test", "foundry:format": "yarn workspace @se-2/foundry format", "test": "yarn foundry:test", "verify": "yarn workspace @se-2/foundry verify", - "generate": "yarn workspace @se-2/foundry generate", + "generate": "yarn account:generate", "flatten": "yarn workspace @se-2/foundry flatten", "format": "yarn next:format && yarn foundry:format" }