Replies: 2 comments
-
Try and replace |
Beta Was this translation helpful? Give feedback.
0 replies
-
@cah311 I am assuming you do not have a getter function in the Raffle contract as so: function getLastTimeStamp() public view returns (uint256) {
return s_lastTimeStamp;
} Note: Make sure you have the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to do unit tests and getting this:
const { assert, expect } = require("chai")
const { getNamedAccounts, deployments, ethers, network } = require("hardhat")
const { developmentChains, networkConfig } = require("../../helper-hardhat-config")
!developmentChains.includes(network.name)
? describe.skip
: describe("Raffle Unit Tests", function () {
let raffle, raffleContract, vrfCoordinatorV2Mock, raffleEntranceFee, deployer, interval
const chainId = network.config.chainId
``
here is my repo
https://github.com/cah311/hardhat-lottery-fcc
Beta Was this translation helpful? Give feedback.
All reactions