Closed My922 closed 2 years ago
Can you:
It looks like your lottery doesn't take constructor arguments (see your constructor
function in lottery.sol) and your passing it args (see your line with
Lottery.deploy()`). Remove those args.
Thank you! problem solved.
I'm trying to do the test for test_get_entrance_fee, but the test always show: TypeError: constructor requires no arguments
I don't know what's going on.
Here's my test code:
Here's my sol file:
And this is the error: