PatrickAlphaC / smartcontract-lottery

MIT License
79 stars 113 forks source link

Multiple Errors #39

Closed PP-AR-T closed 2 years ago

PP-AR-T commented 2 years ago

CompilerError: solc returned the following errors:

contracts/Lottery.sol:82:9: TypeError: Function has override specified but does not override anything. override ^------^

contracts/Lottery.sol:10:1: TypeError: Contract "Lottery" should be marked as abstract. contract Lottery is VRFConsumerBase, Ownable { ^ (Relevant source part starts here and spans across multiple lines). C:/Users/user/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@1.1.1/contracts/src/v0.6/VRFConsumerBase.sol:121:3: Missing implementation: function fulfillRandomness(bytes32 requestId, uint256 randomness) ^ (Relevant source part starts here and spans across multiple lines).

PP-AR-T commented 2 years ago

I would be extremely grateful for some help here, I am completely lost

PatrickAlphaC commented 2 years ago

Can you add your Lottery.sol code?

allsoldev commented 2 years ago

I had a similar issue, after investigating I found that I was overriding the wrong function. Please recheck or share the code

mattsegura commented 2 years ago

I would be extremely grateful for some help here, I am completely lost

could you please post your code

PatrickAlphaC commented 2 years ago

Closing due to stale