SeiyaKobayashi / zkml-optimization

Optimization for on-chain private machine learning.
MIT License
13 stars 1 forks source link

[TASK]: Modify Tests to Use Mocked Contract #25

Closed SeiyaKobayashi closed 1 year ago

SeiyaKobayashi commented 1 year ago

📝 Overview

Implement MockedVerifier contract that could be used for testing.

🖋 Details

It seems better to be mocking some internal functions to implement tests for some functions (e.g. reveal()). Implement MockedVerifier contract that simply calls functions of Verifier contract that is to be mocked in our tests.

📚 References

n/a

SeiyaKobayashi commented 1 year ago

Not yet necessary to mock contracts / libraries at this point.