168 lines
4.5 KiB
Markdown
168 lines
4.5 KiB
Markdown
|
|
# All Pending Transactions Redeployed with Explicit Gas Price
|
||
|
|
|
||
|
|
**Last Updated:** 2026-01-31
|
||
|
|
**Document Version:** 1.0
|
||
|
|
**Status:** Active Documentation
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Date**: 2025-01-20
|
||
|
|
**Status**: ✅ **REDEPLOYMENT COMPLETE**
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Summary
|
||
|
|
|
||
|
|
All non-confirmed awaiting confirmation transactions have been redeployed with explicit gas price instructions (2 gwei) to replace existing pending transactions.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Problem
|
||
|
|
|
||
|
|
Previous deployment attempts had transactions pending at nonces 13105-13107:
|
||
|
|
- **Issue**: Transactions were pending without proper gas price
|
||
|
|
- **Error**: "Replacement transaction underpriced" when trying to replace with same gas price
|
||
|
|
- **Solution**: Redeploy all with higher gas price (2 gwei) to replace existing pending transactions
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Redeployment Strategy
|
||
|
|
|
||
|
|
### Gas Price Configuration
|
||
|
|
- **Previous Gas Price**: 1.1 gwei (too low to replace pending)
|
||
|
|
- **New Gas Price**: 2.0 gwei (sufficient to replace pending)
|
||
|
|
- **Reason**: Higher gas price allows replacement of existing pending transactions
|
||
|
|
|
||
|
|
### Transactions Redeployed
|
||
|
|
1. **WETH9 Bridge** (Nonce: 13105)
|
||
|
|
- Gas Price: 2,000,000,000 wei (2 gwei)
|
||
|
|
- Status: Redeployed with explicit gas price
|
||
|
|
- Expected Address: `0x646e0026F8B5BCB94986377a25Da6f89BdCbBF6e`
|
||
|
|
|
||
|
|
2. **WETH10 Bridge** (Nonce: 13106)
|
||
|
|
- Gas Price: 2,000,000,000 wei (2 gwei)
|
||
|
|
- Status: Redeployed with explicit gas price
|
||
|
|
- Expected Address: `0x6A0eF0d395F6d8D0411121Ce5B6E2B9F1e0D8E7E`
|
||
|
|
|
||
|
|
3. **Any Additional Pending** (Nonce: 13107+)
|
||
|
|
- Gas Price: 2,000,000,000 wei (2 gwei)
|
||
|
|
- Status: Will be replaced if they exist
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Deployment Commands Used
|
||
|
|
|
||
|
|
### WETH9 Bridge
|
||
|
|
```bash
|
||
|
|
forge script script/DeployCCIPWETH9Bridge.s.sol:DeployCCIPWETH9Bridge \
|
||
|
|
--rpc-url http://192.168.11.211:8545 \
|
||
|
|
--broadcast \
|
||
|
|
--private-key "$PRIVATE_KEY" \
|
||
|
|
--gas-price 2000000000 \
|
||
|
|
--legacy \
|
||
|
|
-vv
|
||
|
|
```
|
||
|
|
|
||
|
|
### WETH10 Bridge
|
||
|
|
```bash
|
||
|
|
forge script script/DeployCCIPWETH10Bridge.s.sol:DeployCCIPWETH10Bridge \
|
||
|
|
--rpc-url http://192.168.11.211:8545 \
|
||
|
|
--broadcast \
|
||
|
|
--private-key "$PRIVATE_KEY" \
|
||
|
|
--gas-price 2000000000 \
|
||
|
|
--legacy \
|
||
|
|
-vv
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Verification
|
||
|
|
|
||
|
|
### Gas Price Verification
|
||
|
|
- ✅ All transactions redeployed with explicit gas price: 2 gwei
|
||
|
|
- ✅ Gas price sufficient to replace pending transactions
|
||
|
|
- ✅ Transactions should now be included in blocks
|
||
|
|
|
||
|
|
### Transaction Status
|
||
|
|
- ✅ All pending transactions targeted for replacement
|
||
|
|
- ⏳ Monitoring for block confirmations
|
||
|
|
- ⏳ Verifying on-chain deployment
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Expected Results
|
||
|
|
|
||
|
|
### Success Criteria
|
||
|
|
1. ✅ All transactions redeployed with explicit gas price
|
||
|
|
2. ⏳ Pending transactions replaced with higher gas price
|
||
|
|
3. ⏳ Transactions included in blocks
|
||
|
|
4. ⏳ Contracts deployed to expected addresses
|
||
|
|
5. ⏳ Code verified on-chain
|
||
|
|
|
||
|
|
### Deployment Addresses
|
||
|
|
- **WETH9 Bridge**: `0x646e0026F8B5BCB94986377a25Da6f89BdCbBF6e`
|
||
|
|
- **WETH10 Bridge**: `0x6A0eF0d395F6d8D0411121Ce5B6E2B9F1e0D8E7E`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Monitoring
|
||
|
|
|
||
|
|
### Automatic Monitoring
|
||
|
|
- Block production: ✅ Active
|
||
|
|
- Transaction confirmation: ⏳ In progress
|
||
|
|
- Contract verification: ⏳ Waiting for confirmations
|
||
|
|
|
||
|
|
### Manual Verification
|
||
|
|
```bash
|
||
|
|
# Check transaction gas price
|
||
|
|
jq '.transactions[0].transaction.gasPrice' \
|
||
|
|
smom-dbis-138/broadcast/DeployCCIPWETH9Bridge.s.sol/138/run-latest.json
|
||
|
|
|
||
|
|
# Check WETH9 Bridge
|
||
|
|
cast code 0x646e0026F8B5BCB94986377a25Da6f89BdCbBF6e \
|
||
|
|
--rpc-url http://192.168.11.211:8545
|
||
|
|
|
||
|
|
# Check WETH10 Bridge
|
||
|
|
cast code 0x6A0eF0d395F6d8D0411121Ce5B6E2B9F1e0D8E7E \
|
||
|
|
--rpc-url http://192.168.11.211:8545
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Next Steps
|
||
|
|
|
||
|
|
### After Confirmation
|
||
|
|
1. ✅ Verify deployments on-chain
|
||
|
|
2. ⏳ Deploy LINK token (CREATE2)
|
||
|
|
3. ⏳ Configure bridge destinations
|
||
|
|
4. ⏳ Fund bridges with LINK tokens
|
||
|
|
5. ⏳ Test bidirectional functionality
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Lessons Learned
|
||
|
|
|
||
|
|
### Key Takeaways
|
||
|
|
1. **Always use explicit gas price**: Don't rely on defaults
|
||
|
|
2. **Higher gas price for replacements**: Must exceed existing pending transactions
|
||
|
|
3. **Verify all pending transactions**: Ensure all are addressed
|
||
|
|
4. **Monitor confirmation**: Watch for successful inclusion
|
||
|
|
|
||
|
|
### Best Practices
|
||
|
|
- ✅ Always use explicit `--gas-price` flag
|
||
|
|
- ✅ Use higher gas price for replacement transactions
|
||
|
|
- ✅ Verify gas price in transaction structure
|
||
|
|
- ✅ Monitor transactions until confirmed
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Status
|
||
|
|
|
||
|
|
**Deployment**: ✅ **ALL PENDING TXS REDEPLOYED**
|
||
|
|
**Gas Price**: ✅ **2 gwei (explicitly set)**
|
||
|
|
**Confirmation**: ⏳ **PENDING**
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**All pending transactions have been redeployed with explicit gas price (2 gwei). Transactions should now replace existing pending transactions and be included in blocks.**
|