Skip to content

Create StakePoolState #4989

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

Open
lehins opened this issue Apr 15, 2025 · 0 comments
Open

Create StakePoolState #4989

lehins opened this issue Apr 15, 2025 · 0 comments
Labels
🍰 good first issue Good for newcomers 💳 technical-debt Issues related to technical debt we introduced

Comments

@lehins
Copy link
Collaborator

lehins commented Apr 15, 2025

Today we use PoolParams as the state as well as information for registering and updating a stake pool.
There is a limitation of this approach, since we will soon need to add other things to the stake pool state. We also don't need to keep PoolId in both the state and the key of PState and we need to move the deposit into the state

This task tracks creation of an era parametric StakePoolState data type. If we ever need to convert it later to a type family, we will, but for now, I think it sufficient to convert it to a regular data type

This ticket is blocked by #4694

@lehins lehins added 💳 technical-debt Issues related to technical debt we introduced 🍰 good first issue Good for newcomers labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 good first issue Good for newcomers 💳 technical-debt Issues related to technical debt we introduced
Projects
None yet
Development

No branches or pull requests

1 participant