From d0f3d856ae4877525f151a5b513aa5b08f677212 Mon Sep 17 00:00:00 2001 From: dan13ram Date: Tue, 27 Aug 2024 16:27:14 +0530 Subject: [PATCH] fixed make file --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 53e588963..1f77a68a1 100644 --- a/Makefile +++ b/Makefile @@ -33,11 +33,13 @@ verify-roles :; forge script script/Verify.s.sol --rpc-url ${rpc} # then import the private key with which you wish to deploy, create a password and add the public address of that key to the .env under DEPLOYER_ADDRESS. # make ynEigen path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key deployer=0xYourPublicAddressThatCorrespondsToYourSavedPrivateKeyInyieldnestDeployerKey api=etherscanApiKey -ynEigen :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "run(string)" ${path} --account yieldnestDeployerKey --sender ${deployer} --broadcast --etherscan-api-key ${api} --verify +deployerAccountName = "yieldnestDeployerKey" +ynEigen :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "run(string)" ${path} --account ${deployerAccountName} --sender ${deployer} --broadcast --etherscan-api-key ${api} --verify -# make ynEignen-verify path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key -ynEignen-verify :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "verify(string)" ${path} --broadcast +# make ynEigen-verify path=script/ynEigen/input/lsd-mainnet.json rpc=https://mainnet.infura.io/v3/your-key +ynEigen-verify :; forge script script/ynEigen/YnEigenScript.s.sol:YnEigenScript --rpc-url ${rpc} --sig "verify(string)" ${path} --broadcast # alternative bash script with less inputs # make ynEigen-bash path=script/ynEigen/input/lsd-mainnet.json ynEigen-bash :; ./script/ynEigen/bash/deployYnEigen.sh ${path} +