Skip to content

fix: explicit network config for Gravity Testnet RPC#14

Merged
keanji-x merged 1 commit intomainfrom
fix/explicit-gravity-network
Apr 15, 2026
Merged

fix: explicit network config for Gravity Testnet RPC#14
keanji-x merged 1 commit intomainfrom
fix/explicit-gravity-network

Conversation

@keanji-x
Copy link
Copy Markdown
Collaborator

Summary

  • Pass explicit network { name: "gravity-testnet", chainId: 7671625 } to ethers JsonRpcProvider instead of relying on auto-detection
  • Fixes NETWORK_ERROR: could not detect network crash on MCP server startup — ethers v5 doesn't recognize Gravity Testnet's chain ID (7771625)

Test plan

  • Run just agent-start config/gravity.toml and verify MCP server starts without NETWORK_ERROR
  • Confirm agent runner connects and executes tool calls against Gravity Testnet

🤖 Generated with Claude Code

ethers v5 does not recognize Gravity Testnet (chain ID 7771625) and
fails with NETWORK_ERROR during automatic network detection. Providing
the network config explicitly skips the detection step.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@keanji-x keanji-x merged commit 58f5279 into main Apr 15, 2026
2 of 3 checks passed
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