Skip to content

Add POL address sync verifier and make check targets#57

Open
camembera wants to merge 1 commit into
mainfrom
feat/pol-addresses
Open

Add POL address sync verifier and make check targets#57
camembera wants to merge 1 commit into
mainfrom
feat/pol-addresses

Conversation

@camembera

@camembera camembera commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Makes it easy to keep POL Addresses published in POLAddresses.sol published, in docs.

Requires contracts-internal checked out alongside docs. Can override dir in Makefile.

  • make check-pol-addresses - provides ✅
  • make list-pol-addresses-not-ok - provides details of what's 👎

This is driven by data/pol-addresses-mapping.json. This file contains decisions about whether or not to publish a POL Address to docs.

Test plan

  • make check-pol-addresses passes with sibling contracts-internal cloned (ok=26 not_ok=0)
  • make list-pol-addresses-not-ok lists rows when drift is introduced
  • Review mapping entries for published: false omissions (deprecated contracts, implementations)

Mechanical check that POLAddresses.sol, pol-addresses-mapping.json, and
contracts.json stay aligned for published mainnet/bepolia addresses, with
CONTRIBUTING and Cursor rule guidance for the four-layer workflow.
@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Berachain 🟢 Ready View Preview Jun 12, 2026, 5:49 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@svanegmond

Copy link
Copy Markdown

The general idea is eventually we can get an LLM to turn this crank automatically for merges that happen in either contracts or contracts-internal

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