Skip to content

docs: fix stale Base chain references (Arbitrum)#3

Open
koko1123 wants to merge 2 commits into
mainfrom
koko/readme-arbitrum-fix
Open

docs: fix stale Base chain references (Arbitrum)#3
koko1123 wants to merge 2 commits into
mainfrom
koko/readme-arbitrum-fix

Conversation

@koko1123

@koko1123 koko1123 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Documentation-only: the protocol runs on Arbitrum, not Base. No code changes.

Corrections

  • README.md quickstart and env example: RPC base-sepolia.g.alchemy.com -> arb-sepolia.g.alchemy.com
  • README.md API reference: chain_id=84532 (Base Sepolia) -> chain_id=421614 (Arbitrum Sepolia)

Follow-ups (code still references Base, intentionally not touched in this docs-only PR)

  • src/perpcity_sdk/context.py:26: DEFAULT_CHAIN_ID = 84532 # Base Sepolia -> should become 421614 (Arbitrum Sepolia)
  • src/perpcity_sdk/utils/rpc.py:11-13: error message suggests Base Sepolia RPC URLs (base-sepolia.g.alchemy.com, base-sepolia.infura.io, sepolia.base.org)

Summary by CodeRabbit

  • Documentation
    • Updated README examples to target Arbitrum Sepolia instead of Base Sepolia.
    • Refreshed the sample RPC URL in the setup and environment variables sections.
    • Updated the example network identifier (including adding the chain_id argument) to match the new test network.

@coderabbitai

coderabbitai Bot commented Jul 2, 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 Plus

Run ID: b9b210a0-7cd8-4317-8619-4d8f36179a53

📥 Commits

Reviewing files that changed from the base of the PR and between 4232b12 and 2049e11.

📒 Files selected for processing (1)
  • README.md
✅ Files skipped from review due to trivial changes (1)
  • README.md

📝 Walkthrough

Walkthrough

Updated README.md examples to use Arbitrum Sepolia instead of Base Sepolia, including the RPC URL values and the example chain ID.

Changes

README network reference update

Layer / File(s) Summary
Update RPC URL and chain_id examples
README.md
Quick Start, API reference, and Environment Variables examples now point to Arbitrum Sepolia values.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem
Base gives way to Arbitrum light,
README examples now read right.

🚥 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 clearly summarizes the README docs update from stale Base references to Arbitrum.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch koko/readme-arbitrum-fix

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

@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 `@README.md`:
- Line 23: The quickstart example is out of sync with the chain-id contract
because PerpCityContext still defaults to 84532 while the setup path shown here
uses Arbitrum Sepolia; update the quickstart to pass the correct chain_id
override (421614) alongside rpc_url, or adjust the PerpCityContext default and
validate_chain_id() behavior to match this documented network. Use the
PerpCityContext initialization and validate_chain_id() symbols to locate the
contract between the SDK and the README example.
🪄 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 Plus

Run ID: bf0eb42d-7abb-4e46-8e3c-b60b71433383

📥 Commits

Reviewing files that changed from the base of the PR and between 9d741ec and 4232b12.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
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