Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Conversation

@isaackps
Copy link
Contributor

@isaackps isaackps commented Sep 22, 2025

Summary

update amoy gas station url

Summary by CodeRabbit

  • Bug Fixes
    • Updated the gas fee provider for the Polygon Amoy network to ensure accurate, real-time gas estimates.
    • Improves transaction reliability, reduces failed or delayed submissions due to outdated fee data, and aligns fee calculations with current network conditions.
    • Users can expect more predictable costs, fewer retries, and smoother confirmations when sending transactions on Polygon Amoy.

@coderabbitai
Copy link

coderabbitai bot commented Sep 22, 2025

Walkthrough

Updated the Polygon Amoy chain configuration in src/constants/supportedChains.ts to point its gasStation endpoint to the main Polygon gas station URL instead of the testnet URL. No other fields or exports were modified.

Changes

Cohort / File(s) Summary
Chain config constants
src/constants/supportedChains.ts
Changed the gasStation endpoint for the Polygon Amoy chain from the testnet gas station URL to the main Polygon gas station URL; no signature or structural changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

I nibbled code and flipped one trail,
From test to main, the fees won’t fail.
A hop, a skip, the chains align,
Amoy now sips the proper brine.
Thump-thump—deploy! My whiskers twitch 🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The PR description only provides a one-line Summary ("update amoy gas station url") and omits the repository's required "Changes" and "Issues" sections, and it lacks detail about which file was modified, the exact URL change, and any testing or impact notes. Please expand the description to include a "Changes" section listing the modified file(s) (src/constants/supportedChains.ts) and the exact data change (Amoy gasStation URL updated from the testnet URL to the main Polygon gas station URL), add an "Issues" section linking the related issue or stating "none", and include brief testing or impact notes (how the change was verified). After those additions the description will conform to the repository template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The title "fix: update amoy gas station url" is concise and accurately summarizes the primary change in this PR (updating the Amoy gasStation URL), making it clear for reviewers scanning history.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/amoy-gasstation-url

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7b7b715 and 607500c.

📒 Files selected for processing (1)
  • src/constants/supportedChains.ts (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
src/constants/supportedChains.ts (1)
src/gasStation/index.ts (1)
  • gasStation (10-23)
🔇 Additional comments (1)
src/constants/supportedChains.ts (1)

87-87: Verify the gas station endpoint URL is correct and functional.

The gas station URL has been updated from a testnet-specific URL to what appears to be the main Polygon gas station with an Amoy path. Please confirm that https://gasstation.polygon.technology/amoy is the correct and functional endpoint for Amoy testnet gas station data.

Based on the search results, I can confirm that the gas station URL update is correct. According to the official Polygon documentation, the Amoy testnet gas station URL is: https://gasstation.polygon.technology/amoy. The change from a testnet-specific URL to this official Polygon gas station endpoint is accurate and appropriate.


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.

@rongquan1 rongquan1 merged commit 89d303f into master Sep 22, 2025
11 checks passed
@rongquan1 rongquan1 deleted the fix/amoy-gasstation-url branch September 22, 2025 05:03
@github-actions
Copy link

🎉 This PR is included in version 2.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants