LESSON 12: Error: invalid address or ENS name #1997
-
ERROR
UNIT TEST
=================================================================================== I have tried all sorts of modifications and permutations since yesterday but test keeps failing. It seems to be related with the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Should this line |
Beta Was this translation helpful? Give feedback.
-
Try logging address of the user before calling the transfer function. |
Beta Was this translation helpful? Give feedback.
-
@adityabhattad2021 Thank you for sharing this solution, it really helped me fix the test. However, running the lines below as is returned ================================================================================= Your code
After a little digging around I managed to make it work as seen below ==================================================================================== Working code
To do so I replaced
with
================================================================================== It seems Either way, it wouldn't have happened without your input...Thank you so much for the help! |
Beta Was this translation helpful? Give feedback.
-
Is this solved? If so, please close it for others to refer to. Thank you! :) |
Beta Was this translation helpful? Give feedback.
@adityabhattad2021 Thank you for sharing this solution, it really helped me fix the test.
However, running the lines below as is returned
Error: VoidSigner cannot sign transactions
=================================================================================
Your code