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

Change innermost epoch of validator's outgoing redelegations data #2037

Open
Tracked by #2006 ...
brentstone opened this issue Oct 24, 2023 · 0 comments
Open
Tracked by #2006 ...

Change innermost epoch of validator's outgoing redelegations data #2037

brentstone opened this issue Oct 24, 2023 · 0 comments
Assignees

Comments

@brentstone
Copy link
Collaborator

Currently, a validator's outgoing redelegations data is a nested map of the structure:

src_validator -> dest_validator -> bond_start -> redel_start -> amount

where amount is the token amount redelegated from src_validator to dest_validator, such that the tokens started contributing to the src_validator's voting power at bond_start, and redel_start is the epoch in which the redelegation tx is processed.

The redel_start implies that the redelegated tokens start contributing to the dest_validator's voting power at redel_start + pipeline_len, which in other data in storage is referred to as redel_end. In all other similarly structured data, the redel_end epoch is stored rather than the redel_start epoch. For the sake of consistency in docs and readability, we should change this data to also use the redel_end epoch.

@brentstone brentstone added the PoS label Oct 24, 2023
@cwgoes cwgoes added the pre-mainnet Must happen before mainnet. label Feb 5, 2024
@brentstone brentstone added prio:low and removed pre-mainnet Must happen before mainnet. labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants