Skip to content

Commit

Permalink
fix: properly map sepolia (#515)
Browse files Browse the repository at this point in the history
* fix: properly map sepolia

* chore: changeset
  • Loading branch information
marlon-wiprud authored Sep 26, 2024
1 parent 72f593f commit 6bebe1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-toes-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roll-network/web3': minor
---

Fixing the network config for sepolia
4 changes: 2 additions & 2 deletions packages/web3/src/providers/web3ProviderWagmi/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Chain } from 'wagmi'
import { hardhat, polygon, polygonMumbai, goerli, mainnet } from 'wagmi/chains'
import { sepolia, hardhat, polygon, polygonMumbai, goerli, mainnet } from 'wagmi/chains'
import {
CHAIN_ID_FORM_TESTNET,
CHAIN_ID_GOERLI,
Expand All @@ -15,7 +15,7 @@ const MAP_CHAINS: Record<number, Chain> = {
[CHAIN_ID_MAIN_NET]: mainnet,
[CHAIN_ID_POLYGON]: polygon,
[CHAIN_ID_GOERLI]: goerli,
[CHAIN_ID_SEPOLIA]: polygon,
[CHAIN_ID_SEPOLIA]: sepolia,
[CHAIN_ID_HARDHAT]: hardhat,
[CHAIN_ID_MUMBAI]: polygonMumbai,
[CHAIN_ID_FORM_TESTNET]: formTestnet,
Expand Down

0 comments on commit 6bebe1d

Please sign in to comment.