Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: audit findings #71

Merged
merged 17 commits into from
Jan 13, 2025
Merged

fix: audit findings #71

merged 17 commits into from
Jan 13, 2025

Conversation

@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2024

Codecov Report

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

Project coverage is 1.09%. Comparing base (2533cc1) to head (80c79e8).

Files with missing lines Patch % Lines
programs/gateway/src/lib.rs 0.00% 118 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main     #71      +/-   ##
========================================
- Coverage   5.85%   1.09%   -4.76%     
========================================
  Files          1       1              
  Lines        410     456      +46     
========================================
- Hits          24       5      -19     
- Misses       386     451      +65     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@skosito skosito changed the title fix: non security related findings fix: audit findings Jan 5, 2025
Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the unit testing, we actually have codecov integrated for Solana smart contract but the number remains low: https://app.codecov.io/gh/zeta-chain/protocol-contracts-solana/tree/non-security-related-findings/programs%2Fgateway%2Fsrc
Is there some configuration missing here?

tests/gateway.ts Show resolved Hide resolved
@skosito
Copy link
Contributor Author

skosito commented Jan 13, 2025

Regarding the unit testing, we actually have codecov integrated for Solana smart contract but the number remains low: https://app.codecov.io/gh/zeta-chain/protocol-contracts-solana/tree/non-security-related-findings/programs%2Fgateway%2Fsrc Is there some configuration missing here?

not sure why we have that workflow, we have anchor js tests, and this seems like it is checking if we have rust tests, maybe we can open issue for it

i added tests that are marked in audit findings as missing, so i think we can close this one and follow up on codecov, at first look i didnt find some easy built in tool for it

@skosito skosito force-pushed the non-security-related-findings branch 2 times, most recently from 6917b8d to 02acf98 Compare January 13, 2025 23:26
@skosito skosito force-pushed the non-security-related-findings branch from 02acf98 to 80c79e8 Compare January 13, 2025 23:29
@skosito skosito merged commit 79eb50a into main Jan 13, 2025
13 of 14 checks passed
@skosito skosito deleted the non-security-related-findings branch January 13, 2025 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename programs/protocol-contracts-solana into programs/gateway Complete unit test for the program
4 participants