I was running test and kept encountering the error Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.7.0), so i figured it might be due to the uint256 requestId being wrong.
Turns out when I console.log(txReceipt.events[1].args)..i get this output:
I was running test and kept encountering the error
Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.7.0)
, so i figured it might be due to the uint256 requestId being wrong.Turns out when I console.log(txReceipt.events[1].args)..i get this output:
Is this a bug where the argument is being misspelled as requesId?? or is it likely due to errors in my code?