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

Migration2 #33

Closed
wants to merge 1 commit into from
Closed

Migration2 #33

wants to merge 1 commit into from

Conversation

peterjah
Copy link
Collaborator

@peterjah peterjah commented Dec 30, 2024

Migration step:

  1. pause contract

  2. npm run migrate script will process the following steps:

    • will upgrade the contract to main_prev.ts
    • call initMig function
    • call the migrate function as much times needed. it will build the new targetToDomains index
  3. npm run migrate2 script will process the following steps:

    • will upgrade the contract to main_mig.ts
    • call the clean function that remove the old index
    • will upgrade the contract to main.ts
  4. unpause contract

@peterjah peterjah force-pushed the migration2 branch 2 times, most recently from f2216ae to 979fe83 Compare January 6, 2025 10:09
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