From 5ddd4a22248f43fc1439208520461c2d54440155 Mon Sep 17 00:00:00 2001 From: Mani Brar Date: Wed, 25 Sep 2024 19:02:23 +0530 Subject: [PATCH] feat(veascan): added chiado devnet route --- veascan-web/src/consts/bridges.ts | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/veascan-web/src/consts/bridges.ts b/veascan-web/src/consts/bridges.ts index 23ad267a..ef3c2e85 100644 --- a/veascan-web/src/consts/bridges.ts +++ b/veascan-web/src/consts/bridges.ts @@ -1,7 +1,8 @@ import VeaInboxArbitrumSepolia from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json"; import VeaOutboxSepolia from "@kleros/vea-contracts/deployments/sepolia/VeaOutboxArbToEthDevnet.json"; -// import VeaInboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToGnosisDevnet.json"; -// import VeaOutboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/chiado/VeaOutboxArbToGnosisDevnet.json"; +import VeaInboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToGnosisDevnet.json"; +import VeaOutboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/chiado/VeaOutboxArbToGnosisDevnet.json"; + import { Chain, arbitrumSepolia, @@ -45,17 +46,15 @@ export const bridges: IBridge[] = [ outboxAddress: VeaOutboxSepolia.address as `0x${string}`, outboxEndpoint: `https://api.studio.thegraph.com/query/${process.env.VEASCAN_OUTBOX_ARBSEPOLIA_TO_SEPOLIA_SUBGRAPH}`, }, - // { - // id: 1, - // from: arbitrumSepolia.id, - // to: gnosisChiado.id, - // inboxAddress: VeaInboxArbitrumSepoliaChiado.address as `0x${string}`, - // inboxEndpoint: - // "https://api.studio.thegraph.com/query/67213/veascan-inbox-arb-sep-chiado-devnet/version/latest", - // outboxAddress: VeaOutboxArbitrumSepoliaChiado.address as `0x${string}`, - // outboxEndpoint: - // "https://api.studio.thegraph.com/query/67213/veascan-outbox-arb-chiado-devnet/version/latest", - // }, + { + id: 1, + from: arbitrumSepolia.id, + to: gnosisChiado.id, + inboxAddress: VeaInboxArbitrumSepoliaChiado.address as `0x${string}`, + inboxEndpoint: `https://api.studio.thegraph.com/query/${process.env.VEASCAN_INBOX_ARBSEPOLIA_TO_CHIADO_SUBGRAPH}`, + outboxAddress: VeaOutboxArbitrumSepoliaChiado.address as `0x${string}`, + outboxEndpoint: `https://api.studio.thegraph.com/query/${process.env.VEASCAN_OUTBOX_ARBSEPOLIA_TO_CHIADO_SUBGRAPH}`, + }, ]; export const getBridge = (id: number): IBridge =>