Skip to content

restore contract metadata#7

Open
camembera wants to merge 7 commits intomainfrom
fix/cleanups
Open

restore contract metadata#7
camembera wants to merge 7 commits intomainfrom
fix/cleanups

Conversation

@camembera
Copy link
Collaborator

This PR reintroduces a single source of truth for contract addresses and makes deployed-contract docs generated output instead of hand-maintained tables. It also tightens the workflow so stale generated files are caught before commit.

  • add data/contracts.json as canonical contract data source and generate contract snippets/pages from it
  • move generated snippet outputs under snippets/contracts/generated/ and update deployed-contract pages to import from generated snippets
  • backfill data/contracts.json from old constants.json
  • render network sections conditionally so empty networks do not emit headings/tables
  • add a generator with a --check mode to contracts generator so stale outputs fail with non-zero exit
  • add repo pre-commit hook + installer to run generator check
  • document generation/check-in expectations in CONTRIBUTING.md

@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
berachain-docs-bex Error Error Feb 26, 2026 5:45pm
docs-bend Error Error Feb 26, 2026 5:45pm

Request Review

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