Skip to content

Commit

Permalink
Merge pull request #1632 from radixdlt/test/add-serialize-to-attached…
Browse files Browse the repository at this point in the history
…-module

Add serde::Serialize/Deserialize to AttachedModuleId
  • Loading branch information
talekhinezh authored Oct 19, 2023
2 parents 79fe7a8 + bbf844a commit 95da402
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion radix-engine-interface/src/api/object_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ impl ModuleId {
}

#[repr(u8)]
#[cfg_attr(feature = "radix_engine_fuzzing", derive(Arbitrary))]
#[cfg_attr(
feature = "radix_engine_fuzzing",
derive(Arbitrary, serde::Serialize, serde::Deserialize)
)]
#[derive(
Debug,
Clone,
Expand Down

0 comments on commit 95da402

Please sign in to comment.