From 007eb9ff69e90c6381779929736b7043aa3ffa03 Mon Sep 17 00:00:00 2001 From: chatton Date: Tue, 30 Jul 2024 22:03:28 +0100 Subject: [PATCH] docs: updating docs to include note about version return --- docs/architecture/adr-008-app-caller-cbs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/architecture/adr-008-app-caller-cbs.md b/docs/architecture/adr-008-app-caller-cbs.md index 027fb827f5e..7e9971b4069 100644 --- a/docs/architecture/adr-008-app-caller-cbs.md +++ b/docs/architecture/adr-008-app-caller-cbs.md @@ -96,7 +96,8 @@ type PacketDataUnmarshaler interface { // UnmarshalPacketData unmarshals the packet data into a concrete type // ctx, portID, channelID are provided as arguments, so that (if needed) // the packet data can be unmarshaled based on the channel version. - UnmarshalPacketData(ctx sdk.Context, portID, channelID string, bz []byte) (interface{}, error) + // the version of the underlying app is also returned. + UnmarshalPacketData(ctx sdk.Context, portID, channelID string, bz []byte) (interface{}, string, error) } ```