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

Does sylvia 0.3.1 support the migrate contract? #100

Closed
Smea1 opened this issue Apr 20, 2023 · 2 comments
Closed

Does sylvia 0.3.1 support the migrate contract? #100

Smea1 opened this issue Apr 20, 2023 · 2 comments

Comments

@Smea1
Copy link

Smea1 commented Apr 20, 2023

I would like to ask if there is any msg instructions related to the migration contract, if there is, it will be very grateful

@jawoznia
Copy link
Collaborator

It is currently possible to generate MigrateMsg using #[msg(migrate)]. Only one MigrateMsg can be defined per contract.
Please check contracts/cw20-base/src/contract.rs.

Support for migration will be developed more under #25 and #26. Usage of #[msg(migrate)] will then be described in sylvia book

@hashedone
Copy link
Collaborator

Close in favor of #25 and #26

@jawoznia jawoznia closed this as completed Aug 2, 2023
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

No branches or pull requests

3 participants