diff --git a/src/components/endpoints/CustomRelayer.vue b/src/components/endpoints/CustomRelayer.vue index 469e0fa4..d7af3e66 100644 --- a/src/components/endpoints/CustomRelayer.vue +++ b/src/components/endpoints/CustomRelayer.vue @@ -11,7 +11,7 @@ const web3 = useWeb3Connection() const name = ref('My Relayer') const apiUrl = ref('https://service-relayer.staging.lukso.dev/api') -const chainId = ref('2828') +const chainId = ref('4201') const chainIds = ref([+chainId.value]) const showLabel = ref(false) diff --git a/src/components/endpoints/GetNetworkId.vue b/src/components/endpoints/GetNetworkId.vue index 46e275dc..6dadbe2a 100644 --- a/src/components/endpoints/GetNetworkId.vue +++ b/src/components/endpoints/GetNetworkId.vue @@ -78,24 +78,6 @@ const networks = [ id: 'mainnet', chainId: '0x2a', }, - { - name: 'L16 Testnet', - http: { - url: 'https://rpc.l16.lukso.network', - }, - ws: { - url: 'wss://ws.rpc.l16.lukso.network', - }, - relayer: { - url: 'https://service-relayer.staging.lukso.dev/api', - }, - explorer: { - url: 'https://explorer.execution.l16.lukso.network/tx/{transactionId}/internal-transactions', - }, - isCustom: false, - id: 'l16', - chainId: '0xb0c', - }, { name: 'Base Sepolia', http: { diff --git a/src/components/endpoints/__tests__/CustomRelayer.spec.ts b/src/components/endpoints/__tests__/CustomRelayer.spec.ts index 3a539a1f..86042dfe 100644 --- a/src/components/endpoints/__tests__/CustomRelayer.spec.ts +++ b/src/components/endpoints/__tests__/CustomRelayer.spec.ts @@ -3,8 +3,8 @@ import { render, fireEvent, screen } from '@testing-library/vue' const data = { name: 'my test relayer', - apiUrl: 'https://relayer.l16.staging.lukso.dev/api/v3/', - chainIds: [2828], + apiUrl: 'https://relayer.testnet.lukso.network/v1/relayer', + chainIds: [4201], } const mockSendRequest = jest.fn() @@ -23,7 +23,7 @@ test('can add relayer', async () => { await fireEvent.update(screen.getByTestId('relayer-url'), data.apiUrl) await fireEvent.click(screen.getByTestId('add-relayer')) - expect(screen.getByTestId('chain-id-list')).toHaveTextContent(/2828/) + expect(screen.getByTestId('chain-id-list')).toHaveTextContent(/4201/) expect(mockSendRequest).toHaveBeenCalledWith({ method: 'up_addTransactionRelayer', diff --git a/src/compositions/useWalletConnectV2.ts b/src/compositions/useWalletConnectV2.ts index 36a0e55a..0fdf52ea 100644 --- a/src/compositions/useWalletConnectV2.ts +++ b/src/compositions/useWalletConnectV2.ts @@ -33,7 +33,6 @@ const setupWCV2Provider = async () => { }, rpcMap: { 42: 'https://rpc.mainnet.lukso.network', - 2828: 'https://rpc.l16.lukso.network', 4201: 'https://rpc.testnet.lukso.network', }, showQrModal: true, diff --git a/src/helpers/config.ts b/src/helpers/config.ts index e800e767..8bad07f2 100644 --- a/src/helpers/config.ts +++ b/src/helpers/config.ts @@ -26,38 +26,6 @@ const DEFAULT_NETWORK: NetworkType = 'testnet' const SELECTED_NETWORK_KEY = 'selected-network' export const NETWORKS: { [K in NetworkType]: NetworkInfo } = { - l16: { - name: 'l16', - rpc: { - url: 'https://rpc.l16.lukso.network', - }, - cache: { - url: 'https://erc725cache.l16.lukso.network/graphql', - }, - ipfs: { - url: 'https://api.universalprofile.cloud/ipfs', - }, - blockscout: { - url: 'https://explorer.execution.l16.lukso.network', - }, - chainId: 2828, - - sampleEoA: '0x311611C9A46a192C14Ea993159a0498EDE5578aC', - sampleUP: '0x8A6735585B824401CaB08D7c92FcdFB4b143256E', - sampleSC: '0xcAC51571007DaAB53f26C2387b3B16420491dE18', - errorContract: '0xFDb952E4dC30A1C55F76cdC2Ca14c13cFb69E62c', - // ERC20 - erc20TokenWithEip165: '0xF5443372766a48faF098244c8C769c5AEa02f321', - erc20TokenWithoutEip165: '0xB29c50a9F3D90FA3aDF394f2960BD6D8e0Ff5E9D', - // ERC777 - erc777TokenWithEip165: '0xC719f454C8F9a0C7eEC4203B21766B88d8a5B073', - erc777TokenWithoutEip165: '0xD7549C70A6122cA01043831f0f0c65152C4877d6', - // LSP7 - lsp7TokenDivisible: '0x314E7a56B08AF8E729612930dBAd70BB5A3575D9', - lsp7TokenNonDivisible: '0xF5d8FD6599Cb1971b8EEba218FFE31da34a257a9', - // ERC721 - erc721TokenWithEip165: '0x57b8e4f3C96180088652dc361473bB91266bb080', - }, testnet: { name: 'testnet', rpc: { diff --git a/src/interfaces/network.d.ts b/src/interfaces/network.d.ts index 66820ace..b05085f8 100644 --- a/src/interfaces/network.d.ts +++ b/src/interfaces/network.d.ts @@ -1,4 +1,4 @@ -export type NetworkType = 'l16' | 'testnet' +export type NetworkType = 'testnet' export type NetworkInfo = { name: string