Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions