-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5f0bbc
commit b36c558
Showing
12 changed files
with
44 additions
and
103 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
pub mod aggregate_ism; | ||
// pub mod general; | ||
pub mod general; | ||
// pub mod ism_routes; | ||
// pub mod mailbox; | ||
// pub mod merkle_tree_hook; | ||
// pub mod multisig_ism; | ||
// pub mod validator_announce; | ||
pub mod validator_announce; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
use hyperlane_core::ModuleType; | ||
|
||
pub struct IsmType(pub hpl_interface::ism::ISMType); | ||
pub struct IsmType(pub hpl_interface::ism::IsmType); | ||
|
||
impl From<hpl_interface::ism::ISMType> for IsmType { | ||
fn from(value: hpl_interface::ism::ISMType) -> Self { | ||
impl From<hpl_interface::ism::IsmType> for IsmType { | ||
fn from(value: hpl_interface::ism::IsmType) -> Self { | ||
IsmType(value) | ||
} | ||
} | ||
|
||
impl From<IsmType> for ModuleType { | ||
fn from(value: IsmType) -> Self { | ||
match value.0 { | ||
hpl_interface::ism::ISMType::Unused => ModuleType::Unused, | ||
hpl_interface::ism::ISMType::Routing => ModuleType::Routing, | ||
hpl_interface::ism::ISMType::Aggregation => ModuleType::Aggregation, | ||
hpl_interface::ism::ISMType::LegacyMultisig => ModuleType::MessageIdMultisig, | ||
hpl_interface::ism::ISMType::MerkleRootMultisig => ModuleType::MerkleRootMultisig, | ||
hpl_interface::ism::ISMType::MessageIdMultisig => ModuleType::MessageIdMultisig, | ||
hpl_interface::ism::ISMType::Null => ModuleType::Null, | ||
hpl_interface::ism::ISMType::CcipRead => ModuleType::CcipRead, | ||
hpl_interface::ism::IsmType::Unused => ModuleType::Unused, | ||
hpl_interface::ism::IsmType::Routing => ModuleType::Routing, | ||
hpl_interface::ism::IsmType::Aggregation => ModuleType::Aggregation, | ||
hpl_interface::ism::IsmType::LegacyMultisig => ModuleType::MessageIdMultisig, | ||
hpl_interface::ism::IsmType::MerkleRootMultisig => ModuleType::MerkleRootMultisig, | ||
hpl_interface::ism::IsmType::MessageIdMultisig => ModuleType::MessageIdMultisig, | ||
hpl_interface::ism::IsmType::Null => ModuleType::Null, | ||
hpl_interface::ism::IsmType::CcipRead => ModuleType::CcipRead, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters