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

Test/ get available liquidity #107

Conversation

leohscl
Copy link
Contributor

@leohscl leohscl commented Oct 7, 2024

In test__get_available_liquidity_with_expired_requests, I started to re-implement initiate_liquidity_withdrawal, as I don't have access to it directly with contracts using contract_state_for_testing(). Should I keep going or can I somehow call initiate_liquidity_withdrawal() ?

Copy link

vercel bot commented Oct 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zkramp-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 3:31pm
zkramp-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 3:31pm

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.81%. Comparing base (b3881b8) to head (2eff018).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
+ Coverage   97.79%   97.81%   +0.01%     
==========================================
  Files          11       11              
  Lines         136      137       +1     
==========================================
+ Hits          133      134       +1     
  Misses          3        3              

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

new tests are very similar to available_liquidity tests

 [CONTRACTS] implement _get_available_liquidity tests keep-starknet-strange#90
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.

1 participant