0LNetworkCommunity / libra-framework

9 stars 32 forks source link

[bug] 7.0.0 migration issue tracking #239

Open 0xzoz opened 5 months ago

0xzoz commented 5 months ago

Describe the bug During the release 7.0.0 genesis some items may have not been migrated. This issue is to collect information as it is found and address if it should be included in an upgrade script once enough cases are submitted

0xzoz commented 5 months ago

Tool Scrubbers Guild - Migrated Community Wallet Bricked

The Tool Scrubbers Guild community wallet was migrated after release 6.9.8 and before release 7.0.0. The migration process bricks the auth key by rotating it with the 0x0 address and adds the multisig_account resource which contains information regarding the signers in the owners field. During the migration the multisig_account was not migrated over. We believe that this was the only community wallet that was migrated during the small window where a community wallet could be migrated.

TSG multisig admins that were controlling the community wallet

Proposed Solution

Execute the migration transactions as 0x1

CLI Commands

Initialize

libra txs community gov-init -a 0x23729737150803dca887fff3b6529a6fca6d4c535f3bca6d3d53bd9c9af86c42  -a 0x70F7821958BC0B22F6834CEFC8C886FB493E73737EAE271A8042B7F9582BD134 -a  0x16044a6d70b8374ab04518439f2f13230491f3462c4d0a5af08a570121df50e7 -n 2

Finalize

libra txs community gov-init -a 0x23729737150803dca887fff3b6529a6fca6d4c535f3bca6d3d53bd9c9af86c42  -a 0x70F7821958BC0B22F6834CEFC8C886FB493E73737EAE271A8042B7F9582BD134 -a  0x16044a6d70b8374ab04518439f2f13230491f3462c4d0a5af08a570121df50e7 -n 2 --finalize

These commands will need the equivalent framework methods executed in a governance script.

0xzoz commented 5 months ago

Accounts - Missing Ancestry Information - DRAFT

Migration JSON

https://github.com/0LNetworkCommunity/v7-hard-fork-ceremony/blob/main/artifacts/state_epoch_79_ver_33217173.795d.json

Accounts