-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
WIP: Alessio/safe coins #3678
WIP: Alessio/safe coins #3678
Conversation
6e34853
to
c985ece
Compare
786323e
to
0bf788d
Compare
// IsAllLT returns True iff for every denom in coins, the denom is present at | ||
// a smaller amount in coinsB. | ||
// IsAllLT returns true if all denoms in coins | ||
// are less than their counterparts in coinsB. | ||
func (coins Coins) IsAllLT(coinsB Coins) bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just use IsAllGT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, IsAllLT
can actually be removed - it's unused.
70111cc
to
eca60dd
Compare
Bump @alessio - has this since been supplanted, or not? |
Not quite yet, not entirely. Chunks have been ported though already. |
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: