FundMe #3011
-
Hi Community,
Can you please let me know if my assumptions is correct or if not then where exactly is understanding lagging? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
You are right, but the deployer is already connected to the contract in beforeEach where we getContract : here |
Beta Was this translation helpful? Give feedback.
-
What is the doubt--precisely--here? |
Beta Was this translation helpful? Give feedback.
-
@aviorn36 This instance Hope it clears your queries, otherwise, you can tag me anytime, and as soon as I will be available will answer your query. |
Beta Was this translation helpful? Give feedback.
@aviorn36 This instance
fundMeContract
gets connected with a contract using deployer as an address, and in the loop we are using a different instancefundMeNewAccountConnected
and fund the contract with 5 or 6 whatever accounts. After the loop, we are using our old instance back that is still connected with the contract using deployer as an address.Hope it clears your queries, otherwise, you can tag me anytime, and as soon as I will be available will answer your query.