Skip to content

Commit

Permalink
remove dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Feb 23, 2024
1 parent 256f726 commit ff13d34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions pallets/loans/src/entities/pricing/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ impl<T: Config> ExternalActivePricing<T> {
}

fn linear_accrual_price(&self, maturity: Seconds) -> Result<T::Balance, DispatchError> {
dbg!(
self.settlement_price_updated,
self.latest_settlement_price,
maturity,
self.info.notional,
T::Time::now()
);
Ok(cfg_utils::math::y_coord_in_rect(
(self.settlement_price_updated, self.latest_settlement_price),
(maturity, self.info.notional),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4031,7 +4031,6 @@ mod development {

let sender = <T as pallet_liquidity_pools_gateway::Config>::Sender::get();

dbg!(frame_system::Pallet::<T>::events());
assert!(frame_system::Pallet::<T>::events().iter().any(|e| {
e.event
== pallet_liquidity_pools_gateway::Event::<T>::OutboundMessageSubmitted {
Expand Down Expand Up @@ -4133,7 +4132,6 @@ mod development {
increase_msg
));

dbg!(frame_system::Pallet::<T>::events());
assert!(frame_system::Pallet::<T>::events().iter().any(|e| {
e.event
== pallet_liquidity_pools_gateway::Event::<T>::OutboundMessageSubmitted {
Expand Down

0 comments on commit ff13d34

Please sign in to comment.