Skip to content

fix: update the unbonding period to 7 days (SIP-7) - #26

Merged
alexander-sei merged 2 commits into
mainfrom
docs/sip-7-unbonding-period
Dec 1, 2026
Merged

alexander-sei merged 2 commits into
mainfrom
docs/sip-7-unbonding-period

Conversation

@alexander-sei

Copy link
Copy Markdown
Contributor

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 to params().unbondingTime and each entry's completionTime instead of a hardcoded value.
  • references/ecosystem/rpc-agent-skills.md: the unstake_tokens sample comment now says 7 days.
  • The redelegation rules said "Max 7 simultaneous redelegations per account". The limit is per source and destination validator pair: HasMaxRedelegationEntries in sei-cosmos/x/staking/keeper/delegation.go counts 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.md in sei-docs, which still says 21 days.

Testing

  • /cosmos/staking/v1beta1/params returns "unbonding_time": "604800s" on pacific-1 and atlantic-2.
  • Proposal 131 is a ParameterChangeProposal that sets staking/UnbondingTime to "604800000000000". It passed at 2026-11-30T15:37:36Z.
  • params().unbondingTime, unbondingDelegation() and completionTime match precompiles/staking/Staking.sol in sei-chain.
  • No other 21-day references are left in the repo, apart from the transition notes.

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>
@cursor

cursor Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation-only changes to skill references; no runtime or contract behavior.

Overview
Agent skill references now describe a 7-day unbonding period instead of 21 days, aligned with SIP-7 / Proposal 131 (November 30, 2026).

Updates span staking-governance.md, staking-distribution.md, and rpc-agent-skills.md (CLI examples, unstake_tokens, and precompile comments). New guidance tells agents not to hardcode durations: use params().unbondingTime and each entry's on-chain completionTime, because undelegations/redelegations started before the parameter change may still finish on the old 21-day schedule.

Redelegation rules in staking-governance.md are also corrected: the lockout is tied to the destination validator's completion time (7 days for new redelegations), and the cap is 7 in-flight redelegations per delegator per source–destination validator pair, not "7 simultaneous per account".

Reviewed by Cursor Bugbot for commit 334524a. Bugbot is set up for automated code reviews on this repo. Configure here.

seidroid[bot]
seidroid Bot previously approved these changes Dec 1, 2026

@seidroid seidroid Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, but skill/references/ecosystem/staking-governance.md says "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>
@alexander-sei

Copy link
Copy Markdown
Contributor Author

@seidroid review

@seidroid seidroid Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:13 says "No slashing of funds", but skill/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.

@alexander-sei
alexander-sei merged commit d0a9c82 into main Dec 1, 2026
14 checks passed
@alexander-sei
alexander-sei deleted the docs/sip-7-unbonding-period branch December 1, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant