Skip to content

Commit

Permalink
docs: updating docs to include note about version return
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton committed Jul 30, 2024
1 parent b409e25 commit 007eb9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/architecture/adr-008-app-caller-cbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
```

Expand Down

0 comments on commit 007eb9f

Please sign in to comment.