-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SG-645 Update cw-nfts version #539
Conversation
…to humanalgorihtm/update-cw-nfts-version
Cosm-Orc Gas Usage
Raw Report for 7f9f9a5
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #539 +/- ##
==========================================
- Coverage 57.59% 57.04% -0.56%
==========================================
Files 72 72
Lines 3415 3476 +61
==========================================
+ Hits 1967 1983 +16
- Misses 1448 1493 +45
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to re-think ownership and hardcoding upgrade versions.
…to humanalgorihtm/update-cw-nfts-version
NftInfo { | ||
token_id: String, | ||
}, | ||
#[returns(NftInfoResponse<Empty>)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double check this works for sg721-metadata-onchain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to double check? Do you mean after merge?
Update 4-24-2023: This is now using the inherited migrations from cw_721 base per larry0x PR: public-awesome/cw-nfts#119 |
…or sg721-updateable with ownable migration
SG-645 Upgrade NFT contracts to cw-nfts v0.17
This gives us some new features like transferring ownership that creators have been asking for. |
Updated title so linear catches issue |
Update 4-24-2023: This is now using the inherited migrations from cw_721 base per larry engineer PR: public-awesome/cw-nfts#119
Updating to the latest cw-nfts 0.17 and the necessary changes.
Notes:
In order to update to cw 0.17 need to update the Rust version to 1.67.1. You will see this reflected in the changes to the config.yml build script.
The MintMsg has been removed and folded into ExecuteMsg for cw721-base. Therefore we now need to put the variant for Mint { } in each relevant msg module.
Need to use a NftParams enum for nft data passed to mint function. This is such as to not have too many parameters passed to the function. Would use a regular struct but need to be able to plug into the T extension parameter.