-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: duster pallet #104
feat: duster pallet #104
Conversation
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
==========================================
- Coverage 87.08% 85.66% -1.43%
==========================================
Files 17 20 +3
Lines 1812 1911 +99
==========================================
+ Hits 1578 1637 +59
- Misses 234 274 +40
Continue to review full report at Codecov.
|
// Ignore the result, it fails - no problem. | ||
let _ = Self::reward_duster(&who, currency_id, dust); | ||
|
||
Ok(().into()) |
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.
You might want to refund the fees if the dusting was successful. That way you can maybe get away with a smaller reward.
Added duster and offchain duster pallets.