Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Separate StakingLock from StakingLedger #121

Closed
AurevoirXavier opened this issue Apr 30, 2020 · 3 comments · Fixed by #1187
Closed

Separate StakingLock from StakingLedger #121

AurevoirXavier opened this issue Apr 30, 2020 · 3 comments · Fixed by #1187
Assignees

Comments

@AurevoirXavier
Copy link
Member

No description provided.

@AurevoirXavier
Copy link
Member Author

AurevoirXavier commented Apr 30, 2020

bond(new ledger) will overwrite the locks after unbond(all stake).

except: reap_stash and force_unstake, these are reasonable.

@hackfisher
Copy link
Contributor

hackfisher commented Apr 30, 2020

Related #122

I tend to keep the current struct and do the general reap stuff in a stand alone trait, not specific for Lock, but for storages of each module.

AurevoirXavier added a commit that referenced this issue Apr 30, 2020
@hackfisher hackfisher added the P-Mid [Priority] Median label Aug 17, 2021
@AurevoirXavier
Copy link
Member Author

@AurevoirXavier AurevoirXavier removed the P-Mid [Priority] Median label Apr 20, 2022
@AurevoirXavier AurevoirXavier linked a pull request Apr 20, 2022 that will close this issue
12 tasks
@AurevoirXavier AurevoirXavier self-assigned this Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done/No Companion
Development

Successfully merging a pull request may close this issue.

2 participants