Skip to content

Conversation

@AntonAndell
Copy link
Collaborator

Description:

Commit Message

type: commit message

see the guidelines for commit messages.

Changelog Entry

version: <log entry>

Checklist:

  • I have performed a self-review of my own code
  • I have documented my code in accordance with the documentation guidelines
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the unit tests
  • I only have one commit (if not, squash them into one commit).
  • I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

@codecov
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 69.73684% with 23 lines in your changes missing coverage. Please review.

Project coverage is 73.02%. Comparing base (5a059c6) to head (d58a217).
Report is 70 commits behind head on main.

Files with missing lines Patch % Lines
...rk/balanced/score/tokens/wicx/PayableIRC2Base.java 65.95% 3 Missing and 13 partials ⚠️
.../java/network/balanced/score/tokens/wicx/WICX.java 75.86% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #463      +/-   ##
============================================
- Coverage     73.05%   73.02%   -0.04%     
- Complexity     1603     1620      +17     
============================================
  Files           116      118       +2     
  Lines          7686     7762      +76     
  Branches        936      951      +15     
============================================
+ Hits           5615     5668      +53     
- Misses         1667     1673       +6     
- Partials        404      421      +17     
Flag Coverage Δ
java 73.02% <69.73%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@AntonAndell AntonAndell added the enhancement New feature or request label Nov 18, 2024
}

BigInteger getICXDeposit() {
return getICXDeposit();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you want to return here Context.getValue();


private String ensureNotEmpty(String str) {
Context.require(str != null && !str.trim().isEmpty(), "str is null or empty");
assert str != null;
Copy link
Collaborator

Choose a reason for hiding this comment

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

already thrown exception for str==null, assert not required I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants