Closed pedrohba1 closed 1 month ago
Facing the same issue.
@pedrohba1 I was able to make it work by explicitly specifying the number of confirmations required, the timeout, as well as the checkInterval.
await responseListener.listenForResponseFromTransaction(requestTx.hash, 12000, 1, 1) # explicitly mention parameters
Worked for me, thanks!
THis is https://github.com/smartcontractkit/functions-toolkit/issues/56
thanks for reporting your workaround @pedrohba1 - will take a look!
Confirmed this appears to work. I will also look at this bug in the imported functions-toolkit package. Thanks for the workaround @pedrohba1 .
I will patch this repo with the fix.
I will close this issue out and if there are new developments I'll reopen it and provide you all with updates.
I'm using netowrk
localFunctionsTestnet
and when trying to run a localfunctions-request
the following is happening:That keeps waiting, but never finishes. Although, when I check the on-chain resposne, it did happen and update the value in the contract:
It is possible to reproduce this problem with the steps in the readme In this folder repo's "fork" of this starter kit: https://github.com/propytech-dao/chainlink-hackaton/tree/main/functions-hardhat-starter-kit#readme