Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
trevormil committed Nov 21, 2023
1 parent 3e09f16 commit b766c2b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 502 deletions.
6 changes: 3 additions & 3 deletions x/badges/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgTransferBadges{}, "badges/TransferBadges", nil)
cdc.RegisterConcrete(&MsgDeleteCollection{}, "badges/DeleteCollection", nil)
cdc.RegisterConcrete(&MsgUpdateUserApprovals{}, "badges/UpdateUserApprovals", nil)
cdc.RegisterConcrete(&MsgUniversalUpdateCollection{}, "badges/UpdateCollection", nil)
cdc.RegisterConcrete(&MsgUniversalUpdateCollection{}, "badges/UniversalUpdateCollection", nil)
cdc.RegisterConcrete(&MsgCreateAddressMappings{}, "badges/CreateAddressMappings", nil)
cdc.RegisterConcrete(&MsgCreateCollection{}, "badges/MsgCreateCollection", nil)
cdc.RegisterConcrete(&MsgUpdateCollection{}, "badges/MsgUpdateCollection", nil)
cdc.RegisterConcrete(&MsgCreateCollection{}, "badges/CreateCollection", nil)
cdc.RegisterConcrete(&MsgUpdateCollection{}, "badges/UpdateCollection", nil)
// this line is used by starport scaffolding # 2
}

Expand Down
2 changes: 1 addition & 1 deletion x/badges/types/message_msg_create_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (msg *MsgCreateCollection) GetSigners() []sdk.AccAddress {
}

func (msg *MsgCreateCollection) GetSignBytes() []byte {
bz := ModuleCdc.MustMarshalJSON(msg)
bz := AminoCdc.MustMarshalJSON(msg)
return sdk.MustSortJSON(bz)
}

Expand Down
2 changes: 1 addition & 1 deletion x/badges/types/message_msg_update_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (msg *MsgUpdateCollection) GetSigners() []sdk.AccAddress {
}

func (msg *MsgUpdateCollection) GetSignBytes() []byte {
bz := ModuleCdc.MustMarshalJSON(msg)
bz := AminoCdc.MustMarshalJSON(msg)
return sdk.MustSortJSON(bz)
}

Expand Down
Loading

0 comments on commit b766c2b

Please sign in to comment.