-
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
Custom MsgMultiSend Handler (x/bank fork) #3807
Conversation
If this is agreed upon, I'll go ahead and wrap up this PR. |
310d34e
to
37e0f32
Compare
4393310
to
9eab29e
Compare
Codecov Report
@@ Coverage Diff @@
## develop #3807 +/- ##
===========================================
+ Coverage 60.88% 60.88% +<.01%
===========================================
Files 191 192 +1
Lines 14180 14215 +35
===========================================
+ Hits 8633 8655 +22
- Misses 4991 4999 +8
- Partials 556 561 +5 |
@@ -0,0 +1,210 @@ | |||
package bank |
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.
love these testcases @alexanderbez !
Why are we using both the genesis param and codepath changes? Then when we want to activate transfers, we have to change both? We could be just using the codepath, and remove |
The mechanism for the circuit breaker might be just to use that same parameter - but I agree for now, let's remove the parameter for enabling / disabling sends in this PR to avoid confusion. |
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.
Agreed with @sunnya97 on removing the parameter, otherwise structure looks fine.
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
I see, OK - as-is is fine with me then. |
x/bank
router into the gaia app modules to allow a custom message handling.send_enabled
genesis paramcloses: #3802
credit: @sunnya97
/cc @jackzampolin @jaekwon @rigelrozanski @cwgoes
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: