Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
2.8 KiB
2.8 KiB
Oracle Update Status
Last Updated: 2026-01-31
Document Version: 1.0
Status: Active Documentation
Date: 2026-01-27
Oracle Address: 0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6
ChainID: 138
📊 Current Update Status
Script Execution
Status: ✅ Script running successfully
Progress:
- ✅ RPC connectivity verified (
http://192.168.11.211:8545) - ✅ ETH/USD price fetched from CoinGecko: $3000.7
- ✅ Price converted to 8 decimals: 300070000000
- ⏳ Transaction sending in progress (may take 30-60 seconds)
🔍 Verification Commands
Check Oracle Price After Update
RPC_URL="http://192.168.11.211:8545"
ORACLE="0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6"
# Get latest price
cast call "$ORACLE" "latestRoundData()" --rpc-url "$RPC_URL"
# Parse price (answer field in 8 decimals)
# Expected: ~300070000000 = $3000.70
Check Transaction Status
# If you have the transaction hash
cast tx <TX_HASH> --rpc-url http://192.168.11.211:8545
# Or check recent transactions
cast block latest --rpc-url http://192.168.11.211:8545 | grep -A 5 transactions
⏱️ Expected Timeline
- Price Fetch: ✅ Complete (~2 seconds)
- Transaction Send: ⏳ In progress (30-60 seconds)
- Confirmation: ⏳ Waiting (5-10 seconds)
- Verification: ⏳ Pending
Total Time: ~40-75 seconds
✅ Success Indicators
After completion, you should see:
- Transaction Hash:
0x...(64 hex characters) - Verification: Oracle price updated to ~$3000.70
- Timestamp:
updatedAtfield shows recent timestamp
🔧 Troubleshooting
If Transaction Fails
-
Check Private Key:
# Verify private key is set echo $PRIVATE_KEY | head -c 20 -
Check Account Balance:
DEPLOYER=$(cast wallet address --private-key $PRIVATE_KEY) cast balance $DEPLOYER --rpc-url http://192.168.11.211:8545 -
Check Gas Price:
- Current: 20 Gwei (20000000000)
- May need adjustment if network is busy
If Oracle Still Returns Zero
-
Wait for Confirmation:
- Transaction may need more time to confirm
- Wait 10-15 seconds after transaction hash appears
-
Check Transaction Status:
- Verify transaction was successful
- Check for revert reasons
-
Manual Verification:
# Query oracle directly cast call 0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6 \ "latestRoundData()" \ --rpc-url http://192.168.11.211:8545
📝 Notes
- Oracle Type: ETH/USD Price Feed
- Decimals: 8 (price in format: 300070000000 = $3000.70)
- Update Method:
updateAnswer(int256) - Gas Price: 20 Gwei (legacy transaction)
Last Updated: 2026-01-27
Status: ⏳ Transaction in Progress