Skip to content

Conversation

@Le-Caignec
Copy link
Contributor

@Le-Caignec Le-Caignec commented Jul 7, 2025

No description provided.

@Le-Caignec Le-Caignec self-assigned this Jul 7, 2025
@Le-Caignec Le-Caignec changed the title feat: Add comprehensive tests for _debit functionality in IexecLayerZ… feat: add unit tests for internal _debit function #62 Jul 7, 2025
@Le-Caignec Le-Caignec marked this pull request as ready for review July 7, 2025 13:32
@Le-Caignec Le-Caignec changed the title feat: add unit tests for internal _debit function #62 feat: add unit tests for internal _debit function Jul 7, 2025
@codecov
Copy link

codecov bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.78%. Comparing base (83d1069) to head (e9741ff).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   83.78%   83.78%           
=======================================
  Files           4        4           
  Lines         111      111           
  Branches        7        7           
=======================================
  Hits           93       93           
  Misses         17       17           
  Partials        1        1           

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

Base automatically changed from feature/add-unit-tests-for-_mint-function to main July 10, 2025 15:58
@Le-Caignec Le-Caignec requested a review from gfournierPro July 15, 2025 09:21
Copy link
Member

@zguesmi zguesmi left a comment

Choose a reason for hiding this comment

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

We need to test the slippage mechanism. Check that _debit reverts with SlippageExceeded when the slippage amount is exceeded.

@Le-Caignec
Copy link
Contributor Author

Added test for slippage exceedance : Commit: e9741ff

@Le-Caignec Le-Caignec requested a review from zguesmi July 18, 2025 13:37
@Le-Caignec Le-Caignec merged commit 8ccc0e4 into main Jul 18, 2025
@Le-Caignec Le-Caignec deleted the feature/add-unit-tests-for-_debit-function branch July 18, 2025 14:38
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.

4 participants