Skip to content

A Ownable compile error #822

@live9369

Description

@live9369

When I run the command yarn compile:contracts to compile these contracts, the terminal appeard this error:

error: modifier-style base constructor call without arguments
   --> /Users/live/Desktop/learning/ethernaut/contracts/src/levels/BetHouse.sol:112:83
    |
112 |     constructor(string memory name_, string memory symbol_) ERC20(name_, symbol_) Ownable() {
    |                                                                                   ^^^^^^^^^
    |

what can I do?

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