func RegisterCodec(cdc *codec.Codec) {
	cdc.RegisterConcrete(CreatePostMsg{}, "lino/createPost", nil)
	cdc.RegisterConcrete(UpdatePostMsg{}, "lino/updatePost", nil)
	cdc.RegisterConcrete(DeletePostMsg{}, "lino/deletePost", nil)
	cdc.RegisterConcrete(DonateMsg{}, "lino/donate", nil)
	cdc.RegisterConcrete(IDADonateMsg{}, "lino/idaDonate", nil)
}
RegisterCodec concrete types on wire codec
package types
import (
	"github.com/cosmos/cosmos-sdk/codec"
)