Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: zksync-web3.js does not support custom gas token #26

Closed
wants to merge 7 commits into from

Conversation

XinyuCRO
Copy link

@XinyuCRO XinyuCRO commented Jul 20, 2023

Closes #15

@XinyuCRO XinyuCRO marked this pull request as ready for review July 25, 2023 08:22
console.log(`[${tag}]ETH balance L2: `, ethers.utils.formatEther(balance));
}

const test = async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure if we should commit this file, otherwise need to clean it a bit

@@ -54,9 +54,10 @@ export function AdapterL1<TBase extends Constructor<TxSender>>(Base: TBase) {

async getL1BridgeContracts() {
const addresses = await this._providerL2().getDefaultBridgeAddresses();
// TODO: wethL1 is not returned at the moment
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we can remove it if its not a big change?

@thomas-nguy thomas-nguy changed the title feat: add zksync-web3.js support for custom gas Problem: zksync-web3.js does not support custom gas token Jul 28, 2023
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.

[Ecosystem] Modify zksync-web3 to support custom gas token
2 participants