Skip to content

Unable to run the tests successfully on the polygon network #3

@nidhi-singh02

Description

@nidhi-singh02

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions