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>
181 lines
4.2 KiB
Markdown
181 lines
4.2 KiB
Markdown
# Bridge Start Status
|
|
## Current State and Next Steps
|
|
|
|
**Date**: 2025-01-27
|
|
**Status**: ⚠️ **PENDING TRANSACTIONS DETECTED**
|
|
|
|
---
|
|
|
|
## Current Situation
|
|
|
|
### ✅ Prerequisites Met
|
|
|
|
- ✅ Wallet accessible: `0x4A666F96fC8764181194447A7dFdb7d471b301C8`
|
|
- ✅ Sufficient balances:
|
|
- ETH: 999,610,163+ ETH
|
|
- LINK: 999,979 LINK
|
|
- ✅ WETH9 approval: Already approved
|
|
- ✅ RPC endpoints: Accessible
|
|
- ✅ Bridges: Fully configured and ready
|
|
|
|
### ⚠️ Issue: Pending Transactions
|
|
|
|
**Problem**: There are pending transactions in the mempool that need to be cleared before new transactions can be sent.
|
|
|
|
**Symptoms**:
|
|
- "Known transaction" - Transaction with same nonce already pending
|
|
- "Replacement transaction underpriced" - Need higher gas price to replace
|
|
- "Execution reverted" - Cannot estimate gas due to pending state
|
|
|
|
**Current Nonce**: 13104
|
|
|
|
---
|
|
|
|
## Solutions
|
|
|
|
### Option 1: Wait for Pending Transactions to Clear (Recommended)
|
|
|
|
**Action**: Wait 5-10 minutes for pending transactions to be mined, then retry.
|
|
|
|
**Check Status**:
|
|
```bash
|
|
# Check if transactions cleared
|
|
cast nonce 0x4A666F96fC8764181194447A7dFdb7d471b301C8 \
|
|
--rpc-url http://192.168.11.211:8545
|
|
|
|
# If nonce increased, transactions cleared
|
|
```
|
|
|
|
### Option 2: Use Much Higher Gas Price
|
|
|
|
**Action**: Use extremely high gas price (500+ gwei) to replace pending transactions.
|
|
|
|
**Command**:
|
|
```bash
|
|
cd /home/intlc/projects/proxmox/smom-dbis-138
|
|
source .env
|
|
|
|
# Use 500 gwei gas price
|
|
GAS_PRICE="500000000000" # 500 gwei
|
|
|
|
# Wrap ETH
|
|
cast send 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 \
|
|
"deposit()" \
|
|
--value $(cast --to-wei 0.001 ether) \
|
|
--rpc-url http://192.168.11.211:8545 \
|
|
--private-key "$PRIVATE_KEY" \
|
|
--gas-price "$GAS_PRICE" \
|
|
--legacy
|
|
```
|
|
|
|
### Option 3: Check Pending Transactions
|
|
|
|
**Action**: Check what transactions are pending and their status.
|
|
|
|
**Commands**:
|
|
```bash
|
|
# Check recent transactions
|
|
cast tx <pending_tx_hash> --rpc-url http://192.168.11.211:8545
|
|
|
|
# Or check on explorer
|
|
# https://explorer.d-bis.org/address/0x4A666F96fC8764181194447A7dFdb7d471b301C8
|
|
```
|
|
|
|
---
|
|
|
|
## Recommended Next Steps
|
|
|
|
### Immediate (Wait and Retry)
|
|
|
|
1. **Wait 5-10 minutes** for pending transactions to clear
|
|
2. **Check nonce** to confirm transactions processed
|
|
3. **Retry bridge transfer** with normal gas price
|
|
|
|
### Alternative (High Gas)
|
|
|
|
1. **Use very high gas price** (500+ gwei) to replace pending transactions
|
|
2. **Execute bridge transfer** with high gas
|
|
3. **Monitor transactions** on explorer
|
|
|
|
---
|
|
|
|
## Bridge Transfer Commands (Once Pending Cleared)
|
|
|
|
### Quick Bridge Script
|
|
|
|
```bash
|
|
cd /home/intlc/projects/proxmox/smom-dbis-138
|
|
source .env
|
|
|
|
# Set correct RPC
|
|
export RPC_URL_138="http://192.168.11.211:8545"
|
|
|
|
# Run bridge
|
|
./scripts/wrap-and-bridge-weth9-to-mainnet.sh \
|
|
0.001 \
|
|
0x4A666F96fC8764181194447A7dFdb7d471b301C8
|
|
```
|
|
|
|
### Manual Bridge (Step by Step)
|
|
|
|
```bash
|
|
# 1. Wrap ETH
|
|
AMOUNT=$(cast --to-wei 0.001 ether)
|
|
cast send 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 \
|
|
"deposit()" \
|
|
--value "$AMOUNT" \
|
|
--rpc-url http://192.168.11.211:8545 \
|
|
--private-key "$PRIVATE_KEY" \
|
|
--gas-price 20000000000 \
|
|
--legacy
|
|
|
|
# 2. Approve LINK (if needed)
|
|
MAX_UINT="115792089237316195423570985008687907853269984665640564039457584007913129639935"
|
|
cast send 0x362E9a45Ef6e554760f9671938235Cbc9b6E80Ed \
|
|
"approve(address,uint256)" \
|
|
0x89dd12025bfCD38A168455A44B400e913ED33BE2 \
|
|
"$MAX_UINT" \
|
|
--rpc-url http://192.168.11.211:8545 \
|
|
--private-key "$PRIVATE_KEY" \
|
|
--gas-price 20000000000 \
|
|
--legacy
|
|
|
|
# 3. Bridge
|
|
cast send 0x89dd12025bfCD38A168455A44B400e913ED33BE2 \
|
|
"sendCrossChain(uint64,address,uint256)" \
|
|
5009297550715157269 \
|
|
0x4A666F96fC8764181194447A7dFdb7d471b301C8 \
|
|
"$AMOUNT" \
|
|
--rpc-url http://192.168.11.211:8545 \
|
|
--private-key "$PRIVATE_KEY" \
|
|
--gas-price 20000000000 \
|
|
--legacy
|
|
```
|
|
|
|
---
|
|
|
|
## Status Summary
|
|
|
|
| Item | Status |
|
|
|------|--------|
|
|
| **Infrastructure** | ✅ Ready |
|
|
| **Balances** | ✅ Sufficient |
|
|
| **Approvals** | ✅ Set |
|
|
| **Bridges** | ✅ Configured |
|
|
| **Pending Transactions** | ⚠️ Need to clear |
|
|
| **Ready to Bridge** | ⏳ After pending clear |
|
|
|
|
---
|
|
|
|
## Next Action
|
|
|
|
**Wait for pending transactions to clear, then retry bridge transfer.**
|
|
|
|
**Estimated Wait Time**: 5-10 minutes
|
|
|
|
**After Clearing**: Bridge transfer should proceed normally.
|
|
|
|
---
|
|
|
|
**Last Updated**: 2025-01-27
|