Files
proxmox/docs/04-configuration/metamask/ORACLE_UPDATE_STATUS.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- 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>
2026-02-12 15:46:57 -08:00

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

  1. Price Fetch: Complete (~2 seconds)
  2. Transaction Send: In progress (30-60 seconds)
  3. Confirmation: Waiting (5-10 seconds)
  4. Verification: Pending

Total Time: ~40-75 seconds


Success Indicators

After completion, you should see:

  1. Transaction Hash: 0x... (64 hex characters)
  2. Verification: Oracle price updated to ~$3000.70
  3. Timestamp: updatedAt field shows recent timestamp

🔧 Troubleshooting

If Transaction Fails

  1. Check Private Key:

    # Verify private key is set
    echo $PRIVATE_KEY | head -c 20
    
  2. Check Account Balance:

    DEPLOYER=$(cast wallet address --private-key $PRIVATE_KEY)
    cast balance $DEPLOYER --rpc-url http://192.168.11.211:8545
    
  3. Check Gas Price:

    • Current: 20 Gwei (20000000000)
    • May need adjustment if network is busy

If Oracle Still Returns Zero

  1. Wait for Confirmation:

    • Transaction may need more time to confirm
    • Wait 10-15 seconds after transaction hash appears
  2. Check Transaction Status:

    • Verify transaction was successful
    • Check for revert reasons
  3. 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