Replies: 1 comment
-
Tags allow you to run your scripts individually. For example, let's say you have two scripts 00-mock and 01-fundme. Your 00 script is complete but 01 is not finished. if you run the command npx hardhat deploy or yarn hardhat deploy, your scripts will deploy in the order of 00 -> 01. You will get an error since your 01 deployment script is not finished or working yet. However, if you want to deploy only script 00, you could do that by using tags - npx (yarn) hardhat deploy --tags raffle. I hope this makes sense!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, can somebody explain the purpose of module.exports.tags = ['all, 'raffle']? what does it do?
Beta Was this translation helpful? Give feedback.
All reactions