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>
79 lines
2.1 KiB
Markdown
79 lines
2.1 KiB
Markdown
# Oracle Update Success
|
|
|
|
**Last Updated:** 2026-01-31
|
|
**Document Version:** 1.0
|
|
**Status:** Active Documentation
|
|
|
|
---
|
|
|
|
**Date:** 2026-01-27
|
|
**Transaction:** `0x8f2f7760b887c4e5449e7c11ae0b63449962770c7d7ec97b20ca360da0144e1b`
|
|
**Status:** ✅ Transaction Sent Successfully
|
|
|
|
---
|
|
|
|
## ✅ Update Summary
|
|
|
|
### Transaction Details
|
|
|
|
- **Transaction Hash:** `0x8f2f7760b887c4e5449e7c11ae0b63449962770c7d7ec97b20ca360da0144e1b`
|
|
- **Oracle Aggregator:** `0x99b3511a2d315a497c8112c1fdd8d508d4b1e506`
|
|
- **Price Updated:** $2999.66 (299966000000 in 8 decimals)
|
|
- **Method:** `updateAnswer(uint256)`
|
|
- **Transmitter:** `0x4A666F96fC8764181194447A7dFdb7d471b301C8` ✅ Authorized
|
|
|
|
---
|
|
|
|
## 🔍 Verification
|
|
|
|
### Check Transaction Status
|
|
|
|
```bash
|
|
RPC_URL="http://192.168.11.211:8545"
|
|
TX_HASH="0x8f2f7760b887c4e5449e7c11ae0b63449962770c7d7ec97b20ca360da0144e1b"
|
|
|
|
cast tx "$TX_HASH" --rpc-url "$RPC_URL"
|
|
```
|
|
|
|
### Check Oracle Price
|
|
|
|
```bash
|
|
ORACLE="0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6"
|
|
cast call "$ORACLE" "latestRoundData()" --rpc-url "$RPC_URL"
|
|
|
|
# Parse price (answer field in 8 decimals)
|
|
# Expected: ~299966000000 = $2999.66
|
|
```
|
|
|
|
---
|
|
|
|
## ✅ Script Improvements Made
|
|
|
|
1. **RPC URL Priority:** Now uses `RPC_URL_138` (accessible endpoint)
|
|
2. **Transmitter Check:** Verifies account is authorized before sending
|
|
3. **Aggregator Address:** Uses aggregator contract for updates (not proxy)
|
|
4. **Better Error Handling:** Clear messages if not authorized
|
|
5. **Automatic Fallback:** Tries alternative RPCs if primary fails
|
|
|
|
---
|
|
|
|
## 📊 Current Status
|
|
|
|
- ✅ Transaction sent successfully
|
|
- ✅ Account is authorized transmitter
|
|
- ✅ Using correct aggregator address
|
|
- ⏳ Waiting for confirmation (may take 10-30 seconds)
|
|
|
|
---
|
|
|
|
## 🔗 Related Documentation
|
|
|
|
- **Transmitter Requirement:** `docs/04-configuration/metamask/ORACLE_TRANSMITTER_REQUIREMENT.md`
|
|
- **Script Fix:** `docs/04-configuration/metamask/ORACLE_UPDATE_SCRIPT_FIX.md`
|
|
- **Oracle Setup:** `docs/04-configuration/metamask/ORACLE_PRICE_FEED_SETUP.md`
|
|
|
|
---
|
|
|
|
**Last Updated:** 2026-01-27
|
|
**Status:** ✅ Transaction Sent - Awaiting Confirmation
|