tlsnotary / tlsn

Rust implementation of the TLSNotary protocol
https://tlsnotary.org
219 stars 55 forks source link

refactor(tlsn): mpz upgrade #512

Closed sinui0 closed 1 week ago

sinui0 commented 1 week ago

This PR updates tlsn crates to integrate the mpz upgrade.

note: cherry pick #499 to run integration tests

Changes

  1. Switch to using serio and new uid-mux, clean up IO code including better error handling. This should also remove any potential race conditions that may occur from the remote peer closing.
  2. As changed in #502 we no longer reveal the MAC key to the verifier
  3. tracing is always on
  4. Added force-st feature to tlsn-prover and tlsn-verifier which forces single threaded execution (disables rayon)
  5. We no longer allocate OTs for key exchange / GHASH upfront, it's handled downstream #496 #502
  6. Added some type aliases in tlsn-common to reduce noise
themighty1 commented 1 week ago

@sinui0 , I think the conflicts need to be resolved. i cant load up this branch into vscode currently.

sinui0 commented 1 week ago

@themighty1 can you elaborate? Merge conflicts don't prevent you from checking out the branch