Anyone else get this error when running Dog Contract?
Not sure it is supposed to happen or if it is a typo.
Note: I originally posted this on Github but GitHub flagged my account (idk why) so I moved it here.
Anyone else get this error when running Dog Contract?
Not sure it is supposed to happen or if it is a typo.
Note: I originally posted this on Github but GitHub flagged my account (idk why) so I moved it here.
Think you may have forgotten to declare the event before calling it. Check if you have this line below included with all your other declarations:
event addedDog(address owner, string name, uint dogId);
The link you supplied is to an older lesson - hereโs the link to the correct one, which has the declaration on line 15.