Lesson7: deployments.fixture() is not working with tags #1077
-
When i run if my function looks like this beforeEach(async function () {
deployer = (await getNamedAccounts()).deployer;
await deployments.fixture(["all"]);
fundme = await ethers.getContract("FundMe", deployer);
mockV3Aggregator = await ethers.getContract("MockV3Aggregator", deployer);
}); it seems like the tags is not working ... also i doulbed checked my deploy scripts both of them has "all" tag in them and when i remove the tags beforeEach(async function () {
deployer = (await getNamedAccounts()).deployer;
await deployments.fixture();
fundme = await ethers.getContract("FundMe", deployer);
mockV3Aggregator = await ethers.getContract("MockV3Aggregator", deployer);
}); it works just fine |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Can you push this to a repo for me to check? (Reply with the link) Thank you |
Beta Was this translation helpful? Give feedback.
-
I'm running into the same error. I don't really see an answer in this discussion though? What was the fix? |
Beta Was this translation helpful? Give feedback.
-
Hey I am having this exact issue, were you ever able to find a fix?? |
Beta Was this translation helpful? Give feedback.
-
Has anyone ever figured out how to solve that? |
Beta Was this translation helpful? Give feedback.
Can you push this to a repo for me to check? (Reply with the link) Thank you