Skip to content

When to wait for block confirmations #4592

Discussion options

You must be logged in to vote

@amineprogmine

  1. When you perform any kind of WRITE transaction you should wait for block confirmations, for READ is not required. Why is it required? Because WRITE changes the state of the blockchain and creates transactions so we wait for the confirmation that whether our transaction gets confirmed or not.
  2. fixture is just a function provided by the hardhat-deploy plugin which deploys contracts before starting tests. It takes a list of tags contained inside the deploy scripts. In order to use contracts in our test we need to deploy them.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@moayuisuda
Comment options

@Koowah
Comment options

@moayuisuda
Comment options

@Koowah
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants