-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug Report for zksync-cli
📝 Description
It appears that bridge deposit does not necessarily work for new networks with custom base token.
🔄 Reproduction Steps
- Have a network with custom base token deployed with protocol v28
- Execute
zksync-cli bridge deposit --token=BASE_TOKEN --rpc=$L2_RPC --l1-rpc=https://sepolia.drpc.org/
- Error
Recipient address on L2 XXXXX
ⓘ There was an error while depositing funds:
ⓘ execution reverted (payload={ "id": 6, "jsonrpc": "2.0", "method": "eth_call", "params": [ { "data": "0x95d89b41", "to": "0x000000000000000000000000000000000000800a" }, "latest" ] }, error={ "code": 3, "data": "0x", "message": "execution reverted" }, code=3, version=6.14.3)
🤔 Expected Behavior
zksync-cli should not call symbol() (0x95d89b41) on 0x000000000000000000000000000000000000800a as its no longer there.
😯 Current Behavior
zksync-cli errors due to revert on call to non-existing 0x95d89b41 selector on base token contract address
🖥️ Environment
- Package version:
zksync-cli --version
1.13.0
📋 Additional Context
Reporting for partner
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working