Skip to content

What is the need is deployTransaction] if we already deployed the contract using deploy() and confirmed using deployed() #5514

Answered by Nlferu
adityapadekar asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @adityapadekar

We are doing simpleStorage.deployTransaction.wait(6) because it means we are waiting 6 BLOCKS to confirm transacion (We will specify waiting blocks confirmation in hardhat.config.js later on in course). If you will do wait(6) you are not waiting for blocks confirmations but only for 6 seconds.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@adityapadekar
Comment options

Answer selected by adityapadekar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants