SeiyaKobayashi / zkml-optimization

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

[TASK]: Implement `commit()` function #6

Closed SeiyaKobayashi closed 1 year ago

SeiyaKobayashi commented 1 year ago

📝 Overview

Implement commit() function of Verifier contract.

🖋 Details

📚 References

SeiyaKobayashi commented 1 year ago

We need to include sender's address (+ optionally some secret value) when generating a hash value.

SeiyaKobayashi commented 1 year ago

Seems we don't need to commit test data itself because it is efficiently encoded in Merkle tree of testing results.