Repository navigation
fix: update the unbonding period to 7 days (SIP-7) - #26
Conversation
Proposal 131 enacted SIP-7 on November 30, 2026 and set staking/UnbondingTime to 604800s. The staking, precompile and agent-skill references now say 7 days, note that entries created before the proposal took effect still complete after 21 days, and point agents to params().unbondingTime and each entry's completionTime instead of a hardcoded value. The redelegation rules also said the limit of 7 applied per account. HasMaxRedelegationEntries counts the entries for one delegator, source validator and destination validator. Co-authored-by: Cursor <cursoragent@cursor.com>
PR SummaryLow Risk Overview Updates span Redelegation rules in Reviewed by Cursor Bugbot for commit 334524a. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
The PR correctly changes the 21-day unbonding period to 7 days in all three reference files, and it tells agents to read completion times from the chain. Two notes on the rewritten redelegation rules remain, and neither blocks the merge.
Findings: 0 blocking | 3 non-blocking | 2 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- None at the file/PR level.
- 2 suggestion(s)/nit(s) flagged inline on specific lines.
- 1 non-blocking pre-existing issue(s) listed below under pre-existing issues.
Pre-existing issues
- [suggestion] The two files disagree about slashing.
skill/references/precompiles/staking-distribution.md(Key Notes) says delegators share in slashing proportionally, butskill/references/ecosystem/staking-governance.mdsays "No slashing of funds". Agents may give users contradictory answers. Please reconcile the two against docs.sei.io.
A redelegation made before Proposal 131 took effect still blocks redelegating out of the destination validator for 21 days, so the rule now points to the entry's on-chain completion time. The limit of 7 also applies per delegator. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@seidroid review |
There was a problem hiding this comment.
The PR changes the unbonding period from 21 to 7 days in all three reference files and fixes both redelegation-rule wordings flagged in the earlier review. One sentence still gives an unconditional 7-day return time, which contradicts the new transition note.
Findings: 0 blocking | 2 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- None at the file/PR level.
- 1 suggestion(s)/nit(s) flagged inline on specific lines.
- 1 non-blocking pre-existing issue(s) listed below under pre-existing issues.
Pre-existing issues
- [suggestion] The two reference files disagree about slashing.
skill/references/ecosystem/staking-governance.md:13says "No slashing of funds", butskill/references/precompiles/staking-distribution.md(Key Notes) says delegators share in slashing proportionally. Agents may give users contradictory answers. Please check both against docs.sei.io and make them agree.
Summary
SIP-7 lowered the unbonding period on Sei Mainnet from 21 days to 7 days, and Proposal 131 put it into effect on November 30, 2026. Three reference files still told agents 21 days.
references/ecosystem/staking-governance.md: the staking overview, the undelegate example and the redelegation rules now say 7 days. The overview also says that entries created before Proposal 131 took effect still complete after 21 days, so agents read completion times from the chain instead of computing them.references/precompiles/staking-distribution.md: the undelegate sample and the key notes now say 7 days, and point agents toparams().unbondingTimeand each entry'scompletionTimeinstead of a hardcoded value.references/ecosystem/rpc-agent-skills.md: theunstake_tokenssample comment now says 7 days.HasMaxRedelegationEntriesinsei-cosmos/x/staking/keeper/delegation.gocounts the entries for one delegator, source validator and destination validator.The docs side is sei-protocol/sei-docs#113. After this merges, a skills sync regenerates
.mintlify/skills/sei-precompiles/SKILL.mdin sei-docs, which still says 21 days.Testing
/cosmos/staking/v1beta1/paramsreturns"unbonding_time": "604800s"onpacific-1andatlantic-2.ParameterChangeProposalthat setsstaking/UnbondingTimeto"604800000000000". It passed at 2026-11-30T15:37:36Z.params().unbondingTime,unbondingDelegation()andcompletionTimematchprecompiles/staking/Staking.solin sei-chain.