Skip to content

[smart contract example] TypeError: this.chips.deployed is not a function #338

@sbellem

Description

@sbellem

Following https://docs.kurtosis.com/how-to-local-eth-testnet#deploy-and-test-your-dapp-locally, and got this error:

$  npx hardhat test --network localnet


  ChipToken
    mint
      1) "before each" hook for "should mint 1000 chips for PLAYER ONE"


  0 passing (65ms)
  1 failing

  1) ChipToken
       "before each" hook for "should mint 1000 chips for PLAYER ONE":
     TypeError: this.chips.deployed is not a function

Metadata

Metadata

Assignees

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