From 380ca41bcd35886853bd76d827bf6e6e42a3c859 Mon Sep 17 00:00:00 2001 From: Brean0 Date: Tue, 9 Apr 2024 17:32:02 -0500 Subject: [PATCH] Remove deploying price (does not need to be redeployed). --- protocol/hardhat.config.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/protocol/hardhat.config.js b/protocol/hardhat.config.js index ef8da2a99c..98e36ebacc 100644 --- a/protocol/hardhat.config.js +++ b/protocol/hardhat.config.js @@ -177,21 +177,6 @@ task("diamondABI", "Generates ABI file for diamond, includes all ABIs of facets" console.log("ABI written to abi/Beanstalk.json"); }); -task("deployBeanstalkPrice", async function () { - let json = fs.readFileSync(`./artifacts/contracts/ecosystem/price/BeanstalkPrice.sol/BeanstalkPrice.json`); - await network.provider.send("hardhat_setCode", [ - PRICE, - JSON.parse(json).deployedBytecode, - ]); - priceContract = await ethers.getContractAt('BeanstalkPrice', PRICE) - console.log("BeanstalkPrice deployed at: ", priceContract.address) -}); - -task("testPrice", async function () { - priceContract = await ethers.getContractAt('BeanstalkPrice', PRICE) - console.log("Price: ", (await priceContract.price()).toString()) -}); - // BIP // task("marketplace", async function () { const owner = await impersonateBeanstalkOwner();