Skip to content

Lesson 7: Starting Lottery fuction in deploy_lottery.py error #477

Answered by cromewar
brownandrew1390 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@brownandrew1390
Comment options

@cromewar
Comment options

@brownandrew1390
Comment options

@cromewar
Comment options

Answer selected by brownandrew1390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants