11# ETCswap Connector Test Report
22
3- ** Generated:** 2026-01-21
3+ ** Generated:** 2026-01-22
44** Connector Version:** v2.8 (Gateway v2.11.0)
55** Branch:** ` etcswap `
66
1010
1111| Metric | Value | Status |
1212| --------| -------| --------|
13- | Total Tests | 107 | :white_check_mark : |
14- | Passed | 107 | :white_check_mark : |
13+ | Total Tests | 134 | :white_check_mark : |
14+ | Passed | 134 | :white_check_mark : |
1515| Failed | 0 | :white_check_mark : |
16- | Test Files | 7 | :white_check_mark : |
16+ | Test Files | 8 | :white_check_mark : |
1717| Networks Covered | 2 (classic, mordor) | :white_check_mark : |
1818| Trading Types | 3 (Router, AMM, CLMM) | :white_check_mark : |
1919| Live Mordor Tests | 16 | :white_check_mark : |
@@ -278,20 +278,20 @@ Contracts Verified:
278278
279279| File | Lines | Tests |
280280| ------| -------| -------|
281- | etcswap.classic.live.test.ts | 360 | 18 |
281+ | etcswap.classic.live.test.ts | 357 | 18 |
282282| etcswap.live.test.ts | 310 | 16 |
283- | etcswap.contracts.test.ts | 185 | 44 |
283+ | etcswap.contracts.test.ts | 279 | 71 |
284284| etcswap.utils.test.ts | 160 | 19 |
285285| universal-router.test.ts | 100 | 12 |
286286| etcswap.routes.test.ts | 97 | 8 |
287287| etcswap.config.test.ts | 69 | 10 |
288- | ** Total** | ** 1,281 ** | ** 107 ** |
288+ | ** Total** | ** 1,372 ** | ** 134 ** |
289289
290290### Coverage by Category
291291
292292| Category | Tests | Coverage |
293293| ----------| -------| ----------|
294- | Contract Addresses | 25 | V2 and V3 addresses for both networks |
294+ | Contract Addresses | 52 | V2 and V3 addresses for both networks |
295295| INIT_CODE_HASH | 8 | V2 (per-network) and V3 hashes |
296296| ABI Validation | 6 | V2 Router ETC function names |
297297| Availability Checks | 6 | V3 and Universal Router per network |
@@ -388,15 +388,18 @@ To run live tests:
388388
389389## Conclusion
390390
391- The ETCswap connector implementation is complete with ** 107 tests passing** :
391+ The ETCswap connector implementation is complete with ** 134 tests passing** :
392392
393- ** Unit Tests (73 ):**
393+ ** Unit Tests (100 ):**
394394- All contract addresses for both networks (Classic and Mordor)
395395- V2 Router ABI with ETC function names (not ETH)
396396- Different V2 INIT_CODE_HASH per network
397397- Same V3 contracts on both networks
398398- Complete file structure for Router, AMM, and CLMM trading types
399399- All required configuration files
400+ - Contract address verification tests with correct addresses:
401+ - Classic V2 Multicall: ` 0x900cD941a2451471BC5760c3d69493Ac57aA9698 `
402+ - Mordor V2 Router: ` 0x6d194227a9A1C11f144B35F96E6289c5602Da493 `
400403
401404** Live Mordor Tests (16):**
402405- Verified network connectivity to Mordor testnet (chain ID 63)
@@ -412,4 +415,9 @@ The ETCswap connector implementation is complete with **107 tests passing**:
412415- Confirmed V3 pools at 0.05%, 0.3%, 1% fee tiers
413416- Verified all 10 core contracts have deployed bytecode
414417
418+ ** Contract Addresses Verified Against:**
419+ - etcswapv2-ui main branch (Classic mainnet)
420+ - etcswapv2-ui mordor branch (Mordor testnet)
421+ - etcswapv3-ui etcswap branch (V3 contracts)
422+
415423The connector is ready for PR submission to upstream Hummingbot Gateway repository.
0 commit comments