From 258cb110d7eb02d075ab8aae9364a354518f08e7 Mon Sep 17 00:00:00 2001 From: Mani Brar Date: Fri, 9 Aug 2024 10:34:11 +0530 Subject: [PATCH] fix(devnet): subgraph deployments arbSep->Sep --- veascan-subgraph-inbox/src/VeaInbox.ts | 2 +- veascan-subgraph-inbox/subgraph.yaml | 4 ++-- veascan-subgraph-outbox/subgraph.yaml | 4 ++-- veascan-web/src/consts/bridges.ts | 30 +++++++++++++------------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/veascan-subgraph-inbox/src/VeaInbox.ts b/veascan-subgraph-inbox/src/VeaInbox.ts index 5b7343bb..bf2c62d5 100644 --- a/veascan-subgraph-inbox/src/VeaInbox.ts +++ b/veascan-subgraph-inbox/src/VeaInbox.ts @@ -5,7 +5,7 @@ import { SnapshotSaved, SnapshotSent, VeaInbox, -} from "../generated/VeaInboxArbToGnosis/VeaInbox"; +} from "../generated/VeaInbox/VeaInbox"; export function handleMessageSent(event: MessageSent): void { const snapshot = getCurrentSnapshot(); diff --git a/veascan-subgraph-inbox/subgraph.yaml b/veascan-subgraph-inbox/subgraph.yaml index d8cedc79..02033e93 100644 --- a/veascan-subgraph-inbox/subgraph.yaml +++ b/veascan-subgraph-inbox/subgraph.yaml @@ -8,9 +8,9 @@ dataSources: name: VeaInbox network: arbitrum-sepolia source: - address: "0x77e95F54032f467eC45c48C6affc203f93858783" + address: "0x0B5851fE2a931F619F73E739E5435C43976f1D68" abi: VeaInbox - startBlock: 18210847 + startBlock: 69673433 mapping: kind: ethereum/events apiVersion: 0.0.7 diff --git a/veascan-subgraph-outbox/subgraph.yaml b/veascan-subgraph-outbox/subgraph.yaml index a1ddd8a0..7df1148e 100644 --- a/veascan-subgraph-outbox/subgraph.yaml +++ b/veascan-subgraph-outbox/subgraph.yaml @@ -6,9 +6,9 @@ dataSources: name: VeaOutbox network: sepolia source: - address: "0x5AD255400913515C8DA7E82E6b8A109fA5c46135" + address: "0xb8BF3B6bd3E1a0Cc9E2dB77dd492503310514674" abi: VeaOutbox - startBlock: 5379614 + startBlock: 6458841 mapping: kind: ethereum/events apiVersion: 0.0.7 diff --git a/veascan-web/src/consts/bridges.ts b/veascan-web/src/consts/bridges.ts index 9b4410ee..8af6d225 100644 --- a/veascan-web/src/consts/bridges.ts +++ b/veascan-web/src/consts/bridges.ts @@ -1,7 +1,7 @@ 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, @@ -42,22 +42,22 @@ export const bridges: IBridge[] = [ to: sepolia.id, inboxAddress: VeaInboxArbitrumSepolia.address as `0x${string}`, inboxEndpoint: - "https://api.studio.thegraph.com/query/67213/veascan-inbox-arb-sep-devnet/version/latest", + "https://api.studio.thegraph.com/query/85918/veascan-inbox-arb-sep-devnet/v0.8.0", outboxAddress: VeaOutboxSepolia.address as `0x${string}`, outboxEndpoint: - "https://api.studio.thegraph.com/query/67213/veascan-outbox-arb-sep-devnet/version/latest", - }, - { - 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", + "https://api.studio.thegraph.com/query/85918/veascan-outbox-arb-sep-devnet/v0.8.0", }, + // { + // 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", + // }, ]; export const getBridge = (id: number): IBridge =>