Skip to content

Commit

Permalink
fix testing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBird96 committed Sep 18, 2024
1 parent 44e40a0 commit fcdc125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/mint/types/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestEmitNewTokenomicsSetEvent(t *testing.T) {
events := ctx.EventManager().Events()
require.Len(t, events, 1)

require.Equal(t, "mint.v3.EventTokenomicsSet", events[0].Type)
require.Equal(t, "mint.v2.EventTokenomicsSet", events[0].Type)
require.Contains(t, events[0].Attributes[0].Key, "circulating_supply")
require.Contains(t, events[0].Attributes[0].Value, circulatingSupply.String())
require.Contains(t, events[0].Attributes[1].Key, "emissions_amount")
Expand All @@ -40,7 +40,7 @@ func TestEmitNewEcosystemTokenMintedSetEvent(t *testing.T) {
events := ctx.EventManager().Events()
require.Len(t, events, 1)

require.Equal(t, "mint.v3.EventEcosystemTokenMintSet", events[0].Type)
require.Equal(t, "mint.v2.EventEcosystemTokenMintSet", events[0].Type)
require.Contains(t, events[0].Attributes[0].Key, "block_height")
require.Contains(t, events[0].Attributes[0].Value, "1")
require.Contains(t, events[0].Attributes[1].Key, "token_amount")
Expand Down

0 comments on commit fcdc125

Please sign in to comment.