Skip to content

Commit 3142fb1

Browse files
committed
fix: use native token decimals in custom fee token deposit test
The deposit test used parseEther('2') (always 2e18) regardless of the token's native decimals. Since EthBridger.deposit() passes the amount directly to depositERC20(uint256) without scaling, this caused failures for non-18 decimal tokens (16-decimal: exceeds balance, 20-decimal: value mismatch on L2). These tests were never actually running under mocha because async describe callbacks aren't awaited.
1 parent 5cabda5 commit 3142fb1

3 files changed

Lines changed: 1840 additions & 4 deletions

File tree

.claude/worktrees/agent-a489b965

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 2290982e1a5bfe54fca235c077f21c9bc9b75c5a

0 commit comments

Comments
 (0)