timeout error on staging test on sepolia #5520
Unanswered
Sanyam2103
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
@Sanyam2103 change your this lines console.log("Entering Raffle...")
const tx = await raffle.enterRaffle({ value: raffleEntranceFee })
await tx.wait(1)
console.log("Ok, time to wait...")
const winnerStartingBalance = await accounts[0].getBalance()in to this then try console.log("Entering Raffle...")
await raffle.enterRaffle({ value: raffleEntranceFee })
const tx = await raffle.performUpkeep([])
const txRecipt = await tx.wait(1)
console.log("Ok, time to wait...")
const winnerStartingbalance = await accounts[1].getBalance()
await vrfCoordinatorV2Mock.fulfillRandomWords(
txRecipt.events[1].args.requestId,
raffle.address
) |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Beta Was this translation helpful? Give feedback.
All reactions