Skip to content
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

fix: add validation for minimum balance to be aggregated #270

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

kerber0x
Copy link
Contributor

@kerber0x kerber0x commented Feb 6, 2024

Description and Motivation

This adds a minimum balance to be aggregated by the contracts. Skips small balances to prevent errors when aggregating assets and sending them back from the fee collector to the fee distributor.

Related Issues


Checklist:

  • I have read Migaloo's contribution guidelines.
  • My pull request has a sound title and description (not something vague like Update index.md)
  • All existing and new tests are passing.
  • I updated/added relevant documentation.
  • The code is formatted properly cargo fmt --all --.
  • Clippy doesn't report any issues cargo clippy -- -D warnings.
  • I have regenerated the schemas if needed cargo schema.

@kerber0x kerber0x merged commit a91b39b into feat/lunc Feb 6, 2024
2 of 4 checks passed
@kerber0x kerber0x deleted the feat/min-aggregatable-balance branch February 6, 2024 11:41
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