You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the project on my machine, I have followed all the steps defined in the README.md under the "contracts" folder and I am using ploygon mumbai network. While trying to do npx hardhat test, my test are failing with error
SportsPredictionGame Unit Tests
Claim
should split winnings between results:
Error: sending a transaction requires a signer (operation="sendTransaction", code=UNSUPPORTED_OPERATION, version=contracts/5.7.0)
Node version - above 18.
The text was updated successfully, but these errors were encountered:
nidhi-singh02
changed the title
Unable to run the tests on the polygon network
Unable to run the tests successfully on the polygon network
Dec 7, 2023
@nidhi-singh02 the error seems to indicate that there iss no signer/provider. Indicates that perhaps you're PRIVATE KEY env var is not being picked up or is unset. Please take a look at that?
Also note that Mumbai has been deprecated and we've update the configs accordingly. Please pull the repo and use one of the supported networks (contracts/networks.js)
I'll close this issue for now as its possibly stale, but if you need help please reopen. Thanks!
I am trying to run the project on my machine, I have followed all the steps defined in the README.md under the "contracts" folder and I am using ploygon mumbai network. While trying to do
npx hardhat test
, my test are failing with errorNode version - above 18.
The text was updated successfully, but these errors were encountered: