Skip to content

v5.0.0

Latest

Choose a tag to compare

@mitch1024 mitch1024 released this 10 Nov 03:54
58054ca

IRISHub v5.0.0

State-breaking, in-place upgrade from v4.1.0 (irishub-2).
Upgrade plan name: v5.0.0. The upgrade handler must run;
a bare binary swap is not sufficient.

State Machine Breaking

  • Cosmos-SDK v0.50.11-lsm -> v0.53.8, IBC-Go v8 -> v10.7.0,
    CometBFT v0.38.21 -> v0.38.23, module github.com/irisnet/irishub/v4
    -> v5, Go 1.23.8. app/upgrades/v500/upgrades.go:17
  • Delete store capability and its version-map entry,
    then m.RunMigrations. IBC v10 no longer uses it.
  • LSM retirement app/upgrades/v500/lsm.go:
    • Delete legacy staking prefixes 0x81-0x87 (records/indexes);
    • Rewrite staking params/validators/delegations/historical-info
      to strip old fork fields;
    • Reset validator.MinSelfDelegation to 0 to preserve old LSM behavior;
    • Validate tokenize-share record.id/owner/module/validator,
      migrate reward-owner link via distr.SetDelegatorWithdrawAddr(source->owner),
      keep backing delegations and bank balances/supplies untouched.
  • irismod / tibc / nft-transfer synced to SDK-0.53 branches
    (20260928 pseudo-versions); IBC transfer denoms migrated
    to the new format with denominations preserved.

Behavior Change

  • Legacy LSM txs/queries are gone. Existing tokenize-share assets stay
    backed but cannot be redeemed in this release; redemption needs
    a separately agreed follow-up.
  • IBC integrations must use IBC-Go v10.7.0 interfaces, incl.
    client recovery and parameter-update gov messages.

Known Issues

  • LSM derivative redemption is unsupported; balances/supplies,
    delegations, and reward-owner mappings are preserved for later handling.