Lesson 7: Starting Lottery fuction in deploy_lottery.py error #477
-
Hello everyone, wondering if I can get some assistance with this error I seem to be running into when trying to run deploy_lottery.py after creating the start_lottery function. The error is as follows:
Let me know if you have any suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @brownandrew1390 it seems you are trying to execute a function which is Ownable using a different account which does not have permissions to execute that function. So if I have to guess I would said you forgot to add the Best regards, Cromewar. |
Beta Was this translation helpful? Give feedback.
Hello @brownandrew1390 it seems you are trying to execute a function which is Ownable using a different account which does not have permissions to execute that function. So if I have to guess I would said you forgot to add the
{"from": account}
modifier somewhere on your deploy script, if you want it please share it here so we can review it.Best regards, Cromewar.