Skip to content

Commit

Permalink
put back module name in event (cosmos#1681) (cosmos#1712)
Browse files Browse the repository at this point in the history
(cherry picked from commit c96fe92)

Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
  • Loading branch information
2 people authored and ulbqb committed Jul 27, 2023
1 parent 4c77e8a commit 6d2bf1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/apps/transfer/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func (im IBCModule) OnRecvPacket(
}

eventAttributes := []sdk.Attribute{
sdk.NewAttribute(sdk.AttributeKeyModule, types.ModuleName),
sdk.NewAttribute(sdk.AttributeKeySender, data.Sender),
sdk.NewAttribute(types.AttributeKeyReceiver, data.Receiver),
sdk.NewAttribute(types.AttributeKeyDenom, data.Denom),
Expand Down

0 comments on commit 6d2bf1e

Please sign in to comment.