Skip to content
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

Update to cosmwasm 2.2 #578

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Update to cosmwasm 2.2 #578

merged 2 commits into from
Dec 17, 2024

Conversation

chipshort
Copy link
Collaborator

No description provided.

let checksum = if unchecked {
cache.save_wasm_unchecked(wasm)?
} else {
cache.save_wasm(wasm)?
};
Ok(checksum)
Ok(cache.store_code(wasm, !unchecked, true)?)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

save_wasm and save_wasm_unchecked are deprecated. You can check out the deprecation message (or the implementation) to ensure this replacement is correct.

Copy link
Contributor

@kulikthebird kulikthebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@chipshort chipshort merged commit 5dfac8d into main Dec 17, 2024
14 checks passed
@chipshort chipshort deleted the cp/update-cosmwasm-2.2 branch December 17, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants