Co-authored-by:
This commit is contained in:
@@ -37,7 +37,7 @@ Single checklist for **fixes**, **testing**, and **deployment** (required and op
|
||||
|------|-------------|
|
||||
| Restore DODOPMMIntegration.t.sol test | **DONE.** Test restored; fixed `vm.mockCall(dvm, bytes(""), ...)` and removed redundant grantRole. |
|
||||
| Restore MultiChainBridge.t.sol | **DONE.** Restored; MockCCIPRouter, cancel-bridge flow, XDC convertXdcToEth fix, XRPL recipientData; 8/8 tests pass. |
|
||||
| WETH9 decimals display | **Documented:** WETH9 `decimals()` returns 0 on-chain, so MetaMask can show e.g. "6,000,000,000.0T WETH" instead of "6 WETH". Workaround: use token list with decimals 18 (e.g. `metamask-integration/docs/METAMASK_TOKEN_LIST.json`) or manual token import with decimals 18. Host token list for auto-discovery. See [PHASE4_POST_DEPLOYMENT_TESTING.md](deployment/PHASE4_POST_DEPLOYMENT_TESTING.md) §4.3. |
|
||||
| WETH9 decimals display | **Documented:** WETH9 `decimals()` returns 0 on-chain, so MetaMask can show e.g. "6,000,000,000.0T WETH" instead of "6 WETH". Workaround: use token list with decimals 18 (e.g. `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`) or manual token import with decimals 18. Host token list for auto-discovery. See [PHASE4_POST_DEPLOYMENT_TESTING.md](deployment/PHASE4_POST_DEPLOYMENT_TESTING.md) §4.3. |
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ This is the **master index** of all project documentation. Use this as your star
|
||||
- **[METAMASK_BD.md](operations/integrations/METAMASK_BD.md)** - MetaMask integration details
|
||||
- **[Crypto.com OTC Integration](../../dbis_core/src/core/exchange/crypto-com-otc/README.md)** - Crypto.com OTC 2.0 API for institutional trading (DBIS Core)
|
||||
- **[Exchange Registry](../../dbis_core/src/core/exchange/)** - Multi-exchange price API (Binance, Kraken, Oanda, FXCM)
|
||||
- **[Ramp API](../../metamask-integration/src/ramps/)** - Fiat on/off-ramp session API (MoonPay, Ramp, Onramper, etc.)
|
||||
- **[Ramp API](~/projects/metamask-integration/src/ramps/)** - Fiat on/off-ramp session API (MoonPay, Ramp, Onramper, etc.)
|
||||
- **[DeFi Router](../../alltra-lifi-settlement/src/payments/)** - 1inch, ParaSwap, 0x DEX aggregator
|
||||
|
||||
---
|
||||
|
||||
@@ -105,7 +105,7 @@ All deployed contracts use the same admin address, providing consistent access c
|
||||
|
||||
**Solution**: Host token list publicly for automatic discovery.
|
||||
|
||||
**Token List**: `metamask-integration/docs/METAMASK_TOKEN_LIST.json` contains correct decimals.
|
||||
**Token List**: `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json` contains correct decimals.
|
||||
|
||||
### 2. ChainID 138 RPC Access
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
9. Test multiple destinations (if configured)
|
||||
10. Document test results
|
||||
|
||||
**Test Script Available**: `explorer-monorepo/scripts/test-end-to-end-bridge.sh`
|
||||
**Test Script Available**: `~/projects/explorer-monorepo/scripts/test-end-to-end-bridge.sh`
|
||||
|
||||
**Dependencies**: ChainID 138 RPC access, Mainnet RPC access, funded wallets
|
||||
**Output**: Cross-chain test report
|
||||
@@ -195,7 +195,7 @@
|
||||
**Description**: Host MetaMask token list publicly for automatic token discovery.
|
||||
|
||||
**Steps**:
|
||||
1. Review token list: `metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
1. Review token list: `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
2. Validate token list format and contents
|
||||
3. Choose hosting option:
|
||||
- Option A: GitHub Pages (free, easy)
|
||||
|
||||
@@ -101,7 +101,7 @@ forge verify-contract --chain-id 1 \
|
||||
|
||||
**Status**: ⚠️ **BLOCKS AUTOMATIC WALLET INTEGRATION**
|
||||
|
||||
**Gap**: Token list exists (`metamask-integration/docs/METAMASK_TOKEN_LIST.json`) but not hosted publicly.
|
||||
**Gap**: Token list exists (`~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`) but not hosted publicly.
|
||||
|
||||
**Impact**:
|
||||
- MetaMask cannot automatically discover tokens
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- ✅ Decimals: 18
|
||||
- ✅ Type: ERC20 (MockLinkToken implementation)
|
||||
|
||||
**Documentation**: Matches successful deployment documented in `explorer-monorepo/docs/LINK_TOKEN_DEPLOYMENT_SUCCESS.md`
|
||||
**Documentation**: Matches successful deployment documented in `~/projects/explorer-monorepo/docs/LINK_TOKEN_DEPLOYMENT_SUCCESS.md`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
6. Verify tokens received on ChainID 138
|
||||
|
||||
**Existing Test Scripts Available**:
|
||||
- `explorer-monorepo/scripts/test-end-to-end-bridge.sh` - E2E bridge test
|
||||
- `~/projects/explorer-monorepo/scripts/test-end-to-end-bridge.sh` - E2E bridge test
|
||||
- `scripts/test-bridge-transfers.sh` - Bridge transfer test
|
||||
- `scripts/test-bridge-all-7-networks.sh` - Multi-chain test
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
- Manual token import with correct decimals works as workaround
|
||||
|
||||
**Token Lists Available**:
|
||||
- `metamask-integration/docs/METAMASK_TOKEN_LIST.json` - Token list with WETH9/WETH10
|
||||
- `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json` - Token list with WETH9/WETH10
|
||||
- Contains correct decimals (18) to fix display issue
|
||||
|
||||
**Action Required**:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
✅ **Token list validated and ready for hosting.**
|
||||
|
||||
Token list file exists: `metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
Token list file exists: `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
|
||||
## Token List Contents
|
||||
|
||||
@@ -64,7 +64,7 @@ Token list file exists: `metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
**Steps**:
|
||||
```bash
|
||||
# Copy token list to docs folder
|
||||
cp metamask-integration/docs/METAMASK_TOKEN_LIST.json docs/
|
||||
cp ~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json docs/
|
||||
|
||||
# Commit and push
|
||||
git add docs/METAMASK_TOKEN_LIST.json
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
**Completed**: 2025-01-18
|
||||
|
||||
**Actions Taken**:
|
||||
1. Validated token list format: `metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
1. Validated token list format: `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
2. Verified token entries include correct decimals (18 for WETH9/WETH10)
|
||||
3. Created hosting guide in task documentation
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
**Next Steps**: Host token list at public URL (GitHub Pages, IPFS, or CDN) and register with MetaMask.
|
||||
|
||||
**Documentation**: `metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
**Documentation**: `~/projects/metamask-integration/docs/METAMASK_TOKEN_LIST.json`
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user