Replies: 1 comment 3 replies
-
Compiler changed worked |
Beta Was this translation helpful? Give feedback.
3 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning everyone,
i'm curently at lesson 9, specifically at the staging test and I'm stucked in a very weird situation. Here what is happening: basically when i run
yarn hardhat test
everything work perfectly and all the test are passed. The problem is when i run the staging test withyarn hardhat test --network rinkeby
because the test keeps getting stucked and exceeds the timeout, i'm coding along with Patrick - pausing him when i can't write as fast as him. In addition, i have also tried to copy and paste the test in the repo but it happens the same, the code gets blocked while entering the raffle (it seems like it cannot enter) and the goes for the timeout.The first time i wrote it the test could not get into the
try
ad verify the expects and the asserts, but it seemed that he could enter the raffle and on the vrf and keeper page i could indeed see the transactions, but it seemed that the test could not get info about this fulfillment and it went for timeout error even though the function were called.does anyone had the same problem? I checked multiple time the hardhat-config and helper-hardat-config and there aren't differences. Please help me :)
That'is the contract:
Thats the test written by me:
it gets stucked at "prima di entrare" and seems that the enterRaffle function doesn't work.
That is what the console prints me:
Thanks in advantage to who will answer/help me
EDIT:
After having changed the compiler version as suggested here #300 i have deployed everything again and, as you can see here (https://rinkeby.etherscan.io/address/0xb4d2f16038249cf6269bdfb5bba009b8aa111a48) from the contract side seems that all works, there is the transaction to enter the raffle, also there are the internal transactions to VRF and Keeper and the emits, but the test keeps getting stucked.
Beta Was this translation helpful? Give feedback.
All reactions