Skip to content

Commit

Permalink
base goerli is deprecated, replacing with base sepolia (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio authored Dec 19, 2023
1 parent b798413 commit 6a86aa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensea-js",
"version": "7.0.3",
"version": "7.0.4",
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data",
"license": "MIT",
"author": "OpenSea Developers",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export enum Chain {
/** Klaytn Baobab */
Baobab = "baobab",
/** Base L2 Testnet */
BaseGoerli = "base_goerli",
BaseSepolia = "base_sepolia",
/** Binance Smart Chain Testnet */
BNBTestnet = "bsctestnet",
/** Arbitrum Testnet */
Expand Down
4 changes: 2 additions & 2 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const getWETHAddress = (chain: Chain) => {
return "0x980b62da83eff3d4576c647993b0c1d7faf17c73";
// OP Chains have weth at the same address
case Chain.Base:
case Chain.BaseGoerli:
case Chain.BaseSepolia:
case Chain.Optimism:
case Chain.OptimismGoerli:
case Chain.Zora:
Expand Down Expand Up @@ -240,7 +240,7 @@ export const isTestChain = (chain: Chain): boolean => {
case Chain.Sepolia:
case Chain.Mumbai:
case Chain.Baobab:
case Chain.BaseGoerli:
case Chain.BaseSepolia:
case Chain.BNBTestnet:
case Chain.ArbitrumSepolia:
case Chain.Fuji:
Expand Down

0 comments on commit 6a86aa5

Please sign in to comment.