Skip to content
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

Support invalid receivers in the IBC PFM flow #4134

Merged
merged 13 commits into from
Jan 20, 2025
Prev Previous commit
Next Next commit
Move PFM to middlewares
sug0 authored and tzemanovic committed Jan 20, 2025
commit 9f542132ba1449e1d9542342494cac908dcbbcf4
5 changes: 4 additions & 1 deletion crates/ibc/src/context/middlewares.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//! Middleware entry points on Namada.

pub mod pfm_mod;
// mod crossroads_mod;

use std::cell::RefCell;
use std::collections::BTreeSet;
use std::fmt::Debug;
@@ -9,7 +12,7 @@ use std::rc::Rc;
use ibc_middleware_packet_forward::PacketForwardMiddleware;
use namada_core::address::Address;

use crate::context::pfm_mod::PfmTransferModule;
use self::pfm_mod::PfmTransferModule;
use crate::context::transfer_mod::TransferModule;
use crate::{IbcCommonContext, IbcStorageContext};

File renamed without changes.
1 change: 0 additions & 1 deletion crates/ibc/src/context/mod.rs
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ pub mod execution;
pub mod middlewares;
pub mod nft_transfer;
pub mod nft_transfer_mod;
pub mod pfm_mod;
pub mod router;
pub mod storage;
pub mod token_transfer;