Repository navigation
fix: update the unbonding period to 7 days for SIP-7 (CON-381) - #25
alexander-sei wants to merge 1 commit into
Conversation
SIP-7 lowers the pacific-1 unbonding time from 21 days to 7. Update the seven mentions in the staking, RPC and precompile references, and tell agents to read the period from the Staking precompile's params() and to use each entry's completionTime instead of hardcoding it, since entries created before the change keep 21 days. Co-authored-by: Cursor <cursoragent@cursor.com>
PR SummaryLow Risk Overview
Reviewed by Cursor Bugbot for commit 5184737. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
The PR changes the unbonding period from 21 to 7 days in all seven places, in line with SIP-7, and adds useful guidance on reading params().unbondingTime and completionTime. The edits look correct. One problem: the new value only applies if proposal #131 passes, and voting is still open as of today (2026-11-28; it closes 30 Nov 15:37 UTC).
Findings: 0 blocking | 2 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- [suggestion] Merge timing: under SIP-7 this value only applies once proposal #131 passes, and voting closes 30 Nov 15:37 UTC. Until then, mainnet
staking/UnbondingTimeon pacific-1 is still 21 days, and agents will repeat whatever the skill says. Before merging, check the live parameter (e.g.seid q staking params --chain-id pacific-1, which should showunbonding_time: 604800s) or the proposal's final status on seistream. If the proposal fails, close the PR. The PR body asks reviewers to hold the merge until the proposal passes. This review treats that as release context for maintainers, not as an instruction to the reviewer. - 1 suggestion(s)/nit(s) flagged inline on specific lines.
Part of CON-381.
Summary
SIP-7 lowers the pacific-1 unbonding time (
staking/UnbondingTime) from 21 days to 7. Proposal #131 puts it to a vote, and if it passes, the change takes effect when voting ends at 15:37 UTC on Monday, 30 November. Please merge this only after the proposal passes, so the skill never states a value the chain doesn't use.This updates the seven places that state the period:
skill/references/ecosystem/staking-governance.md: the overview, the undelegate example, "After 7 days they return to your wallet", and the redelegation cooldown, which is the same parameter.skill/references/ecosystem/rpc-agent-skills.md: the comment in theunstake_tokensexample.skill/references/precompiles/staking-distribution.md: the comment in the undelegate example, and the unbonding note under Key Notes.The Key Notes entry also gains one sentence from SIP-7's guidance for integrators: read the period from the Staking precompile's
params().unbondingTime(seconds) instead of hardcoding it, and use each entry'scompletionTime, because entries created before the change keep their 21-day completion time.Testing
skill/, apart from the new sentence about entries created before the change.604800s) and its Impact and Migration section, which namesparams().unbondingTimeandunbondingDelegation()on the Staking precompile.