Skip to content

feat: discover-tokens lists the token catalog the reviewedOnly default hides - #37

Merged
SyedAsadKazmi merged 1 commit into
mainfrom
feat/discover-tokens
Sep 16, 2026
Merged

SyedAsadKazmi merged 1 commit into
mainfrom
feat/discover-tokens

Conversation

@aelmanaa

Copy link
Copy Markdown
Contributor

This pull request adds a new discover-tokens Makefile target and its supporting script, which lists the CCIP API token catalog for an operator, including local state awareness and robust handling of API filtering and paging. It also documents the relevant CCIP REST API v2 specification and improves developer guidance in related scripts. The most important changes are summarized below.

New Features:

  • Added the discover-tokens Makefile target and the supporting script/config/discover-tokens.sh script, which lists the CCIP API token catalog for an operator, handles filtering via environment variables, and ensures correct API usage by explicitly setting parameters that would otherwise silently return incomplete results. [1] [2] [3]
  • Updated docs/primitives/catalog.json to include the new discover-tokens target, increasing the count of Makefile targets. [1] [2]

Documentation:

  • Added docs/reference/ccip-api.md, documenting the CCIP REST API v2 spec, common pitfalls with defaulted parameters, and the exact API routes and parameters used by this repository.
  • Linked the new API reference documentation from docs/index.md.

Developer Guidance and Test Improvements:

  • Added references to the new API spec in script/config/ccip-config-source.sh, script/config/ccip-chain-meta.sh, and script/config/sync-discover.sh to guide developers to consult the spec before changing queries. [1] [2] [3]
  • Added test fixture config for discover-tokens and ensured proper cleanup in the test tooling script. [1] [2]

@aelmanaa
aelmanaa requested review from a team as code owners September 15, 2026 21:27
@github-actions

Copy link
Copy Markdown

👋 aelmanaa, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@SyedAsadKazmi
SyedAsadKazmi merged commit d77bda1 into main Sep 16, 2026
15 checks passed
@SyedAsadKazmi
SyedAsadKazmi deleted the feat/discover-tokens branch September 16, 2026 09:49
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