Skip to content

fix: use formatUnits and zkLink proxy address in ERC20 deposit task#148

Open
Ocheretovich wants to merge 2 commits into
zkLinkProtocol:mainfrom
Ocheretovich:patch-1
Open

fix: use formatUnits and zkLink proxy address in ERC20 deposit task#148
Ocheretovich wants to merge 2 commits into
zkLinkProtocol:mainfrom
Ocheretovich:patch-1

Conversation

@Ocheretovich
Copy link
Copy Markdown

@Ocheretovich Ocheretovich commented Mar 30, 2026

Replaced contract instance with proxy address in allowance() and approve(), and switched formatEther to formatUnits to correctly handle ERC20 token decimals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant