-
I am getting following error when calling endLottery function. Not sure what I am missing. Can you please help? Brownie v1.17.2 - Python development framework for Ethereum SmartcontractLotteryProject is the active project. Launching 'ganache-cli --accounts 10 --hardfork istanbul --gasLimit 12000000 --mnemonic brownie --port 8545'... Running 'scripts/deploy_lottery.py::main'... Transaction sent: 0xe32677f021ed8131944b28cbc57e3fe75a1b28b3f10041e89cebcfd90a8d338f Transaction sent: 0xc509c872ecebb1dddb54a37b841a38553731c2d925ee7c0034357eed4e32cb08 Transaction sent: 0x344666c4ca24d48671f492c0f26abfac18fc0228e7d5e8a2002f3ec7289edcf8 network:::{'gas_limit': 'max', 'gas_buffer': 1, 'gas_price': 0, 'max_fee': None, 'priority_fee': None, 'reverting_tx_gas_limit': 'max', 'default_contract_owner': True, 'cmd_settings': None, 'keyhash': '0x2ed0feb3e7fd2022120aa84fab1945545a9f2ffc9076fd6156fa96eaff4c1311', 'fee': 100000000000000000} Lottery.startLottery confirmed Block: 5 Gas used: 28902 (0.24%) Lottery Started! Lottery.enter confirmed Block: 6 Gas used: 70995 (0.59%) Entered Lottery! LinkToken.transfer confirmed Block: 7 Gas used: 51386 (0.43%) Contract Finded! Transaction sent: 0xe97361a7db515a30e3feac79b1e14d6e16abd3132949b17a82fbb83cd87bc619 File "brownie/_cli/run.py", line 50, in main |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @rsamban as the error says the problem is with your request randomness function, could you please share here your contract code in order to check it? |
Beta Was this translation helpful? Give feedback.
Hello @rsamban as the error says the problem is with your request randomness function, could you please share here your contract code in order to check it?