mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
more mumbai cleanups (#2036)
This commit is contained in:
parent
61046dcfa7
commit
932dfb2472
@ -52,7 +52,7 @@ export function getDevelopmentConfig(): Config {
|
||||
// metadataContractAddress: contractAddresses.development?.Metadata,
|
||||
// oceanTokenAddress: contractAddresses.development?.Ocean,
|
||||
// There is no subgraph in barge so we hardcode the Polygon Mumbai one for now
|
||||
subgraphUri: 'https://v4.subgraph.mumbai.oceanprotocol.com'
|
||||
subgraphUri: 'https://v4.subgraph.sepolia.oceanprotocol.com'
|
||||
} as Config
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,6 @@
|
||||
import { LoggerInstance } from '@oceanprotocol/lib'
|
||||
import { createClient, erc20ABI } from 'wagmi'
|
||||
import {
|
||||
mainnet,
|
||||
polygon,
|
||||
optimism,
|
||||
polygonMumbai,
|
||||
sepolia
|
||||
} from 'wagmi/chains'
|
||||
import { mainnet, polygon, optimism, sepolia } from 'wagmi/chains'
|
||||
import { ethers, Contract, Signer } from 'ethers'
|
||||
import { formatEther } from 'ethers/lib/utils'
|
||||
import { getDefaultClient } from 'connectkit'
|
||||
@ -36,7 +30,7 @@ export const wagmiClient = createClient(
|
||||
appName: 'Ocean Market',
|
||||
infuraId: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID,
|
||||
// TODO: mapping between appConfig.chainIdsSupported and wagmi chainId
|
||||
chains: [mainnet, polygon, optimism, polygonMumbai, sepolia],
|
||||
chains: [mainnet, polygon, optimism, sepolia],
|
||||
walletConnectProjectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
|
||||
})
|
||||
)
|
||||
|
@ -46,7 +46,7 @@ const mockFieldArwave = {
|
||||
|
||||
const mockFieldGraphQL = {
|
||||
value:
|
||||
'https://v4.subgraph.mumbai.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
|
||||
'https://v4.subgraph.sepolia.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
|
||||
checked: false,
|
||||
onChange: jest.fn(),
|
||||
onBlur: jest.fn(),
|
||||
@ -201,7 +201,7 @@ describe('@shared/FormInput/InputElement/FilesInput', () => {
|
||||
{
|
||||
type: 'graphql',
|
||||
valid: true,
|
||||
url: 'https://v4.subgraph.mumbai.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
|
||||
url: 'https://v4.subgraph.sepolia.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph',
|
||||
query:
|
||||
'query{\n nfts(orderBy: createdTimestamp,orderDirection:desc){\n id\n symbol\n createdTimestamp\n }\n }',
|
||||
checksum: false
|
||||
|
Loading…
Reference in New Issue
Block a user