Skip to content

Lesson 7: Error: Transaction reverted: function returned an unexpected amount of data #331

Discussion options

You must be logged in to vote

@dibakarsutradhar @mattjaf
Fixed by removing await from expect(fundMe.fund()).to.be.reverted;

====================================================================================

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@DorianDaSilva
Comment options

@dibakarsutradhar
Comment options

@DorianDaSilva
Comment options

@DorianDaSilva
Comment options

@dibakarsutradhar
Comment options

Comment options

You must be logged in to vote
2 replies
@mattjaf
Comment options

@DorianDaSilva
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dibakarsutradhar
Comment options

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