Skip to content

fix: replace deprecated Polygon explorer API with Etherscan v2#150

Merged
rongquan1 merged 17 commits into
mainfrom
feat/matic-pol-explorer-update
Jun 10, 2026
Merged

fix: replace deprecated Polygon explorer API with Etherscan v2#150
rongquan1 merged 17 commits into
mainfrom
feat/matic-pol-explorer-update

Conversation

@manishdex25

Copy link
Copy Markdown
Contributor

Summary

What is the background of this pull request?

Changes

  • What are the changes made in this pull request?
  • Change this and that, etc...

Issues

What are the related issues or stories?

manishdex25 and others added 17 commits June 4, 2026 15:41
This change enhances clarity and consistency in network handling.
- Added new fixtures for W3C Transferable Record and OA Token Registry minted on Polygon mainnet.
- Updated tests to validate error handling for missing tokenRegistry and tokenNetwork.chainId.
- Adjusted test expectations to ensure proper validation of tampered documents.
- Refactored existing tests to improve clarity and maintainability.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@manishdex25, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 4 minutes and 24 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0d2da1e6-5760-423a-af4b-91c7a9ae86b0

📥 Commits

Reviewing files that changed from the base of the PR and between 019804c and 17d0808.

📒 Files selected for processing (5)
  • package.json
  • src/__tests__/core/verify.pol.test.ts
  • src/__tests__/fixtures/fixtures.ts
  • src/utils/supportedChains/index.ts
  • src/utils/supportedChains/supportedChains.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/matic-pol-explorer-update

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.

@sonarqubecloud

Copy link
Copy Markdown

@manishdex25 manishdex25 changed the title Feat: matic pol explorer endpoint update fix: replace deprecated Polygon explorer API with Etherscan v2 Jun 10, 2026
@rongquan1 rongquan1 merged commit 69d37a9 into main Jun 10, 2026
27 of 29 checks passed
@rongquan1 rongquan1 deleted the feat/matic-pol-explorer-update branch June 10, 2026 06:00
nghaninn pushed a commit that referenced this pull request Jun 10, 2026
## [2.14.1](v2.14.0...v2.14.1) (2026-06-10)

### Bug Fixes

* replace deprecated Polygon explorer API with Etherscan v2 ([#150](#150)) ([69d37a9](69d37a9))
@tradetrustimda

Copy link
Copy Markdown

🎉 This PR is included in version 2.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants