Skip to content

fix: update blockchain network references from MATIC to POL in docume…#247

Open
manishdex25 wants to merge 4 commits into
masterfrom
feat/matic-pol
Open

fix: update blockchain network references from MATIC to POL in docume…#247
manishdex25 wants to merge 4 commits into
masterfrom
feat/matic-pol

Conversation

@manishdex25

@manishdex25 manishdex25 commented Jun 9, 2026

Copy link
Copy Markdown

…ntation

Summary by CodeRabbit

  • Documentation
    • Replaced network identifier "MATIC" with "POL" across documentation, examples, and sample payloads (custom contexts, credential-status examples, renderer templates, and creator tutorial).
    • Updated supported networks tables to use "POL*" prefixes for Polygon entries and adjusted the Polygon Mainnet network name to "polygon" to reflect the updated naming.

@manishdex25 manishdex25 self-assigned this Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7f57f674-956c-4288-8e93-cde9b644e413

📥 Commits

Reviewing files that changed from the base of the PR and between d8bfa3e and a930b5c.

📒 Files selected for processing (1)
  • versioned_docs/version-4.x/topics/introduction/supported-network.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • versioned_docs/version-4.x/topics/introduction/supported-network.md

📝 Walkthrough

Walkthrough

Documentation examples, field descriptions, supported-network tables, and tutorial sample outputs were updated to replace the Polygon network identifier from MATIC to POL.

Changes

Polygon Network Naming Convention Update

Layer / File(s) Summary
Supported networks reference table
docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md, versioned_docs/version-4.x/topics/introduction/supported-network.md
The Polygon Mainnet and Polygon Amoy testnet entries in the supported networks table are updated from MATIC* to POL*; mainnet network name changed to polygon.
How-to guide examples
docs/how-tos/contexts.md, docs/how-tos/credential-status.md, docs/how-tos/decentralized-renderer/using-generic-templates.md
Implementation documentation examples for Transferable Records context, credential status signing, and Bill of Lading JSON are updated to use POL instead of MATIC in credentialStatus.tokenNetwork.chain fields and field descriptions.
Tutorial example output
docs/tutorial/creator.md
Sample API response JSON in the creator tutorial is updated to show credentialStatus.tokenNetwork.chain: "POL" instead of "MATIC".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • TradeTrust/documentation#215: Updates the credentialStatus.tokenNetwork fields in transferable-document examples within docs/tutorial/creator.md.

Suggested reviewers

  • nghaninn
  • rongquan1

Poem

🐰 A tiny hop, a tidy fix,
MATIC hopped out, POL hopped in,
Examples and tables now align,
Docs refreshed with just one spin. 🥕✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating blockchain network references from MATIC to POL across documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/matic-pol

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md`:
- Around line 17-18: The versioned doc still uses the old "MATIC" label for
Polygon entries while the canonical doc uses "POL*" — update the versioned_docs
entry so the rows for chainId 137 and 80002 use "POL*" (and the same chain names
"matic"→"matic" or "amoy"→"amoy" as in the canonical table) to match the current
naming convention, or add a brief note explaining intentional divergence if you
must keep "MATIC"; target the table rows containing the tokens "MATIC" and the
chain IDs 137 and 80002 and replace/update them accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6fd22eb9-82dd-4d26-95ff-3d5167d6418b

📥 Commits

Reviewing files that changed from the base of the PR and between dd33cbc and 329e633.

📒 Files selected for processing (6)
  • docs/how-tos/contexts.md
  • docs/how-tos/credential-status.md
  • docs/how-tos/decentralized-renderer/using-generic-templates.md
  • docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md
  • docs/tutorial/creator.md
  • docs/tutorial/decentralized-renderer.md
👮 Files not reviewed due to content moderation or server errors (1)
  • docs/tutorial/decentralized-renderer.md

Comment thread docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md Outdated
@TradeTrust TradeTrust deleted a comment from coderabbitai Bot Jun 10, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@versioned_docs/version-4.x/topics/introduction/supported-network.md`:
- Around line 17-18: The table contains inconsistent "POL*" chain identifiers
(the "POL*" entries for Polygon Mainnet and Polygon Amoy) with an unexplained
asterisk; either remove the asterisk from the "POL*" tokens so they read "POL"
for consistency with other identifiers (e.g., ETH, FREE, ASTRON, XDC), or if the
asterisk is intentional add a short clarifying note/footnote immediately below
the table explaining what "*" means (e.g., indicating rebrand/transition
status), and ensure the note references "POL*" so readers understand which rows
it applies to.
- Around line 17-18: The table shows POL* for chain IDs 137 and 80002 but the
Network Name column contains the value "matic"; confirm whether the "matic" cell
is intended as a network slug or the native token symbol—if it represents the
token, replace "matic" with "POL" to match the rebrand (POL*), otherwise
keep/clarify it as a slug (e.g., "polygon" or "polygon-mainnet") for rows with
chainId 137 and 80002 so the Network Name column is unambiguous and consistent
with the POL migration.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9100a532-a7e9-4b9e-9f94-7805f29f360d

📥 Commits

Reviewing files that changed from the base of the PR and between 329e633 and d8bfa3e.

📒 Files selected for processing (2)
  • docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md
  • versioned_docs/version-4.x/topics/introduction/supported-network.md
✅ Files skipped from review due to trivial changes (1)
  • docs/introduction/key-components-of-tradetrust/blockchain/supported-network.md

Comment thread versioned_docs/version-4.x/topics/introduction/supported-network.md Outdated
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