Skip to content

Commit

Permalink
ics26_routing: Derive Hash for ModuleId (#179)
Browse files Browse the repository at this point in the history
* ics26_routing: Derive Hash for ModuleId

Signed-off-by: Kevin Ji <[email protected]>

* Add changelog for #179

Signed-off-by: Kevin Ji <[email protected]>
Co-authored-by: Shoaib Ahmed <[email protected]>
  • Loading branch information
kevinji and hu55a1n1 authored Oct 17, 2022
1 parent 140f24d commit bdd70c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Derive Hash for ModuleId ([#179](https://github.com/cosmos/ibc-rs/issues/179))
2 changes: 1 addition & 1 deletion crates/ibc/src/core/ics26_routing/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub trait Ics26Context:
#[derive(Debug, PartialEq, Eq)]
pub struct InvalidModuleId;

#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize)]
#[derive(Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Deserialize, Serialize)]
pub struct ModuleId(String);

impl ModuleId {
Expand Down

0 comments on commit bdd70c3

Please sign in to comment.