scrub: subnet/l2 → chain (canonical vocabulary, forward-only)

Wire-format codec IDs unchanged. CLI aliases deleted; chain is the
command. No backwards-compat shims, no deprecation comments.
This commit is contained in:
Hanzo Dev
2026-06-10 22:35:41 -07:00
committed by zeekay
parent 5daf0e5517
commit 5d7a45aaec
2 changed files with 4 additions and 4 deletions
@@ -5,8 +5,8 @@
* - EVM chains: viem publicClient(getBootnodeRpcUrl) → native balance and
* (later) erc20 multicall in a single round-trip.
* - Lux non-EVM (P/X/Q/A/B/M): JSON-RPC `*.getBalance` via the same
* gateway URL helper. Each chain has its own subnet route; the
* gateway resolves it.
* gateway URL helper. Each chain has its own route; the gateway
* resolves it.
* - F-Chain (confidential): we never fetch plaintext — the row renders
* as "Hidden 🔒" with an unwrap action.
*
@@ -86,7 +86,7 @@ async function fetchEvmBalance(entry: ChainEntry, address: Address): Promise<Cha
async function fetchLuxNonEvmBalance(entry: ChainEntry, address: Address): Promise<ChainPortfolio | null> {
// Non-EVM chains use AVAX-style REST. Foundation Blue's gateway resolves
// /v1/rpc/{chainId} to the right subnet endpoint.
// /v1/rpc/{chainId} to the right chain endpoint.
const url = getBootnodeRpcUrl(entry.chainId)
if (!url) return null
try {
+1 -1
View File
@@ -47,7 +47,7 @@ export interface ActiveStake {
pendingRewardNLux: bigint
startTime: number
endTime: number
/** "Pending" while subnet has not yet activated; "Active" once running. */
/** "Pending" while chain has not yet activated; "Active" once running. */
status: "pending" | "active" | "completed"
}