Skip to content

Conversation

heueristik
Copy link
Collaborator

@heueristik heueristik commented Jul 3, 2025

See https://github.com/anoma/token/actions/runs/16049356137/job/45288084213?pr=27#step:13:10

Explanation:

a >= b costs slightly more gas than a+1 > b

a+1 overflowing is not a concern here

@heueristik heueristik requested a review from agureev July 3, 2025 14:55
@heueristik heueristik changed the title style: fix linter warning style: silence linter warning Jul 3, 2025
@heueristik heueristik added this to the Audit 1 milestone Jul 3, 2025
Copy link
Collaborator

@agureev agureev left a comment

Choose a reason for hiding this comment

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

Approve modulo the fact that we may want supply > 1 billion to represent decimal values.

@heueristik heueristik merged commit 1abfa66 into main Jul 3, 2025
1 check passed
@heueristik heueristik deleted the feature/satisfy-linter branch July 3, 2025 15:11
@heueristik heueristik self-assigned this Jul 10, 2025
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.

2 participants