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

Add serde serialization and deserialization to Packet Receipt #794

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add serde serialization and deserialization to Packet Receipt
([#794](https://github.com/cosmos/ibc-rs/pull/794))
1 change: 1 addition & 0 deletions crates/ibc/src/core/ics04_channel/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
feature = "borsh",
derive(borsh::BorshSerialize, borsh::BorshDeserialize)
)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]

Check warning on line 38 in crates/ibc/src/core/ics04_channel/packet.rs

View check run for this annotation

Codecov / codecov/patch

crates/ibc/src/core/ics04_channel/packet.rs#L38

Added line #L38 was not covered by tests
#[derive(Clone, Debug)]
pub enum Receipt {
Ok,
Expand Down
Loading