Skip to content

Commit

Permalink
Remove deploying price (does not need to be redeployed).
Browse files Browse the repository at this point in the history
  • Loading branch information
Brean0 committed Apr 9, 2024
1 parent 49dcaa9 commit 380ca41
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions protocol/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 380ca41

Please sign in to comment.