Unit-Testing on a local chain is important, because it helps you:
A) to run tests quickly and especially for free, compared to continuous deployment on the MainNetwork. This way you save a lot of fees, time and costs.
B) to run tests in an environment where logging is activated. On the Main-Net you have no access to transaction logs and this is ultimately the information you need to debug your contracts.
C) to avoid regression bugs with contracts that are updated constantly on the main-net. Once you update a contract on the main-net, the address stays the same, but the code changes and this can have disastrous side-effects.
Correct Answer:
Verified
Q47: Address.call.value():
A) sends the gas stipend of 2300
Q48: Using selfdestruct(beneficiary) with the beneficiary being a
Q49: When you do external calls to other
Q50: Truffle:
A) is a framework that helps developers
Q51: It's not possible to use inheritance from
Q53: To generate a random number:
A) it's good
Q54: Inheritance is useful, because a contract that
Q55: All low-level functions on the address, so
Q56: The difference between address.send() and address.transfer() is:
A)
Q57: When defining a new datatype:
A) its best
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents