Skip to content

Commit

Permalink
chore: replace goerli with sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Mar 14, 2024
1 parent 5219850 commit 252e08c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/config/web3/evm/testnet/arbitrum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { arbitrumGoerli as arbitrumConfig } from "viem/chains";
import { arbitrumSepolia as arbitrumConfig } from "viem/chains";

import { ChainExtension } from "../interface";

Expand Down
4 changes: 2 additions & 2 deletions src/config/web3/evm/testnet/base.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { baseGoerli } from "viem/chains";
import { baseSepolia } from "viem/chains";

import { ChainExtension } from "../interface";

export const base: ChainExtension = {
...baseGoerli,
...baseSepolia,
networkNameOverride: "base",
};
2 changes: 1 addition & 1 deletion src/config/web3/evm/testnet/ethereum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { goerli as ethereumConfig } from "viem/chains";
import { sepolia as ethereumConfig } from "viem/chains";

import { ChainExtension } from "../interface";

Expand Down
1 change: 1 addition & 0 deletions src/config/web3/evm/testnet/fraxtal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ export const fraxtal: ChainExtension = defineChain({
address: "0xca11bde05977b3631167028862be2a173976ca11",
},
},
testnet: true,
networkNameOverride: "fraxtal",
});
2 changes: 1 addition & 1 deletion src/config/web3/evm/testnet/optimism.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { optimismGoerli as optimismConfig } from "viem/chains";
import { optimismSepolia as optimismConfig } from "viem/chains";

import { ChainExtension } from "../interface";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const SrcChainTxPropagation = () => {

let name = "";
if (srcChain.chainName.toLowerCase()?.includes("base")) {
name = "Goerli L1";
name = "Sepolia L1";
} else {
name = srcChain.chainName;
}
Expand Down
1 change: 1 addition & 0 deletions src/store/stores/swap-store/computed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ const getWagmiChainOverride = (wagmiNetwork: string) => {
ropsten: "ethereum",
homestead: "ethereum",
goerli: "ethereum",
sepolia: "ethereum",
};
return map[wagmiNetwork] || wagmiNetwork;
};

0 comments on commit 252e08c

Please sign in to comment.