Skip to content

[AHMP] Post Migration Account Balances of AJUNA NETWORK's Account is weird #1003

@clangenb

Description

@clangenb

The account in question is this one: https://assethub-polkadot.subscan.io/account/16AjunUasoBZKWkDnHvNEALGUgGuzC92j7LJoLu9qBSUJB2e

AJUNA Network RC before migration
{
  nonce: 233
  consumers: 1
  providers: 1
  sufficients: 0
  data: {
    free: 207,385,867,352
    reserved: 210,079,891,453,379
    frozen: 210,000,000,000,000
    flags: 170,141,183,460,469,231,731,687,303,715,884,105,728
  }
}
AKA: 20.7 DOT Free, 21'007 DOT reserved, 21'000 DOT Frozen

AJUNA Network RC after migration
{
  nonce: 233
  consumers: 1
  providers: 1
  sufficients: 0
  data: {
    free: 30,000,000,000
    reserved: 6,828,490,000,000
    frozen: 0
    flags: 170,141,183,460,469,231,731,687,303,715,884,105,728
  }
}
AKA: 3 DOT Free, 682.8 DOT reserved, 0 DOT Frozen

AJUNA Network AHP before migration
{
  nonce: 37
  consumers: 8
  providers: 1
  sufficients: 2
  data: {
    free: 20,929,192,169
    reserved: 4,003,200,000
    frozen: 0
    flags: 170,141,183,460,469,231,731,687,303,715,884,105,728
  }
}
AKA: 2 DOT Free, 0.4 DOT reserved, 0 DOT Frozen

AJUNA Network AHP after migration (before some transfers happened to fix negative transfers)
{
  nonce: 37
  consumers: 8
  providers: 1
  sufficients: 2
  data: {
    free: 218,315,059,521
    reserved: 203,255,404,653,379
    frozen: 210,000,000,000,000
    flags: 170,141,183,460,469,231,731,687,303,715,884,105,728
  }
}
AKA: 21.8 DOT Free, 20'325.4 DOT reserved, 21'000 DOT Frozen

Bottom line: the account on AHP was unusable post migration. Even though there was some free balance, we could not transfer any funds as Total Balance = Free + Reserved was smaller than the frozen balance. Transferring 680~ DOT made the account operable again, but of course this can not be the long term solution.

The reserved balance on the RC came from slot leases of the pre-coretime era, so this kind of reserved balance corner case was maybe overlooked during the migration. Additionally, I assume this case did not occur on Kusama as all such reserved balance has been freed already a while ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions