genesis icon indicating copy to clipboard operation
genesis copied to clipboard

Meaning of "redelegation shall be allowed twice per ATONE Unbonding Period" in the Constitution

Open arlai-mk opened this issue 1 year ago • 3 comments

In Section 2 of the CONSTITUTION, there is a sentence:

The ATONE token Unbonding Period shall be a minimum of 3 weeks, and redelegation shall be allowed twice per ATONE Unbonding Period.

I checked the code, and the redelegation is only possible once per ATONE Unbonding Period (i.e. after a redelegation, you need to wait for one full Unbonding Period before you can redelegate again). Same as any Cosmos SDK chain using the standard x/staking module.

I was wondering if I misunderstood the sentence, or if there should be some code change to allow to redelegate twice per Unbonding Period?

arlai-mk avatar Nov 18 '24 12:11 arlai-mk

As per the roadmap, the initial launch of the chain was to be done via a simple fork of the gaia repo with minimal changes (mostly to x/gov and removal of some modules). Any change that would require forking other modules is left to be addressed later.

But yours is a good question and I agree with your assessment of the standard x/staking module. My understanding is also that the number of redelegations allowed is basically one per unbonding period. It would also be an interesting discussion to explore the rationale behind the decision (of allowing redelegations twice per period) and how it would be implemented practically. I also need to wrap my head around it as of now.

giunatale avatar Nov 18 '24 13:11 giunatale

There is 2 limitations in regards to the number of redelegations:

  1. when the validator source has already received a redelegation: the redelegation is rejected (limit=1)
  2. when the validator source and the validator destination have more than maxEntries redelegations: the redelegation is rejected (limit=maxEntries=7 (same as Gaia))

Unfortunately, in my opinion, the Constitution is not precise enough to determine which case the twice limitation applies to. We'll work on it.

tbruyelle avatar May 14 '25 15:05 tbruyelle

After discussion, we know that the corresponding limitation mentionned in the constitution is case 1. Thus, in order to comply with the current parameters of the chain (limit=1) and because we think they are correct, we're going to update the constitution with the following:

redelegation shall be allowed up to twice per ATONE Unbonding Period.

We are also going to specify that the limition is for case 1, but I don't have the exact wording.

This amendment will come with a bunch of other fixes.

tbruyelle avatar Jul 30 '25 13:07 tbruyelle