Skip to content

refactor(js): remove redundant ethProvider in Wallet initialization#23

Open
MaryNfs wants to merge 1 commit intozksync-sdk:mainfrom
MaryNfs:improvement/remove_eth_provider_transfer_example
Open

refactor(js): remove redundant ethProvider in Wallet initialization#23
MaryNfs wants to merge 1 commit intozksync-sdk:mainfrom
MaryNfs:improvement/remove_eth_provider_transfer_example

Conversation

@MaryNfs
Copy link
Copy Markdown

@MaryNfs MaryNfs commented Aug 11, 2024

What 💻

  • Remove redundant ethProvider in Wallet initialization, transfer example.

Why ✋

  • Since the goal here is to transfer the funds from L2 to L2, there is no need for ETH provider which is L1.

Evidence 📷

https://github.com/zksync-sdk/zksync-ethers/blob/c5f67d6aa22bcab572af3f0d2a3fd80de77af0c9/src/wallet.ts#L1102-L1115

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