Skip to content

Conversation

puneet2019
Copy link
Member

@puneet2019 puneet2019 commented Sep 24, 2025

Bug:

  • lsm spec defined all tokens staked by 32-length addresses as liquid-stakers. (includes - cosmwasm contracts, ica-accounts, other 32-length addresses created by modules) AND tokenized shares by any addresses
  • x/liquid only accounts for tokenized shares, and skips stakers using 32-length addresses

Changes:

  • removes validator-liquid-shares and total-staked-tokens updation logic from tokenizeShares and RedeemShares msgServer implementation
  • adds the updation logic to staking hooks implementation
  • adds a transientStorekey to temporarily store delegation (before updation) to figure out change in shares

@puneet2019 puneet2019 changed the title fix caps calculation on 32byte addresses fix: liquid caps calculation on 32byte addresses Sep 25, 2025
@puneet2019 puneet2019 changed the title fix: liquid caps calculation on 32byte addresses fix: liquid caps calculation on 32-length addresses Sep 25, 2025
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