diff --git a/.changeset/sharp-toes-live.md b/.changeset/sharp-toes-live.md new file mode 100644 index 00000000..0223a825 --- /dev/null +++ b/.changeset/sharp-toes-live.md @@ -0,0 +1,5 @@ +--- +'@roll-network/web3': minor +--- + +Fixing the network config for sepolia diff --git a/packages/web3/src/providers/web3ProviderWagmi/utils.ts b/packages/web3/src/providers/web3ProviderWagmi/utils.ts index def54b9b..edd9c671 100644 --- a/packages/web3/src/providers/web3ProviderWagmi/utils.ts +++ b/packages/web3/src/providers/web3ProviderWagmi/utils.ts @@ -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, @@ -15,7 +15,7 @@ const MAP_CHAINS: Record = { [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,