chain letters are lowercase

The primary-network chains answer to either case; one spelling beats two.
/v1/chain/c/rpc, /v1/chain/p, /v1/chain/x across the estate.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-08 15:24:21 -07:00
co-authored by Hanzo Dev
parent 1e5aebe404
commit b5a79f7e49
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -798,13 +798,13 @@ Import order: Testnet C-Chain → Zootest → Zoo → Mainnet C-Chain (last, lar
# Import C-Chain testnet blocks (fast, ~218 blocks)
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"admin_importChain","params":["'$HOME'/work/lux/state/rlp/lux-testnet/lux-testnet-96368.rlp"],"id":1}' \
http://127.0.0.1:9642/v1/chain/C/rpc
http://127.0.0.1:9642/v1/chain/c/rpc
# Import zootest blocks (84 blocks)
# First get the blockchain ID
ZOOTEST_ID=$(curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"platform.getBlockchains","params":{},"id":1}' \
http://127.0.0.1:9642/v1/chain/P | jq -r '.result.blockchains[] | select(.name=="zootest") | .id')
http://127.0.0.1:9642/v1/chain/p | jq -r '.result.blockchains[] | select(.name=="zootest") | .id')
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"admin_importChain","params":["'$HOME'/work/lux/state/rlp/zoo-testnet/zoo-testnet-200201.rlp"],"id":1}' \
@@ -813,7 +813,7 @@ curl -s -X POST -H "Content-Type: application/json" \
# Import zoo mainnet blocks (799 blocks)
ZOO_ID=$(curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"platform.getBlockchains","params":{},"id":1}' \
http://127.0.0.1:9632/v1/chain/P | jq -r '.result.blockchains[] | select(.name=="zoo") | .id')
http://127.0.0.1:9632/v1/chain/p | jq -r '.result.blockchains[] | select(.name=="zoo") | .id')
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"admin_importChain","params":["'$HOME'/work/lux/state/rlp/zoo-mainnet/zoo-mainnet-200200.rlp"],"id":1}' \
@@ -822,7 +822,7 @@ curl -s -X POST -H "Content-Type: application/json" \
# Import C-Chain mainnet blocks (LAST - ~700k blocks, runs in background)
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"admin_importChain","params":["'$HOME'/work/lux/state/rlp/lux-mainnet/lux-mainnet-96369.rlp"],"id":1}' \
http://127.0.0.1:9632/v1/chain/C/rpc
http://127.0.0.1:9632/v1/chain/c/rpc
```
#### 4. Verify Import Progress
@@ -831,7 +831,7 @@ curl -s -X POST -H "Content-Type: application/json" \
# Check C-Chain block height
curl -s -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
http://127.0.0.1:9632/v1/chain/C/rpc | jq -r '.result' | xargs printf "%d\n"
http://127.0.0.1:9632/v1/chain/c/rpc | jq -r '.result' | xargs printf "%d\n"
# Check logs for import progress
tail -f ~/.lux/runs/mainnet/run_*/node1/db/mainnet/main.log | grep -E "(Inserted|Imported)"
@@ -1043,14 +1043,14 @@ curl -s -X POST -H "Content-Type: application/json" \
- ZAP wire: `localhost:8369`
- Validators: 5 nodes on ports 9630-9638
- Chains:
- C-Chain: `http://127.0.0.1:9630/v1/chain/C/rpc`
- C-Chain: `http://127.0.0.1:9630/v1/chain/c/rpc`
- Zoo: `http://127.0.0.1:9630/v1/chain/2iJykKjE7gpWNjGUvGG6fVtj7u5Tbvo89CVCu6gjNPCnEdCVpY/rpc`
**Testnet (Network ID: 2)**
- ZAP wire: `localhost:8368`
- Validators: 5 nodes on ports 9640-9648
- Chains:
- C-Chain: `http://127.0.0.1:9640/v1/chain/C/rpc`
- C-Chain: `http://127.0.0.1:9640/v1/chain/c/rpc`
- Zootest: `http://127.0.0.1:9640/v1/chain/9iABHiD4jiXiShpC2eL2P5VFg76kBnLvd5qCxp6iRpjemC89W/rpc`
### RLP Files (Updated Counts)
+2 -2
View File
@@ -263,12 +263,12 @@ lux network start --testnet
# Check precompile responds at LXPool address
cast call 0x0000000000000000000000000000000000009010 \
"0x08000000" \
--rpc-url http://127.0.0.1:9740/v1/chain/C/rpc
--rpc-url http://127.0.0.1:9740/v1/chain/c/rpc
# Check LXRouter
cast call 0x0000000000000000000000000000000000009012 \
"0x0C000000" \
--rpc-url http://127.0.0.1:9740/v1/chain/C/rpc
--rpc-url http://127.0.0.1:9740/v1/chain/c/rpc
# Initialize a test pool (ETH/USDC 0.3% fee)
# Use the method selector 0x01000000 (SelectorInitialize)