Skip to content

Conversation

@SajeeTechi
Copy link
Contributor

  • table t_accounts has new column accountFactortyAddress
  • migration add account factory address to existing accounts in tablet_accounts

- new column 'accountFactoryAddress'
- class DBAccount with attribute 'accountFactoryAddress'
- _populateAccountFactoryAddressMigration function to populate acc ount factory address of existing account
- Implement getAccountFactoryAddressByAlias with priority override logic.
- Map old cw-safe factory (0x940C...) to new factory (0x7cC5...) for specific communities.
- Update configV4PrimaryAccountFactoryMap with missing community aliases.
- Clean up unused configV5AccountFactoryMap.
- Add accountFactoryAddress column to t_accounts table.
- Implement _populateAccountFactoryAddressMigration to backfill factory addresses using community aliases.
- Introduce getAccountIDNew to support a more granular account indexing format.
- Implement _insertRowsInNewIdFormatMigration to migrate existing rows to the new ID format ($address@$accountFactoryAddress@$alias).
@SajeeTechi SajeeTechi self-assigned this Dec 18, 2025
@SajeeTechi SajeeTechi merged commit 29afd4f into feat/account-factory-selection Dec 18, 2025
1 check failed
@SajeeTechi SajeeTechi deleted the feat/migration-backup-t-accounts branch December 18, 2025 05:57
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