-
Notifications
You must be signed in to change notification settings - Fork 36
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
Send full custom msg fee to recipient instead of 50/50 split with module. #1267
Conversation
…or now it all goes to the recipient, see comment // AssessCustomMsgFeeBips is the bips the recipient will get // This should be a message level data (present in TypeAssessCustomMsgFee = assess_custom_msg_fee) i think so that it can be defined by the smart contract writer // or at the very least it can be a module param. // for now i am hard coding it to avoid breaking any clients and because of this ticket #1263 AssessCustomMsgFeeBips = 10_000
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1267 +/- ##
=======================================
Coverage 58.46% 58.47%
=======================================
Files 206 206
Lines 25264 25274 +10
=======================================
+ Hits 14771 14779 +8
- Misses 9398 9400 +2
Partials 1095 1095
|
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.
LGTM
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.
LGTM
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.
nice... I like the 10_000bips short circuit flow.
this PR implements #1263 …per request, still keeping bips as an option but for now it all goes to the recipient, see comment on AssessCustomMsgFeeBips
created follow up issue if we want to still have some kind of split in the future #1268
Description
closes: #1263
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes