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

cosmwasm: refactor cw wormhole state #4259

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kakucodes
Copy link
Collaborator

@kakucodes kakucodes commented Feb 4, 2025

Description

This PR refactors the state management implementation in the cw_wormhole contract, migrating from the deprecated cosmwasm-storage library to cw-storage-plus. This change is necessary as cosmwasm-storage is no longer maintained and will cause lint pipeline failures once we update to newer versions of CosmWasm/wasmd.

Note: We will need to upgrade this contract on chain once merged. wormchain, terra, terra2, sei, neutron, etc

Changes

  • Replaced all usage of cosmwasm-storage with equivalent implementations using cw-storage-plus
  • Updated state management patterns to align with current best practices
  • Maintained existing functionality while modernizing the underlying storage layer

Dependencies

This PR should be reviewed after #4257 as it incorporates the test coverage added in that PR.

Testing

  • All existing tests have been maintained and pass with the new implementation
  • No behavioral changes are expected as this is purely a refactor of the storage layer

@kakucodes kakucodes force-pushed the chore/refactor-cw-wormhole-state branch 2 times, most recently from 77e02b8 to 6a5ee31 Compare February 10, 2025 19:50
updated workflow settings

cosmwasm: added allow dead_code tags for shutdown mode contracts
wormchain: updated ict wasm binaries

cosmwasm: updated sequence bumping logic

cosmwasm: added shutdown contracts tests

wormhole: updated workflow settings
wormchain: updated ict wasm binaries
@kakucodes kakucodes force-pushed the chore/refactor-cw-wormhole-state branch from bebb853 to c4d01f0 Compare February 10, 2025 19:58
@kakucodes kakucodes marked this pull request as ready for review February 10, 2025 20:10
@kakucodes kakucodes marked this pull request as draft February 10, 2025 20:46
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.

1 participant