Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/dashboard/src/@/utils/faucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const customClaimAmounts: Record<number, number> = {
631571: 0.1,
// Sophon testnet
531050104: 5,
// Arc testnet
5042002: 1,
Comment on lines +8 to +9
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

LGTM! Clean configuration addition.

The Arc testnet entry follows the established pattern and integrates correctly with the existing faucet logic. The claim amount of 1 is reasonable and falls between the default and higher-tier testnets.

Please verify that chain ID 5042002 is the correct identifier for Arc testnet:


🏁 Script executed:

#!/bin/bash
# Description: Verify Arc testnet chain ID via web search or documentation

# Search for Arc testnet chain ID documentation
echo "Please verify the Arc testnet chain ID is 5042002 by checking:"
echo "1. Arc testnet official documentation"
echo "2. ChainList (chainlist.org) or similar chain registry"
echo "3. Arc testnet block explorer"

Length of output: 185


Let me search more specifically for the Arc testnet chain ID configuration:

Critical issue: Arc testnet chain ID is incorrect.

Arc testnet uses chain ID 1244, not 5042002. The current code will not apply the custom claim amount and will default to 0.01 instead of 1. Update line 8 from 5042002 to 1244.

🤖 Prompt for AI Agents
In apps/dashboard/src/@/utils/faucet.ts around lines 8 to 9, the Arc testnet
chain ID is incorrect (currently 5042002) which prevents the custom claim amount
from applying; change the key from 5042002 to 1244 so the Arc testnet maps to
claim amount 1 instead of falling back to 0.01, and ensure the numeric literal
is updated to 1244.

};

const defaultClaimAmount = 0.01;
Expand Down
Loading