public-awesome / cw-nfts

Examples and helpers to build NFT contracts on CosmWasm
Apache License 2.0
185 stars 181 forks source link

Replace the `cw721::CustomMsg` trait with `cosmwasm_std::CustomMsg` #93

Closed larry0x closed 1 year ago

larry0x commented 1 year ago

In packages/cw721/src/traits.rs is this TODO item:

// TODO: move this somewhere else... ideally cosmwasm-std
pub trait CustomMsg: Clone + std::fmt::Debug + PartialEq + JsonSchema {}

In fact, cosmwasm-std already has the CustomMsg trait. This PR replaces cw721::CustomMsg trait with cosmwasm_std::CustomMsg.

0xekez commented 1 year ago

@larry0x looks like this needs a rebase before it can be merged