Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added LSM data to init/export genesis #12

Merged
merged 7 commits into from
Jun 27, 2023
Merged

Conversation

sampocs
Copy link
Collaborator

@sampocs sampocs commented Jun 26, 2023

Context

LSM data is not currently included in init/export genesis - this PR addresses that.

Brief Changelog

  • Added TotalLiquidStakedTokens and TokenizeShareLocks to genesis state
  • Added keeper function GetAllTokenizeShareLocks
  • Added TokenizeShareRecords, LastTokenizeShareRecordId, TotalLiquidStakedTokens, and TokenizeShareLocks to InitGenesis and ExportGenesis
  • Added unit test for the above fields in init/export genesis

@sampocs sampocs merged commit dc5ab59 into v0.45.16-ics-lsm Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants