Skip to content

Commit

Permalink
fix: add remark call to borrow proxy (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustermeiszer authored Jul 26, 2024
1 parent f5ce924 commit f647a49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/altair/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) |
// Borrowers should be able to (un)charge fees as part of the borrow flow
RuntimeCall::PoolFees(pallet_pool_fees::Call::charge_fee { .. }) |
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. })
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. }) |
RuntimeCall::Remarks(pallet_remarks::Call::remark { .. })
) | ProxyType::PodOperation.filter(c)
}
ProxyType::Invest => matches!(
Expand Down
3 changes: 2 additions & 1 deletion runtime/centrifuge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) |
// Borrowers should be able to (un)charge fees as part of the borrow flow
RuntimeCall::PoolFees(pallet_pool_fees::Call::charge_fee { .. }) |
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. })
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. }) |
RuntimeCall::Remarks(pallet_remarks::Call::remark { .. })
) | ProxyType::PodOperation.filter(c)
}
ProxyType::Invest => matches!(
Expand Down
3 changes: 2 additions & 1 deletion runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::TokenMux(pallet_token_mux::Call::match_swap {..}) |
// Borrowers should be able to (un)charge fees as part of the borrow flow
RuntimeCall::PoolFees(pallet_pool_fees::Call::charge_fee { .. }) |
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. })
RuntimeCall::PoolFees(pallet_pool_fees::Call::uncharge_fee { .. }) |
RuntimeCall::Remarks(pallet_remarks::Call::remark { .. })
) | ProxyType::PodOperation.filter(c)
}
ProxyType::Invest => matches!(
Expand Down

0 comments on commit f647a49

Please sign in to comment.