-
Notifications
You must be signed in to change notification settings - Fork 86
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
Borrow proxy with PodOperation behavior #1854
Conversation
runtime/centrifuge/src/lib.rs
Outdated
@@ -693,7 +693,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType { | |||
// Borrowers should be able to swap back and forth between local currencies and their variants | |||
RuntimeCall::TokenMux(pallet_token_mux::Call::burn {..}) | | |||
RuntimeCall::TokenMux(pallet_token_mux::Call::deposit {..}) | | |||
RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) | |||
RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) | | |||
ProxyType::PodOperation.filter(c) |
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 love the simplicity of this solution!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1854 +/- ##
==========================================
- Coverage 46.57% 46.50% -0.08%
==========================================
Files 167 167
Lines 13098 13101 +3
==========================================
- Hits 6100 6092 -8
- Misses 6998 7009 +11 ☔ View full report in Codecov by Sentry. |
Description
We want the
ProxyType::Borrow
to also behaves as theProxyType::PodOperation
. Thread: https://kflabs.slack.com/archives/C04GJQAM9P0/p1717154483749839