Skip to content

docs(governance): update onchain voting period from 7 days to ~5.6 days (40,320 blocks) - #1192

Open
pacta-fractal-neurons wants to merge 1 commit into
Uniswap:mainfrom
pacta-fractal-neurons:docs/governance-voting-period-40320-blocks
Open

pacta-fractal-neurons wants to merge 1 commit into
Uniswap:mainfrom
pacta-fractal-neurons:docs/governance-voting-period-40320-blocks

Conversation

@pacta-fractal-neurons

Copy link
Copy Markdown

Summary

Updates the Phase 3 (Onchain Vote) voting period in Governance Process (content/ecosystem/governance/governance-process.mdx, lines 48 and 69) from 7-day voting period to ~5.6-day voting period (40,320 blocks) (and matching glossary definition in content/ecosystem/governance/glossary.mdx, lines 18 and 33).

40,320 blocks equaled 7 days (40,320 * 15s = 604,800s) under pre-Merge ~15s Proof-of-Work block times (Uniswap/governance contracts/GovernorAlpha.sol#L21: return 40_320; // ~7 days in blocks (assuming 15s blocks)). Since Ethereum's switch to fixed 12-second Proof-of-Stake slots, 40,320 blocks on GovernorBravo (0x408ED6354d4973f66138C91495F2f2FCbd8724C3) elapse in 483,840 seconds (5.60 days, or 5 days 14 hours 24 minutes). votingDelay() on the same contract returns 13,140 blocks (157,680 seconds, or 1.825 days at 12-second slots), and this PR leaves the "2-day" wording alone.

Type of change

  • Fix (typo, broken link, incorrect or outdated content)
  • New content (guide, page, code example)
  • Update to existing content
  • Other

How has this been verified?

Read votingPeriod() on Ethereum mainnet GovernorBravo (0x408ED6354d4973f66138C91495F2f2FCbd8724C3):

cast call 0x408ED6354d4973f66138C91495F2f2FCbd8724C3 "votingPeriod()(uint256)" --rpc-url $ETH_RPC_URL
# 40320

40,320 blocks * 12 seconds/slot = 483,840 seconds = 5.60 days (5d 14h 24m). Offchain RFC (minimum 7 days), Snapshot meta-governance (7 days), and the wall-clock Timelock.delay() (172,800 seconds = 2 days on 0x1a9C8182C09F50C8318d769245beA52c32BE35BC) are unchanged.

Applicable screenshots

N/A (text-only update).

Anything else reviewers should know?

None.

@github-actions

Copy link
Copy Markdown

Thanks for contributing to Uniswap Docs! 🦄

Quick heads up on how this repo works: the docs you see on developers.uniswap.org are built from a separate source repo. When we accept a change here, we port it over there, so your fix might show up on the live site before it lands in this repo.

Updates to this repo come in batches on a regular cadence. When yours is included, you'll be credited as a co-author on the commit, so the contribution counts on your GitHub profile and in Uniswap/docs.

We review every PR but can't merge everything. Either way, someone from the docs team will follow up here once we've taken a look.

One legal bit: by submitting a PR you agree your contribution is licensed under the repo's MIT license.

This branch has not been deployed

No deployments
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