-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Not sure if this is specified anywhere, but what exactly are we migrating from the current testnet to Alexandria?
Things I take for granted:
- Memberships (although changed)
- Channels
- Data objects + content
- Forum
- Balances
- Mints (IDs)
Nice to haves (in order of priority)
In general, the problem here is that I don't think it would work (well) without starting the chain with a ton of state. Also, I don't know exactly how the changes in memberships will affect each worker/role.
With that assumption, I'm not going to dig too deep into the nuances...
Mints
Can we keep the capacity and the total_minted intact, and set created_at to 0/1?
Council and History
Can this be done in any reasonable way? Starting with the election round >0 is easy I guess, but actually storing the previous CMs in each round? The election+voting history is not critical.
If a new Council must be elected at start, or set by sudo, I think that's fine.
Proposals
Keeping the proposal history and discussion would be nice. Sounds like it's possible if we just set all block height references to 0/1, and scrap the voting history. Basically just keep:
- Proposal ID
- Proposers
memberId - Type
- Title
- Rationale
- Result
- Description (if text/signal)
Parameters for non-text proposal might be a lot more difficult? At least for deprecated ones...
Curator+Storage WGs
Here, the most important would be then current workers+leads, with
- Worker Id
- Stake ID and active stake
- Recurring Reward ID and their rewards?
Keeping the openings seems unimportant, but could interfere with Proposals
Validators
Lots of issues here, but ideally, we'd keep the stash/controller setup and bonding. I suppose this will be hard as the staking module is changed from upstream... In the event that we can't migrate the bonded stakes, we need to "refund" them on the new chain. As many have been slashed, thus having less "unbondable" stake than actual stake, this must be taken into account.
We don't want them to actually start being validators/nominators ofc.
I'm sure there are other things I'm forgetting about, in addition to the oversimplification. We need to figure this out rather quickly IMO.