From 577f4e1f27d5ed16afa5c37c601bf47e1c814c70 Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Tue, 1 Dec 2026 02:08:37 +0100 Subject: [PATCH 1/2] fix: update the unbonding period to 7 days (SIP-7) 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 --- skill/references/ecosystem/rpc-agent-skills.md | 2 +- skill/references/ecosystem/staking-governance.md | 10 +++++----- skill/references/precompiles/staking-distribution.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/skill/references/ecosystem/rpc-agent-skills.md b/skill/references/ecosystem/rpc-agent-skills.md index b1bd8ce..9bfebd8 100644 --- a/skill/references/ecosystem/rpc-agent-skills.md +++ b/skill/references/ecosystem/rpc-agent-skills.md @@ -200,7 +200,7 @@ Undelegates SEI from a validator. // Amount in USEI (6 decimals), NOT wei // 1 SEI = 1_000_000 usei await STAKING.undelegate(validatorAddress, amountInUsei); -// Unbonding period: 21 days +// Unbonding period: 7 days ``` --- diff --git a/skill/references/ecosystem/staking-governance.md b/skill/references/ecosystem/staking-governance.md index 0ca9279..bdefd11 100644 --- a/skill/references/ecosystem/staking-governance.md +++ b/skill/references/ecosystem/staking-governance.md @@ -11,7 +11,7 @@ Sei uses **delegated proof-of-stake (dPoS)**: - Token holders delegate to validators, who sign blocks - Delegators earn proportional rewards from gas fees and genesis unlocks - **No slashing of funds** — jailed validators lose rewards but not stake -- Unbonding period: **21 days** +- Unbonding period: **7 days**, set by [SIP-7](https://github.com/sei-protocol/sips/blob/main/sips/sip-7.md) through [Proposal 131](https://seistream.app/proposals/131) on November 30, 2026. It was 21 days before. Undelegations and redelegations created before Proposal 131 took effect still complete after 21 days, so read each entry's completion time from the chain instead of computing it --- @@ -41,7 +41,7 @@ seid q staking delegations $(seid keys show mykey -a) \ ## Undelegation (Unbonding) ```bash -# Undelegate — starts 21-day unbonding period +# Undelegate — starts 7-day unbonding period seid tx staking unbond 500000usei \ --from mykey \ --chain-id pacific-1 \ @@ -55,7 +55,7 @@ seid q staking unbonding-delegation $(seid keys show mykey -a) sei1valoper...abc **During unbonding**: - Tokens are locked (not earning rewards, not transferable) -- After 21 days they return to your wallet automatically +- After 7 days they return to your wallet automatically ## Redelegation @@ -71,8 +71,8 @@ seid tx staking redelegate 500000usei \ **Redelegation rules**: - Instant move — no unbonding wait -- Destination validator cannot be re-redelegated for 21 days -- Max 7 simultaneous redelegations per account +- Destination validator cannot be re-redelegated for 7 days +- Max 7 redelegations in progress per source and destination validator pair --- diff --git a/skill/references/precompiles/staking-distribution.md b/skill/references/precompiles/staking-distribution.md index 71f9ea4..7da4f9a 100644 --- a/skill/references/precompiles/staking-distribution.md +++ b/skill/references/precompiles/staking-distribution.md @@ -246,7 +246,7 @@ console.log("Delegated 10 SEI to", validator); const usei = 10_000_000n; // 10 SEI = 10,000,000 usei const tx = await staking.undelegate(validator, usei); await tx.wait(1); -// Unbonding period: 21 days +// Unbonding period: 7 days. Read params().unbondingTime instead of hardcoding it. ``` > **Precision note:** `delegate` uses `msg.value` (18 decimal wei); `undelegate` and `redelegate` take amounts in usei (6 decimals). This asymmetry is intentional — match the precompile signature exactly. @@ -332,7 +332,7 @@ contract LiquidStakingVault is ERC20 { ## Key Notes -- **Unbonding period**: 21 days — users cannot access undelegated tokens during this period +- **Unbonding period**: 7 days since [SIP-7](https://github.com/sei-protocol/sips/blob/main/sips/sip-7.md) ([Proposal 131](https://seistream.app/proposals/131), November 30, 2026) — users cannot access undelegated tokens during this period. Read the current value in seconds from `params().unbondingTime`. Read each entry's `completionTime` from `unbondingDelegation()` instead of computing it, because entries created before Proposal 131 took effect still complete after 21 days - **Slashing**: validators can be slashed for downtime or double-signing; delegators share in slashing proportionally - **Rewards**: rewards accrue each block; claim anytime via Distribution precompile - **Validator addresses**: use `seivaloper1...` bech32 format for all validator address parameters From 334524acf520f1a3271f06fb0e40c27e7ef93d6f Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Tue, 1 Dec 2026 02:11:00 +0100 Subject: [PATCH 2/2] fix: tie the redelegation rules to entry completion times 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 --- skill/references/ecosystem/staking-governance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skill/references/ecosystem/staking-governance.md b/skill/references/ecosystem/staking-governance.md index bdefd11..31f2f33 100644 --- a/skill/references/ecosystem/staking-governance.md +++ b/skill/references/ecosystem/staking-governance.md @@ -71,8 +71,8 @@ seid tx staking redelegate 500000usei \ **Redelegation rules**: - Instant move — no unbonding wait -- Destination validator cannot be re-redelegated for 7 days -- Max 7 redelegations in progress per source and destination validator pair +- You cannot redelegate out of the destination validator until the incoming redelegation's on-chain completion time passes (7 days for new redelegations) +- Max 7 redelegations in progress per delegator, for each source and destination validator pair ---