Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 29, 2024
1 parent 5370bd3 commit 6eb58e5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions x/bank/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1468,20 +1468,18 @@ func (suite *KeeperTestSuite) TestMsgMultiSendEvents() {
event1.Attributes = append(
event1.Attributes,
coreevent.Attribute{Key: banktypes.AttributeKeyRecipient, Value: acc2StrAddr},
coreevent.Attribute{Key: sdk.AttributeKeySender, Value: acc0StrAddr},
coreevent.Attribute{Key: sdk.AttributeKeyAmount, Value: newCoins.String()},
)
event1.Attributes = append(
event1.Attributes,
coreevent.Attribute{Key: sdk.AttributeKeyAmount, Value: newCoins.String()})

event2 := coreevent.Event{
Type: banktypes.EventTypeTransfer,
Attributes: []coreevent.Attribute{},
}
event2.Attributes = append(
event2.Attributes,
coreevent.Attribute{Key: banktypes.AttributeKeyRecipient, Value: acc3StrAddr},
)
event2.Attributes = append(
event2.Attributes,
coreevent.Attribute{Key: sdk.AttributeKeySender, Value: acc0StrAddr},
coreevent.Attribute{Key: sdk.AttributeKeyAmount, Value: newCoins2.String()},
)
// events are shifted due to the funding account events
Expand Down

0 comments on commit 6eb58e5

Please sign in to comment.