Skip to content

Fix: call correct assert function in assertLeDecimal with custom error #11010

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Galoretka
Copy link

Fixes a logic issue in the assertLeDecimal(uint256,uint256,uint256,string) function, where it previously called assertGeDecimal on failure, resulting in misleading error messages. Now it correctly calls assertLeDecimal, ensuring error logs are consistent and accurate with the intended assertion. This change improves the clarity of test failure reports and aligns the function with the rest of the assertion helpers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant