Purpose of mocks contracts in Tests #210
Answered
by
EngrPips
Shawon-Mandal
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
EngrPips
Jul 14, 2024
Replies: 1 comment 4 replies
-
Hello @Shawon-Mandal, We use Mocks when we want to have a stripped-down version of the original contract to be able to test on local chains such as |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why does the library not include all the functions of the original contract? You only use mock when you are sure it is best to use, and when you need to test the real contract and don't want to miss any details, you will use test net like sepolia.