Skip to content

DAO-1983 (C6/6): Final batch + remove legacy block-time constants#2097

Open
TravellerOnTheRun wants to merge 1 commit intodao-1983-c5from
dao-1983-c6
Open

DAO-1983 (C6/6): Final batch + remove legacy block-time constants#2097
TravellerOnTheRun wants to merge 1 commit intodao-1983-c5from
dao-1983-c6

Conversation

@TravellerOnTheRun
Copy link
Copy Markdown
Contributor

Why

The last readers (including BTC vault) and fund-manager hooks are moved off AVERAGE_BLOCKTIME. This PR also removes the legacy exports from constants and updates Countdown to use useBlockTime() so “blocks × seconds” uses the same average the rest of the app trusts.

Until this lands, the old constant must remain for any file not yet migrated—this PR finishes that migration for the DAO-1983 scope.

What to check

  • No remaining imports of AVERAGE_BLOCKTIME / removed seconds-per-block constant in this workstream.
  • Countdowns tied to blocks look reasonable vs explorer timing.
  • Fund manager and BTC vault UIs still refresh predictably after actions.

Stack

Final slice of Strategy C—merge after C5.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 1fa8e79.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

… (DAO-1983 C6/6)

Drop AVERAGE_BLOCKTIME and DEFAULT_NUMBER_OF_SECONDS_PER_BLOCK; Countdown
uses useBlockTime. Completes call-site migration.
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.

2 participants