Skip to content

Video 9, Event testing, timestamp 4:30, test does not pass #6

Closed Answered by BowtiedHarpyEagle
BowtiedHarpyEagle asked this question in Q&A
Discussion options

You must be logged in to vote

OK I noticed that in the test the event didn't mention "indexed" for the first two parameters so changing the line 10 in Event.t.sol to

event Transfer(address indexed from, address indexed to, uint256 amount);

fixed the problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BowtiedHarpyEagle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant