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

feat: Update to provwasm v2; improve developer experience #78

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

rpatel-figure
Copy link
Contributor

@rpatel-figure rpatel-figure commented Oct 30, 2024

Context

The contract no longer works in testnet, encountering an error when attempting to look up scopes.

This was possibly directly caused by provenance-io/provwasm#160 and/or provenance-io/provenance#2119.

Changes

  • Update contract to latest provwasm & cosmwasm version
  • Add helpful scripts & instructions for development

Notes

  • Due to the size of the required updates, I tried to minimize the inclusion of suggested clippy fixes to only code that was already being changed by this PR

@rpatel-figure rpatel-figure added the WIP Work in progress label Oct 30, 2024
hyperschwartz
hyperschwartz previously approved these changes Oct 30, 2024
Copy link
Collaborator

@hyperschwartz hyperschwartz left a comment

Choose a reason for hiding this comment

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

Looks great!

@rpatel-figure
Copy link
Contributor Author

Squashing commits since the majority were unsuccessful incremental attempts at fixing various issues. None are really particularly valuable in isolation.

@rpatel-figure rpatel-figure force-pushed the ravipatel/sc-341346/upgrade-for-provenance-v-1-20 branch from 2c3dcd5 to 1d344bb Compare November 14, 2024 02:41
Copy link
Contributor Author

@rpatel-figure rpatel-figure left a comment

Choose a reason for hiding this comment

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

The new integration test and example script only cover the single happy path flow of onboarding an asset and then immediately verifying it. With that said, I think we can have confidence that most, if not all flows, will work if this PR were to merge as-is right now. I just have one question about the cosmwasm storage crate change below.

@rpatel-figure rpatel-figure marked this pull request as ready for review November 14, 2024 02:45
@rpatel-figure rpatel-figure requested review from a team as code owners November 14, 2024 02:45
@rgipson-figure rgipson-figure added bug Something isn't working and removed WIP Work in progress labels Nov 15, 2024
rgipson-figure
rgipson-figure previously approved these changes Nov 18, 2024
Copy link

@rgipson-figure rgipson-figure left a comment

Choose a reason for hiding this comment

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

Was able to run the integration tests locally and the example.sh locally. Up for merging and deploying after your question is answered.

@rpatel-figure rpatel-figure merged commit 5d0d896 into main Nov 18, 2024
5 checks passed
@rpatel-figure rpatel-figure deleted the ravipatel/sc-341346/upgrade-for-provenance-v-1-20 branch November 18, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants