-
after testing i am not able to pass fund function but in lecture it is passing and the error i am getting is below
if i use
then i pass the test
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello @haris4121, the issue seems to be the messages. In your contract you specified that you will revert the transaction with: |
Beta Was this translation helpful? Give feedback.
-
here is the snippet but but this issue is still unresolved due to recent update in hardhat , although i we have custom error like for withdraw fucntion .
then we can use
here is the snippet of fundme
|
Beta Was this translation helpful? Give feedback.
here is the snippet but but this issue is still unresolved due to recent update in hardhat , although i we have custom error like for withdraw fucntion .
then we can use
here is the snippet of fundme