zeta-chain / protocol-contracts-solana

solana interface contract for zetachain
MIT License
5 stars 2 forks source link

fix: add domain separator in the TSS message signature hash #25

Closed brewmaster012 closed 1 month ago

brewmaster012 commented 1 month ago

This addresses potential issue that a TSS signed message can be used in either of the two withdraw functions.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 85 lines in your changes missing coverage. Please review.

Project coverage is 8.46%. Comparing base (13e04d9) to head (2407dbe).

Files with missing lines Patch % Lines
programs/protocol-contracts-solana/src/lib.rs 0.00% 85 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #25 +/- ## ========================================= - Coverage 11.65% 8.46% -3.19% ========================================= Files 1 1 Lines 163 248 +85 ========================================= + Hits 19 21 +2 - Misses 144 227 +83 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.