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

Add support for Linea-Sepolia and correct Goerli #4655

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,100 changes: 1,052 additions & 1,048 deletions dist/ethers.js

Large diffs are not rendered by default.

2,099 changes: 1,051 additions & 1,048 deletions dist/ethers.umd.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib.commonjs/providers/network.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib.commonjs/providers/provider-infura.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* - BNB Smart Chain Mainnet (``bnb``)
* - BNB Smart Chain Testnet (``bnbt``)
* - Linea (``linea``)
* - Linea Goerlia Testnet (``linea-goerli``)
* - Linea Goerli Testnet (``linea-goerli``)
* - Linea Sepolia Testnet (``linea-sepolia``)
* - Optimism (``optimism``)
* - Optimism Goerli Testnet (``optimism-goerli``)
* - Optimism Sepolia Testnet (``optimism-sepolia``)
Expand Down
3 changes: 2 additions & 1 deletion lib.commonjs/providers/provider-infura.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib.esm/providers/provider-infura.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* - BNB Smart Chain Mainnet (``bnb``)
* - BNB Smart Chain Testnet (``bnbt``)
* - Linea (``linea``)
* - Linea Goerlia Testnet (``linea-goerli``)
* - Linea Goerli Testnet (``linea-goerli``)
* - Linea Sepolia Testnet (``linea-sepolia``)
* - Optimism (``optimism``)
* - Optimism Goerli Testnet (``optimism-goerli``)
* - Optimism Sepolia Testnet (``optimism-sepolia``)
Expand Down
5 changes: 4 additions & 1 deletion lib.esm/providers/provider-infura.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src.ts/providers/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ function injectCommonNetworks(): void {

registerEth("linea", 59144, { ensNetwork: 1 });
registerEth("linea-goerli", 59140, { });
registerEth("linea-sepolia", 59141, { });

registerEth("matic", 137, {
ensNetwork: 1,
Expand Down
5 changes: 4 additions & 1 deletion src.ts/providers/provider-infura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* - BNB Smart Chain Mainnet (``bnb``)
* - BNB Smart Chain Testnet (``bnbt``)
* - Linea (``linea``)
* - Linea Goerlia Testnet (``linea-goerli``)
* - Linea Goerli Testnet (``linea-goerli``)
* - Linea Sepolia Testnet (``linea-sepolia``)
* - Optimism (``optimism``)
* - Optimism Goerli Testnet (``optimism-goerli``)
* - Optimism Sepolia Testnet (``optimism-sepolia``)
Expand Down Expand Up @@ -70,6 +71,8 @@ function getHost(name: string): string {
return "linea-mainnet.infura.io";
case "linea-goerli":
return "linea-goerli.infura.io";
case "linea-sepolia":
return "linea-sepolia.infura.io";
case "matic":
return "polygon-mainnet.infura.io";
case "matic-mumbai":
Expand Down