Skip to content

Commit

Permalink
chore: Fix comment on DenomMetadata for 0.44 (#10408)
Browse files Browse the repository at this point in the history
Probably a leftover from 0.44 -> 0.45 renaming. Just verified the double key is still there two times in the key in simapp 0.44.2.
  • Loading branch information
webmaster128 authored Oct 20, 2021
1 parent 053e827 commit bbe724e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bank/migrations/v045/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestMigrateDenomMetaData(t *testing.T) {

for i := range []int{0, 1} {
key := append(v043.DenomMetadataPrefix, []byte(metaData[i].Base)...)
// keys before 0.44 had denom two times in the key
// keys before 0.45 had denom two times in the key
key = append(key, []byte(metaData[i].Base)...)
bz, err := encCfg.Codec.Marshal(&metaData[i])
require.NoError(t, err)
Expand Down

0 comments on commit bbe724e

Please sign in to comment.