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.0 KiB
2.0 KiB
Recovery Procedures
Last Updated: 2026-01-31
Document Version: 1.0
Status: Active Documentation
Purpose: Step-by-step recovery procedures for various failure scenarios
🔄 Transaction Recovery
Stuck Transaction
Scenario: Transaction pending for extended period
Recovery:
-
Check transaction status
cast tx <tx_hash> --rpc-url $RPC_URL -
Check nonce
cast nonce <address> --rpc-url $RPC_URL -
Retry with higher gas
bash scripts/retry-failed-transactions.sh
💰 Balance Recovery
Insufficient Balance
Scenario: Not enough ETH or LINK for operations
Recovery:
-
Check current balances
bash scripts/check-bridge-status.sh -
Transfer funds
- Transfer ETH to deployer address
- Transfer LINK tokens if needed
-
Verify balances
cast balance <address> --rpc-url $RPC_URL
🔗 Chain Configuration Recovery
Missing Destination Chain
Scenario: Destination chain not configured
Recovery:
-
Verify chain selector
-
Add destination
bash scripts/configure-bridge-destinations.sh -
Verify configuration
bash scripts/verify-bridge-configuration.sh
🌐 Network Recovery
RPC Outage
Scenario: RPC endpoint unavailable
Recovery:
-
Check RPC status
cast block-number --rpc-url $RPC_URL -
Switch to backup RPC
- Update RPC_URL in .env
- Restart services
-
Verify connectivity
bash scripts/health-check.sh
🔒 Security Recovery
Unauthorized Access
Scenario: Suspicious activity detected
Recovery:
-
Pause bridge immediately
cast send <BRIDGE_ADDRESS> "pause()" --rpc-url $RPC_URL --private-key $PRIVATE_KEY -
Review logs
tail -1000 logs/alerts-*.log -
Rotate keys if needed
-
Resume after security review
Last Updated: $(date)