-
Notifications
You must be signed in to change notification settings - Fork 12
canister migration
Moritz Fuller edited this page Mar 31, 2023
·
2 revisions
- add methods to populate the canisters stable variable variables
- should be turned on/off through a env variable
- when turned on, only deployer of the canister should be able to make calls
- extract all important data from the legacy canister
- this includes
- stable variables (includes assets)
- constants
- map data to the correct power equalizer types locally
- push data to a staging deployment of a power equaliser canister using the methods exposed through the env variables (includes assets)
- run test suite that makes sure data is consistent
- extract the data
- should we disable transfers/trading first?
- what about outstanding disbursements?
- what about the cap
rootBucketId
- stop the canister
- reinstall power equaliser code
- run migration scripts
- redeploy removing env variable for population